/* =========================================
   style.css - Consolidated NIOS CSS
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; background-color: #f8f9fa; font-size: 14px; }
a { text-decoration: none; color: #000; }
a:hover { text-decoration: underline; }
.container { max-width: 1300px; margin: 0 auto; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

.utility-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; background: #fcfcfc; border-bottom: 1px solid #eaeaea; padding: 6px 30px; font-size: 12px; }
.util-links a { color: #333; margin-right: 15px; }
.util-links a:hover { color: #1c4587; }
.util-right { display: flex; align-items: center; gap: 10px; }
.size-btn, .contrast-btn { border: 1px solid #999; padding: 1px 6px; margin-right: 2px; background: #fff; cursor: pointer; border-radius: 3px; }
.lang-links a { margin-left: 8px; color: #333; }

.header-area { background-color: #fef8e7; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 20px 30px; border-bottom: 1px solid #eee; }
.logo-box { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.logo-box img { max-height: 80px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-text h2 { color: #1c4587; font-size: 20px; margin-bottom: 2px; }
.brand-text h3 { color: #1c4587; font-size: 22px; margin-bottom: 4px; }
.brand-text .subtitle { font-size: 11.5px; color: #333; font-style: italic; line-height: 1.3; }
.contact-box { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.contact-box .socials { display: flex; gap: 8px; margin-bottom: 2px; }
.contact-box .socials a { font-size: 24px; color: #1c4587; }
.contact-box .socials a:hover { color: #2f5fa1; }
.toll-free { font-size: 14px; color: #333; font-weight: 500; }
.search-box { display: flex; border: 1px solid #ccc; border-radius: 20px; background: #f9f9f9; padding: 4px 12px; width: 240px; }
.search-box input { border: none; outline: none; padding: 6px 0; font-size: 13px; background: transparent; width: 100%; }
.search-box button { border: none; background: transparent; cursor: pointer; color: #555; font-size: 14px; }

.alert-marquee { background-color: #e6f9e6; padding: 10px 30px; border-top: 1px solid #d0e8d0; border-bottom: 1px solid #d0e8d0; color: #222; font-weight: bold; font-size: 13px; display: flex; align-items: center; overflow: hidden; gap: 15px; }
.marquee-badge { background: #ff0000; color: #fff; font-weight: bold; font-size: 9px; padding: 2px 8px; border-radius: 12px; flex-shrink: 0; }
.marquee-track { display: flex; flex-wrap: nowrap; white-space: nowrap; animation: scrollMarquee 25s linear infinite; }
.marquee-text-item { display: inline-block; padding-right: 50px; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.white-nav { border-bottom: 1px solid #ddd; padding: 10px 0; }
.white-nav ul { display: flex; flex-wrap: wrap; list-style: none; justify-content: center; gap: 4px; }
.white-nav ul li { display: flex; align-items: center; padding: 0 15px; border-right: 1px solid rgba(0,0,0,0.1); }
.white-nav ul li:last-child { border-right: none; }
.white-nav ul li a { font-weight: bold; font-size: 13px; }
.white-nav ul li a:hover { color: #000; }
.white-nav ul li.home-btn a { font-size: 15px; border: 1px solid #1c4587; border-radius: 4px; padding: 2px 8px; background: #1c4587; color: #fff; transition: 0.2s; }
.white-nav ul li.home-btn a:hover { background: #fff; color: #1c4587; }
.blue-nav { background: #1c4587; }
.blue-nav ul li { border-right: 1px solid rgba(255,255,255,0.3); }
.blue-nav ul li a { color: #fff; }
.blue-nav ul li.home-btn a { background: #fff; color: #1c4587; border: 1px solid #fff; }
.blue-nav ul li.home-btn a:hover { background: transparent; color: #fff; }

.page-wrapper { padding: 15px 30px; background: #fff; }
.breadcrumbs { font-size: 12px; color: #333; margin-bottom: 10px; }
.breadcrumbs a { color: #1c4587; }
.warning-bar { background: #fcf8e3; border: 1px solid #faebcc; color: #8a6d3b; padding: 10px; font-size: 12px; margin-bottom: 15px; border-radius: 4px; display: flex; align-items: center; gap: 8px; }

.page-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.col-left { flex: 0 0 240px; width: 240px; }
.col-right { flex: 1; min-width: 300px; }

.info-box { border: 1px solid #ccc; background: #fcf8e2; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.info-header { background: #6d4c41; color: #fff; padding: 10px; font-weight: bold; text-align: center; font-size: 16px; }
.info-list { list-style: none; padding: 0; position: relative; }
.info-list::before { content: ''; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: #333; }
.info-list li { padding: 8px 15px 8px 30px; border-bottom: 1px solid #ccc; position: relative; background: #ffffff; display: flex; justify-content: space-between; align-items: center; }
.info-list li:nth-child(odd) { background: #fcf8e2; }
.info-list li a { color: #000; font-size: 12.5px; flex-grow: 1; }
.info-list .new-badge { background: #ff0000; color: #fff; font-size: 9px; font-weight: bold; padding: 1px 6px; border-radius: 10px; margin-left: 5px; display: inline-block; }
.info-list .ext-icon { color: #2196f3; margin-left: 5px; font-size: 11px; }

.meeting-btn { display: block; width: 100%; padding: 10px; border: 2px solid #cc0000; border-radius: 5px; color: #cc0000; background: #fff; text-align: center; font-weight: bold; margin-bottom: 15px; font-size: 13px; }
.resource-box { border: 1px solid #ccc; background: #f4f4f4; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.resource-header { background: #dcdcdc; padding: 5px 10px; font-weight: bold; color: #000; text-align: center; font-size: 13px; }
.resource-list { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.resource-item { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); font-size: 12px; font-weight: bold; }
.resource-item .icon-box { width: 35px; height: 35px; background: #1c4587; color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

.page-title { font-size: 24px; color: #000; border-bottom: 2px solid #1c4587; padding-bottom: 10px; margin-bottom: 20px; }
.content-text { font-size: 14px; line-height: 1.8; color: #444; text-align: justify; }

.yellow-footer-links { background-color: #fde293; padding: 10px 15px; margin-top: 20px; text-align: center; border-top: 1px solid #e5c873; }
.yellow-footer-links .links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 8px; }
.yellow-footer-links .links-row a { color: #1c4587; font-size: 12px; font-weight: 500; }
.yellow-footer-links .links-row-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.yellow-footer-links .links-row-bottom a { color: #1c4587; font-size: 11px; }

.dark-footer { border-top: 1px solid #ccc; padding: 15px 30px; font-size: 11px; text-align: center; color: #555; line-height: 1.6; }
.dark-footer a { color: #1c4587; }
.dark-footer .footer-bottom { margin-top: 10px; font-weight: bold; color: #000; }

@media (max-width: 900px) { .col-left { flex: 0 0 100%; width: 100%; } }

/* ========================================= */
/* UPDATED: Mobile Responsiveness Fixes      */
/* ========================================= */
@media (max-width: 768px) {
    .utility-bar { flex-direction: column; align-items: center; gap: 4px; font-size: 9px; padding: 4px 10px; }
    .header-area { flex-direction: column !important; padding: 10px 15px; gap: 10px; }
    .logo-box { flex-direction: column; align-items: center; width: 100%; gap: 5px; }
    .logo-box img { max-height: 40px !important; }
    .brand-text { text-align: center; }
    .brand-text h2 { font-size: 16px; }
    .brand-text h3 { font-size: 18px; }
    .brand-text .subtitle { font-size: 10px; }
    .contact-box { align-items: center; width: 100%; gap: 4px; }
    .search-box { width: 100%; max-width: 100%; }
    .contact-box .socials a { font-size: 20px; }
    .alert-marquee { padding: 6px 10px; font-size: 9px; gap: 6px; }
    .marquee-badge { font-size: 7px; padding: 1px 5px; }
    .white-nav { padding: 5px 0; }
    .white-nav ul { padding: 0 5px; gap: 0px; }
    .white-nav ul li { padding: 0 5px; white-space: nowrap; }
    .white-nav ul li a { font-size: 10px; }
    .dignitary-card { min-width: 100%; padding: 10px 15px; }
    .dignitary-card img { width: 50px; height: 50px; }
    .dignitary-card .text-content h4 { font-size: 13px; }
    .dignitary-card .text-content p { font-size: 11px; }
    .page-wrapper { padding: 10px 15px; }
    .intro-text-block { padding: 15px 15px; font-size: 13px; }
    .icon-row { gap: 10px; margin: 15px 0; }
    .circle-icon { width: 70px; height: 70px; flex: 0 0 70px; font-size: 8px; }
    .circle-icon img { max-width: 45%; }
}