/* ── DOP-standard CSS variables (dop.gov.np) ── */
:root {
    --theme-color:        #2460B9;
    --updated-theme:      #2460B9;
    --secondary-color:    #CC1424;
    --theme-light-color:  #F4F8FF;
    --white-color:        #fff;
    --theme-color-100:    #EEF5FF;
    --theme-color-300:    #4F7EC7;
    --theme-color-400:    #021C46;
    --theme-color-500:    #022B69;
    --border-color:       #F0F0F0;
    --grey-100:           #F5F5F5;
    --dark-theme:         #264F8B;
    --theme-100:          #F1F7FF;
    --theme-200:          #F4F8FF;
    --theme-300:          #EAF1FF;
}

/* Nepali font fallback handled gracefully by Mukta */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; line-height: 1.5; font-family: "Mukta", sans-serif; }
body { font-family: "Mukta", sans-serif; font-weight: 400; background: #fff; color: #646464; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none !important; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; }
h1,h2,h3,h4,h5,h6 { font-family: "Mukta", sans-serif !important; margin: 0; }

/* ════════════════════════════
   HEADER TOP
════════════════════════════ */
.header-7-top { display: flex; align-items: center; background: var(--updated-theme); position: relative; width: 100%; }

.header-7-top .decorative__img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%; opacity: 0.5; pointer-events: none; z-index: 0; }
.header-7-top .decorative__img img { width: 100%; height: 100%; object-fit: contain; }

