/* ============ INDIA POST - Complete Stylesheet ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; line-height: 1.5; font-size: 14px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.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; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== TOP BAR ===== */
.topBar { background: #E31E24; color: #fff; font-size: 12px; padding: 6px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topBar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topBar-left .flag-icon { height: 20px; width: auto; }
.topBar-left a { color: #fff; font-size: 11px; display: flex; align-items: center; gap: 4px; }
.topBar-left a:hover { text-decoration: underline; }
.topBar-left .separator { opacity: 0.5; }
.topBar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topBar-right button { color: #fff; font-size: 11px; display: flex; align-items: center; gap: 4px; padding: 2px 4px; }
.topBar-right button:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.header { background: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.header-logo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-logo .ashok-emblem { height: 52px; width: auto; }
.header-logo .indiapost-logo { height: 44px; width: auto; }
.header-logo-text { font-size: 12px; font-weight: 500; color: #555; line-height: 1.4; border-left: 2px solid #E31E24; padding-left: 12px; max-width: 200px; }
.header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-search { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; }
.header-search input { border: none; padding: 8px 14px; font-size: 13px; width: 220px; outline: none; }
.header-search button { background: #E31E24; color: #fff; padding: 8px 16px; display: flex; align-items: center; }
.header-quicklinks { display: flex; align-items: center; gap: 6px; }
.header-quicklinks a img { height: 30px; width: auto; }
.header-divider { height: 4px; background: linear-gradient(to right, #E31E24, #B71C1C); width: 100%; }

/* ===== NAVIGATION ===== */
.nav { background: #1A237E; position: sticky; top: 0; z-index: 1000; }
.nav-inner { display: flex; align-items: center; max-width: 1400px; margin: 0 auto; }
.nav-list { display: flex; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button { display: flex; align-items: center; gap: 4px; padding: 13px 20px; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background 0.2s; }
.nav-item > a:hover, .nav-item > button:hover { background: rgba(255,255,255,0.12); }
.nav-item:hover > .dropdown { display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 8px 28px rgba(0,0,0,0.18); z-index: 999; border-radius: 0 0 8px 8px; }
.dropdown-item { position: relative; }
.dropdown-item > a { display: block; padding: 11px 18px; color: #333; font-size: 13px; border-bottom: 1px solid #f0f0f0; transition: all 0.15s; }
.dropdown-item > a:hover { background: #fafafa; color: #E31E24; padding-left: 22px; }
.dropdown-item:last-child > a { border-bottom: none; }
.dropdown-item:hover > .dropdown-sub { display: block; }
.dropdown-sub { display: none; position: absolute; top: 0; left: 100%; background: #fff; min-width: 240px; box-shadow: 0 8px 28px rgba(0,0,0,0.18); z-index: 1000; border-radius: 0 8px 8px 0; }
.dropdown-sub-item a { display: block; padding: 10px 18px; color: #333; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.dropdown-sub-item a:hover { background: #fafafa; color: #E31E24; }
.dropdown-arrow { font-size: 10px; margin-left: 3px; }
.nav-toggle { display: none; color: #fff; padding: 13px 18px; font-size: 22px; background: transparent; }

/* ===== SUBPAGE BANNER ===== */
.subpage-banner { position: relative; height: 220px; overflow: hidden; display: flex; align-items: center; }
.subpage-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subpage-banner .overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,35,126,0.85), rgba(26,35,126,0.4)); }
.subpage-banner .content { position: relative; z-index: 2; padding: 0 16px; max-width: 1200px; margin: 0 auto; width: 100%; }
.subpage-banner h1 { color: #fff; font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.subpage-banner .breadcrumb { color: rgba(255,255,255,0.8); font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.subpage-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.subpage-banner .breadcrumb a:hover { color: #fff; }
.subpage-banner .breadcrumb .sep { opacity: 0.5; }

/* ===== BREADCRUMB (alt, inline) ===== */
.breadcrumb-bar { padding: 12px 0; font-size: 13px; color: #888; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-bar a { color: #E31E24; }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ===== SUB-TAB NAVIGATION ===== */
.subtabs { background: #fff; border-bottom: 2px solid #eee; overflow-x: auto; }
.subtabs-inner { display: flex; max-width: 1200px; margin: 0 auto; gap: 0; }
.subtab { padding: 12px 20px; font-size: 13px; font-weight: 500; color: #666; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.subtab:hover { color: #E31E24; }
.subtab.active { color: #E31E24; border-bottom-color: #E31E24; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 40px 16px; }
.content-section h2 { font-size: 24px; color: #1A237E; margin-bottom: 16px; }
.content-section h3 { font-size: 18px; color: #1A237E; margin-bottom: 12px; margin-top: 24px; }
.content-section p { color: #555; font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.content-section ul, .content-section ol { padding-left: 20px; margin-bottom: 16px; }
.content-section li { color: #555; font-size: 14px; line-height: 1.8; margin-bottom: 6px; }
.content-section table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-section th { background: #1A237E; color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; }
.content-section td { padding: 10px 14px; border-bottom: 1px solid #eee; font-size: 13px; }
.content-section tr:nth-child(even) td { background: #fafafa; }
.content-section .btn-red { display: inline-flex; align-items: center; gap: 6px; background: #E31E24; color: #fff; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.content-section .btn-red:hover { background: #B71C1C; }
.content-section .btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border: 2px solid #E31E24; color: #E31E24; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.content-section .btn-outline:hover { background: #E31E24; color: #fff; }
.content-section .badge { display: inline-block; background: #E31E24; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; font-weight: 600; }
.content-section .card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin-bottom: 16px; }
.content-section .card h3 { margin-top: 0; }
.content-section .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.content-section .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.content-section .grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ===== TEAM CARDS ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { background: #fff; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid #f0f0f0; }
.team-card .name { font-weight: 600; color: #1A237E; font-size: 15px; }
.team-card .role { font-size: 13px; color: #888; }

/* ===== DASHBOARD CARDS ===== */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.dash-card { background: #fff; border-radius: 10px; padding: 24px 16px; text-align: center; border-top: 4px solid #E31E24; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.dash-card .num { font-size: 28px; font-weight: 700; color: #1A237E; margin-bottom: 6px; }
.dash-card .desc { font-size: 13px; color: #666; }
.dash-card .sub { font-size: 12px; color: #E31E24; margin-top: 8px; font-weight: 500; }

/* ===== UPDATE ITEMS ===== */
.update-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.update-date { background: #E31E24; color: #fff; padding: 6px 12px; border-radius: 4px; text-align: center; min-width: 60px; flex-shrink: 0; }
.update-date .day { font-size: 18px; font-weight: 700; display: block; }
.update-date .month { font-size: 11px; text-transform: uppercase; }
.update-content { flex: 1; }
.update-content .title { font-size: 14px; color: #333; margin-bottom: 4px; }
.update-content .meta { font-size: 12px; color: #999; }
.update-dl-btn { color: #E31E24; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }

/* ===== SERVICES CARDS ===== */
.service-card { background: #fff; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.service-card img { width: 56px; height: 56px; margin: 0 auto 10px; }
.service-card .label { font-size: 13px; font-weight: 500; color: #333; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }

/* ===== HELPLINE SIDEBAR ===== */
.helpline-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 16px; }
.helpline-card h3 { font-size: 15px; color: #1A237E; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.helpline-card .phone { font-size: 20px; font-weight: 700; color: #E31E24; }
.helpline-card .sub { font-size: 12px; color: #888; margin-top: 4px; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 700px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 500; font-size: 13px; color: #444; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #E31E24; }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ===== SITEMAP ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px; }
.sitemap-col h3 { font-size: 16px; color: #1A237E; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid #E31E24; }
.sitemap-col ul li { margin-bottom: 6px; }
.sitemap-col ul li a { color: #555; font-size: 13px; }
.sitemap-col ul li a:hover { color: #E31E24; }

/* ===== FOOTER ===== */
.footer { background: #1A237E; color: #fff; padding: 40px 16px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-apps { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-apps img { height: 44px; width: auto; }
.footer-apps span { font-size: 16px; font-weight: 500; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { background: rgba(255,255,255,0.1); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-social a svg { width: 20px; height: 20px; fill: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #E31E24; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-list { display: none; }
  .nav-toggle { display: block; }
  .nav-list.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1A237E; z-index: 999; max-height: 80vh; overflow-y: auto; }
  .nav-list.mobile-open .nav-item > a { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-list.mobile-open .dropdown { position: static; box-shadow: none; background: transparent; padding-left: 20px; }
  .nav-list.mobile-open .dropdown a { color: rgba(255,255,255,0.8); }
  .nav-list.mobile-open .dropdown-sub { position: static; box-shadow: none; background: transparent; padding-left: 20px; }
  .nav-list.mobile-open .dropdown-sub a { color: rgba(255,255,255,0.7); }
}
@media (max-width: 768px) {
  .header-search input { width: 140px; }
  .subpage-banner { height: 160px; }
  .subpage-banner h1 { font-size: 26px; }
  .content-section .grid-2, .content-section .grid-3 { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .header-logo-text { display: none; }
  .header-search input { width: 100px; }
  .footer-links { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITY ===== */
.text-red { color: #E31E24; }
.text-blue { color: #1A237E; }
.bg-light { background: #F1F1F1; }
.bg-red-light { background: #FCDAD9; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