.header-7-top .top__group { position: relative; z-index: 1; background: var(--dark-theme); padding: 20px 35px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.top-logo-box { display: flex; align-items: center; gap: 10px; }
.top-logo-box img { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; }
.top-logo-box .logo-info { display: flex; flex-direction: column; }
.top-logo-box .logo-info h3 { color: #fff; margin: 0 0 2px; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0.9; }
.top-logo-box .logo-info h2 { color: #fff; font-size: 20px; font-weight: 700; margin: 0; line-height: 1.2; }
.top-logo-box .logo-info .sub { color: rgba(255,255,255,0.65); font-size: 11.5px; margin-top: 2px; }

.header-7-top-right { display: grid; align-items: center; grid-template-columns: repeat(4, 1fr); flex: 1; position: relative; z-index: 1; }

.marquee-slider { display: flex; align-items: center; gap: 20px; padding: 10px 35px; grid-column: span 3; padding-right: 0; min-width: 0; }
.marquee-slider .header__title { font-size: 13.5px; font-weight: 700; color: var(--theme-color); background: #fff; padding: 3px 12px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.marquee-slider .infinite-slider { flex: 1; overflow: hidden; min-width: 0; }
.marquee-slider .infinite-slider marquee { font-size: 15px; color: #fff; }
.marquee-slider .infinite-slider marquee a { color: #fff; font-weight: 400; }
.marquee-slider .infinite-slider marquee a:hover { opacity: 0.8; }

.animated__flag { display: flex; align-items: center; gap: 10px; grid-column: 4; padding: 10px 35px; justify-content: flex-end; }
.animated__flag .flag__img { width: 45px; height: 60px; flex-shrink: 0; }
.animated__flag .flag__img img { width: 100%; height: 100%; object-fit: contain; }
.animated__flag .flag__info { position: relative; top: 4px; }
.animated__flag .flag__info .date p { margin: 0; font-size: 14px; color: #fff; white-space: nowrap; line-height: 1.4; }
.animated__flag .flag__info .date p:first-child { font-size: 15px; font-weight: 500; }
.animated__flag .flag__info .date p:last-child { font-size: 12.5px; opacity: 0.8; }

/* ════════════════════════════
   HEADER BOTTOM / NAV
════════════════════════════ */
.header-7-bottom { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 555; box-shadow: 0 2px 5px rgba(0,0,0,0.07); padding: 0 35px; }
.header-7-bottom .bottom-wrapper { padding: 10px 0; border-bottom: none; display: flex; align-items: center; gap: 40px; }

.sticky__miniLogo { width: 55px; height: 55px; display: none; flex-shrink: 0; }
.sticky__miniLogo img { width: 100%; height: 100%; object-fit: contain; }
.header-7-bottom.stickyHeader .sticky__miniLogo { display: flex !important; align-items: center; justify-content: center; }
.header-7-bottom.stickyHeader { animation: navSlideDown 300ms ease-in-out; }
@keyframes navSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header__menu { display: flex; align-items: center; gap: 40px; flex: 1; flex-wrap: wrap; row-gap: 0; }
.nav__list { position: relative; }
.nav__list:hover .nav__link { color: var(--updated-theme); }
.nav__list:hover .nav__link::before { width: 100%; opacity: 1; }
.nav__list:hover .nav__link svg { color: var(--updated-theme); transform: rotate(-180deg); }
.nav__link { font-size: 16px; color: #000; display: flex; align-items: center; gap: 5px; font-weight: 500; transition: all 300ms ease-in-out; position: relative; white-space: nowrap; padding: 15px 0; }
.nav__link::before { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 0; height: 2px; opacity: 0; background: var(--updated-theme); transition: all 300ms ease-in-out; }
.nav__link svg { width: 12px; height: 12px; color: #AEAEAE; transition: all 300ms ease-in-out; position: relative; top: -2px; flex-shrink: 0; display: block; }

.dropdown { position: relative; }
.dropdown:hover .dropdown__menu { opacity: 1; visibility: visible; top: 100%; }
.dropdown__menu { min-width: 12rem; position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; z-index: 555; transition: all 300ms ease-in-out; }
.dropdown__menu > ul { background: var(--theme-color-100); margin-top: 15px; border-radius: 4px; }
.dropdown__list .dropdown__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 15px; font-size: 15px; color: #515151; font-weight: 500; transition: all 300ms ease-in-out; border-radius: 4px; white-space: nowrap; }
.dropdown__list .dropdown__link:hover { background: var(--updated-theme) !important; color: #fff !important; }

.bottom-right { margin-left: auto; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.search-form { background: #f8f8f8; border-radius: 100px; padding: 0 15px; height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-color); min-width: 200px; }
.search-form input { background: transparent; border: 0; outline: none; font-size: 14px; color: #989898; font-weight: 500; width: 100%; height: 100%; font-family: "Mukta", sans-serif; }
.search-form input::placeholder { color: #B4B4B4; }
.search-form button { background: transparent; border: 0; outline: none; display: flex; cursor: pointer; }
.search-form button svg { width: 18px; height: 18px; color: #989898; }

.language__translator { display: flex; align-items: center; gap: 0; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; }
.language__translator a { font-size: 13px; font-weight: 600; padding: 6px 11px; color: #515151; background: #fff; transition: all 200ms; font-family: "Red Hat Display", sans-serif; display: block; }
.language__translator a.active, .language__translator a:hover { background: var(--theme-color); color: #fff !important; }

.social__media { display: flex; align-items: center; gap: 20px; }
.social__media .social__icon { display: flex; align-items: center; justify-content: center; }
.social__media .social__icon:hover svg { color: var(--updated-theme); }
.social__media .social__icon svg { width: 22px; height: 22px; color: #D1D1D1; display: block; transition: all 300ms ease-in-out; }

/* ── Hamburger ── */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 4px; border-radius: 6px; transition: background 200ms; }
.hamburger-btn:hover { background: var(--theme-color-100); }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: all 300ms; }
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile nav drawer ── */
.mobile-nav-drawer { position: fixed; top: 0; left: -100%; width: min(320px, 85vw); height: 100vh; background: #fff; z-index: 9999; overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,.18); transition: left 320ms cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.mobile-nav-drawer.open { left: 0; }
.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 320ms; }
.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-color); background: var(--theme-color); color: #fff; }
.drawer-header h4 { font-size: 15px; font-weight: 700; color: #fff; }
.drawer-close { background: none; border: none; cursor: pointer; color: #fff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: background 200ms; }
.drawer-close:hover { background: rgba(255,255,255,.2); }
.drawer-nav { flex: 1; padding: 12px 0; }
.drawer-nav a { display: block; padding: 12px 20px; font-size: 15px; font-weight: 500; color: #333; border-bottom: 1px solid var(--border-color); transition: background 150ms, color 150ms; }
.drawer-nav a:hover { background: var(--theme-color-100); color: var(--theme-color); }
.drawer-nav .drawer-child a { padding-left: 36px; font-size: 13.5px; color: #555; background: #fafafa; }
.drawer-footer { padding: 16px 20px; border-top: 1px solid var(--border-color); display: flex; align-items: center; gap: 12px; }
.drawer-footer a { flex: 1; text-align: center; padding: 8px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 13px; font-weight: 600; color: #333; transition: all 150ms; }
.drawer-footer a.active-lang { background: var(--theme-color); color: #fff; border-color: var(--theme-color); }

/* ── Responsive nav breakpoints ── */
@media (max-width: 1100px) { .header__menu { gap: 20px; } .header-7-bottom { padding: 0 20px; } }
@media (max-width: 900px) {
    .header__menu { display: none; }
    .bottom-right { display: none; }
    .header-7-top .top__group { padding: 14px 20px; }
    .header-7-top .top__group .top-logo-box img { width: 60px; height: 60px; }
    .header-7-top .top__group .top-logo-box .logo-info h2 { font-size: 16px; }
    .animated__flag { display: none; }
    .marquee-slider { grid-column: span 4; padding: 0 20px; }
    .hamburger-btn { display: flex !important; }
}

/* ════════════════════════════
   CONTENT UTILITIES
════════════════════════════ */
.custom-container, .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; }

.section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.sh-accent { width: 4px; height: 26px; background: var(--secondary-color); border-radius: 2px; flex-shrink: 0; }
.section-heading h2, .section-heading h3 { font-size: 17px; font-weight: 700; color: var(--theme-color); text-transform: uppercase; letter-spacing: 0.02em; }
.sh-line { flex: 1; height: 1px; background: var(--border-color); }
.section-heading a { font-size: 12px; font-weight: 600; color: var(--theme-color); background: var(--theme-color-100); padding: 4px 10px; border-radius: 4px; transition: background 150ms; }
.section-heading a:hover { background: var(--theme-300); }

.tag-red { background: #fff4f5; color: var(--secondary-color); font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.04em; display: inline-block; }
.tag-blue { background: var(--theme-color-100); color: var(--theme-color); font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; display: inline-block; }

.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--theme-color); color: #fff !important; padding: 9px 20px; border-radius: 5px; font-size: 14px; font-weight: 600; transition: background 150ms; }
.btn-primary:hover { background: var(--theme-color-400) !important; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--theme-color); color: var(--theme-color) !important; padding: 7px 18px; border-radius: 5px; font-size: 14px; font-weight: 600; transition: all 150ms; }
.btn-outline:hover { background: var(--theme-color) !important; color: #fff !important; }

.page-title-bar { background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-300) 100%); color: #fff; padding: 28px 20px 24px; }
.page-title-inner { max-width: 1280px; margin: 0 auto; }
.page-title-bar h1 { font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 8px; color: #fff; }
.page-title-accent { width: 44px; height: 3px; background: var(--secondary-color); border-radius: 2px; margin-top: 10px; }

.breadcrumb-bar { background: var(--grey-100); border-bottom: 1px solid var(--border-color); padding: 7px 20px; }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: #888; }
.breadcrumb-inner a { color: var(--theme-color); font-weight: 500; }

.profile-card { background: #fff; border-radius: 6px; border: 1px solid var(--border-color); overflow: hidden; border-top: 4px solid var(--theme-color); }
.profile-card.red-top { border-top-color: var(--secondary-color); }
.profile-card-body { padding: 20px; text-align: center; }
.profile-avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 3px solid var(--border-color); background: var(--grey-100); display: flex; align-items: center; justify-content: center; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .av-letter { font-size: 26px; font-weight: 700; color: #9ca3af; }
.profile-name { font-size: 13.5px; font-weight: 700; color: var(--theme-color); margin-bottom: 2px; }
.profile-role { font-size: 10.5px; color: var(--secondary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.profile-link { display: block; padding: 9px 16px; background: var(--grey-100); color: var(--theme-color) !important; font-size: 12px; font-weight: 600; text-align: center; border-top: 1px solid var(--border-color); transition: background 150ms; }
.profile-link:hover { background: var(--theme-color-100) !important; }

.quick-access { background: #fff; border-radius: 6px; border: 1px solid var(--border-color); overflow: hidden; }
.qa-header { background: var(--theme-color); color: #fff; padding: 11px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.qa-list li a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 500; color: #515151 !important; border-bottom: 1px solid var(--border-color); transition: all 0.12s; }
.qa-list li:last-child a { border: none; }
.qa-list li a::before { content: "›"; color: var(--secondary-color); font-size: 16px; font-weight: 700; }
.qa-list li a:hover { background: var(--theme-100) !important; color: var(--theme-color) !important; padding-left: 22px; }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.site-footer { background: #2460B9; color: #fff; margin-top: auto; position: relative; overflow: hidden; }
.footer-decorative { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70%; opacity: 0.08; pointer-events: none; z-index: 0; }
.footer-decorative img { width: 100%; object-fit: contain; }
.footer-brand-row { padding: 40px 35px 24px; display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.footer-brand-row img.ft-emblem { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; }
.footer-brand-text h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0; }
.footer-brand-text p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }
.footer-links-section { padding: 0 35px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; z-index: 1; }
@media(max-width: 1024px) { .footer-links-section { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width: 768px) { .footer-links-section { grid-template-columns: 1fr; gap: 24px; } }
.footer-col h4 { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.oh-period { font-weight: 600; color: #fff; margin-bottom: 6px; font-size: 13px; display: block; }
.oh-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 2px; }
.oh-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 10px 0; }
.oh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.imp-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.imp-link-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; color: rgba(255,255,255,0.82) !important; transition: color 200ms; }
.imp-link-item::before { content: "| "; color: var(--secondary-color); font-weight: 900; margin-right: 2px; }
.imp-link-item:hover { color: #fff !important; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.footer-bottom-inner { padding: 16px 35px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.7) !important; display: flex; align-items: center; transition: color 200ms; }
.footer-social a:hover { color: #fff !important; }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.8); }
.footer-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; padding: 10px 35px 14px; }
