﻿/* ===== REAL NHM UP DESIGN CLONE ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Josefin+Sans:wght@400;600;700&display=swap');

:root {
  --purple: #82086e;
  --light-purple: #a4366c;
  --magenta-dark: #983c69;
  --nav-gradient: linear-gradient(to left, #7b4397, #dc2430);
  --red: #dc2430;
  --text: #333;
  --border: #ddd;
  --bg: #f5f5f5;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; font-size: 14px; color: var(--text); background: #fff; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Josefin Sans', sans-serif; }
a { text-decoration: none; color: var(--purple); }
a:hover { text-decoration: underline; color: var(--red); }
ul { list-style: none; }
img { max-width: 100%; }

/* ============================================================
   HEADER â€” State Health Society, Bihar
   Exact reproduction: 1891px Ã— 178px total
   ============================================================ */

.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================
   SHSB TOP HEADER â€” topHeader
   ========================================= */

.topHeader {
    width: 100%;
    height: 35px;

    background: #123F60;

    display: flex;
    align-items: stretch;
    justify-content: space-between;

    padding: 0;
    margin: 0px;

    font-family: Arial, Helvetica, sans-serif;

    color: #FFFFFF;
}


/* LEFT SIDE */
.topHeader-left {
    height: 35px;

    display: flex;
    align-items: stretch;

    margin-left: 110px;
    padding: 0;
}


/* LEFT ITEMS */
.top-item {
    height: 35px;

    display: flex;
    align-items: center;

    padding: 0 5px;

    color: #FFFFFF;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    line-height: 35px;

    text-decoration: none;

    white-space: nowrap;

    border-right:
        1px solid #cecece;

    box-sizing: border-box;

    flex-shrink: 0;
}


/* LEFT ICON */
.top-item i {
    color: #FFFFFF;

    font-size: 13px;

    margin-right: 5px;
}


/* LEFT ITEM HOVER */
.top-item:hover {
    color: #2099DC;

    background: transparent;
}

.top-item:hover i {
    color: #2099DC;
}


/* RIGHT SIDE */
.topHeader-right {
    height: 35px;

    display: flex;
    align-items: stretch;

    margin-right: 50px;
    padding: 0;
}


/* SKIP TO MAIN CONTENT */
.skip {
    flex-shrink: 0;
    height: 35px;

    display: flex;
    align-items: center;

    padding: 0 5px;

    color: #FFFFFF;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    text-decoration: none;

    border-left:
        1px solid #cecece;
}

.skip:hover {
    background: #2099DC;
    color: #FFFFFF;
}


/* HINDI */
.language {
    flex-shrink: 0;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    color: #FFFFFF;

    font-family:
        "Noto Sans Devanagari",
        Mangal,
        Arial,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    border-left:
        1px solid #cecece;

    text-decoration: none;
}

.language:hover {
    background: #2099DC;
    color: #FFFFFF;
}


/* AA */
.accessibility {
    flex-shrink: 0;
    height: 35px;

    width: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFFFFF;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 400;

    text-decoration: none;

    border-left:
        1px solid #cecece;
}

.accessibility:hover {
    background: #2099DC;
    color: #FFFFFF;
}


/* LIGHT */
.light {
    flex-shrink: 0;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    color: #FFFFFF;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    border-left:
        1px solid #cecece;

    text-decoration: none;
}

.light:hover {
    background: #2099DC;
    color: #FFFFFF;
}


/* DARK */
.dark {
    flex-shrink: 0;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    background: #092F48;

    color: #FFFFFF;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    border-left:
        1px solid #cecece;

    text-decoration: none;
}

.dark:hover {
    background: #2099DC;
    color: #FFFFFF;
}


/* SOCIAL ICONS */
.social {
    flex-shrink: 0;
    width: 30px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFFFFF;

    font-size: 14px;

    text-decoration: none;

    border-left:
        1px solid #cecece;
}

.facebook {
    background: #315B94;
}

.twitter {
    background: #45A7E8;
}

.youtube {
    background: #E60000;
}

.instagram {
    background: #D90078;
}

.social:hover {
    background: #2099DC;
    color: #FFFFFF;
}

/* ---- SECTION 2: Main Brand Header ---- */
.brand-header {
  background: #2099dc;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}
.brand-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}
.brand-header-image {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-left: 28px;
  padding: 0;
  border: 0;
}
.old-website-btn {
  position: absolute;
  right: 18px;
  top: 35%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 37px;
  padding: 0 18px;
  background: #df554b;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.old-website-btn:hover {
  background: #d64b45;
  color: #ffffff;
  text-decoration: none;
}
.old-website-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Candidate / login state (main navigation, right side) */
.nav-login {
  flex: 1 1 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 16px 0 10px;
}
.nav-login-name {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  background: #2099DC;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.nav-login-btn:hover {
  background: #df554b;
  color: #ffffff;
  text-decoration: none;
}
.nav-login-btn i {
  font-size: 11px;
}
.nav-login-out {
  background: #df554b;
}
.nav-login-out:hover {
  background: #2099DC;
}

/* ---- Responsive ---- */
@media (max-width: 1660px) {
  .topHeader-left {
    margin-left: 50px;
  }
  .topHeader-right {
    margin-right: 40px;
  }
  .top-item {
    font-size: 18px;
    padding: 0 10px;
  }
  .skip {
    font-size: 16px;
    padding: 0 12px;
  }
  .language {
    width: 60px;
    font-size: 19px;
  }
  .accessibility {
    width: 60px;
    font-size: 30px;
  }
  .light {
    width: 60px;
    font-size: 17px;
  }
  .dark {
    width: 56px;
    font-size: 17px;
  }
  .social {
    width: 40px;
    font-size: 16px;
  }
}
@media (max-width: 1400px) {
  .brand-header-image {
    height: 70px;
  }
  .top-item {
    font-size: 18px;
    padding: 0 10px;
  }
  .skip {
    flex-shrink: 0;
    font-size: 17px;
    padding: 0 10px;
  }
  .language {
    flex-shrink: 0;
    font-size: 19px;
    min-width: 60px;
  }
  .accessibility {
    flex-shrink: 0;
    font-size: 32px;
    width: 60px;
  }
  .light,
  .dark {
    flex-shrink: 0;
    font-size: 17px;
    min-width: 56px;
  }
  .old-website-btn {
    width: 190px;
    font-size: 18px;
  }
}
@media (max-width: 1366px) {
  .topHeader-left {
    margin-left: 30px;
  }
  .topHeader-right {
    margin-right: 24px;
  }
  .top-item {
    font-size: 16px;
    padding: 0 8px;
  }
  .skip {
    font-size: 15px;
    padding: 0 10px;
  }
  .language {
    width: 54px;
  }
  .accessibility {
    width: 54px;
    font-size: 28px;
  }
  .light {
    width: 54px;
    font-size: 16px;
  }
  .dark {
    width: 52px;
    font-size: 16px;
  }
  .social {
    width: 36px;
    font-size: 15px;
  }
}
@media (max-width: 1024px) {
  .brand-header {
    height: auto;
    min-height: 90px;
  }
  .brand-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
  }
  .brand-header-image {
    height: 60px;
  }
  .old-website-btn {
    position: static;
    transform: none;
    font-size: 16px;
    width: 190px;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .topHeader {
    height: auto;
    flex-wrap: wrap;
  }
  .topHeader-left {
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 0;
    margin-left: 0;
  }
  .top-item {
    font-size: 14px;
    padding: 0 10px;
    height: 34px;
  }
  .topHeader-right {
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
    margin-right: 0;
  }
  .topHeader-right a {
    height: 34px;
  }
  .brand-header-image {
    height: 48px;
  }
  .old-website-btn {
    font-size: 14px;
    width: 170px;
  }
}

/* ===== MAIN NAVIGATION ===== */
.main-navigation {
  width: 100%;
  height: 38px;
  background: #123F5D;
  margin: 0;
  padding: 0;
  position: relative;
}

.navigation-container {
  width: 100%;
  height: 52px;

  display: flex;
  align-items: stretch;
}

/* Left empty dark-blue offset section (~115px on 1890px viewport) */
.navigation-container::before {
  content: "";
  width: 115px;
  flex-shrink: 0;
}

.nav-item {
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  color: #FFFFFF;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;
  font-weight: 600;

  text-transform: uppercase;
  text-decoration: none;

  border: 0;
  border-right: 2px solid #17618B;

  box-sizing: border-box;

  cursor: pointer;

  white-space: nowrap;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.nav-item:hover {
  background: #2099DC;
  color: #FFFFFF;
}

.nav-item.active {
  background: #164A6A;
  color: #FFFFFF;
}

.nav-item.covid {
  color: #F39AA0;
}
.nav-item.covid:hover {
  color: #FFFFFF;
  background: #2099DC;
}

/* Individual menu item widths (from 1890px reference) */
.navigation-container > :nth-child(1) { width: 115px; }   /* HOME */
.navigation-container > :nth-child(2) { width: 78px; }    /* PIP */
.navigation-container > :nth-child(3) { width: 270px; }   /* NHM PROGRAMMES */
.navigation-container > :nth-child(4) { width: 260px; }   /* HUMAN RESOURCE */
.navigation-container > :nth-child(5) { width: 160px; }   /* SERVICES */
.navigation-container > :nth-child(6) { width: 125px; }   /* TENDER */
.navigation-container > :nth-child(7) { width: 145px; }   /* TRAINING */
.navigation-container > :nth-child(8) { width: 150px; }   /* GALLERY */
.navigation-container > :nth-child(9) { width: 145px; }   /* COVID-19 */
.navigation-container > :nth-child(10) { width: 160px; }  /* DIRECTORY */
.navigation-container > :nth-child(11) { width: 175px; }  /* OPPORTUNITIES */
.navigation-container > :nth-child(12) { width: 175px; }  /* CONTACT US */

/* Dropdown wrappers */
.nav-dropdown {
  position: relative;
  height: 52px;
  flex-shrink: 1;
}
.dropdown-button {
  width: 100%;
}

/* Small downward triangle arrow */
.arrow {
  width: 0;
  height: 0;

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffffff;

  margin-left: 9px;
}

/* Dropdown panels */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  display: none;

  background: #FFFFFF;
  color: #123F5D;

  border: 1px solid #d6d6d6;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

  min-width: 240px;

  z-index: 100;

  padding: 0;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}
.nav-dropdown.mega .dropdown-menu {
  width: 760px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
}
.nav-dropdown.mega:hover .dropdown-menu,
.nav-dropdown.mega.open .dropdown-menu {
  display: grid;
}
.dropdown-menu a {
  display: block;
  padding: 12px 16px;

  font-size: 16px;
  color: #123F5D;

  text-decoration: none;

  border-bottom: 1px solid #eeeeee;

  font-family: Arial, Helvetica, sans-serif;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-menu a:hover {
  background: #2099DC;
  color: #FFFFFF;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 15px 14px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
}

/* 1200px - 1899px: compact nav so it fits all laptops without overflow */
@media (min-width: 1200px) and (max-width: 1899px) {
  .navigation-container::before {
    width: 40px;
  }
  .navigation-container > :nth-child(1) {
    width: 70px;
    font-size: 10px;
  }
  .navigation-container > :nth-child(2) { width: 45px; }
  .navigation-container > :nth-child(3) { width: 155px; }
  .navigation-container > :nth-child(4) { width: 130px; }
  .navigation-container > :nth-child(5) { width: 90px; }
  .navigation-container > :nth-child(6) { width: 60px; }
  .navigation-container > :nth-child(7) { width: 70px; }
  .navigation-container > :nth-child(8) { width: 75px; }
  .navigation-container > :nth-child(9) { width: 80px; }
  .navigation-container > :nth-child(10) { width: 90px; }
  .navigation-container > :nth-child(11) { width: 95px; }
  .navigation-container > :nth-child(12) { width: 95px; }
  .nav-item {
    font-size: 10px;
  }
}

/* Mobile/tablet: hamburger menu (below 1200px) */
@media (max-width: 1199px) {
  .main-navigation {
    height: auto;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
  .navigation-container {
    display: none;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .main-navigation.open .navigation-container {
    display: flex;
  }
  .navigation-container::before {
    display: none;
  }
  .navigation-container > :nth-child(n) {
    width: 100%;
  }
  .nav-item,
  .nav-dropdown {
    height: 46px;
  }
  .nav-item {
    font-size: 15px;
    justify-content: flex-start;
    padding-left: 12px;
  }
  .dropdown-button .arrow { margin-left: 8px; }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border-left: none;
    border-right: none;
    min-width: 0;
  }
  .nav-dropdown.mega .dropdown-menu {
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
  }
  .nav-dropdown.mega.open .dropdown-menu {
    display: block;
  }
  .nav-dropdown .dropdown-menu a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding: 10px 16px;
  }
  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}

/* ===== TICKER ===== */
.ticker-bar {
  background: #fff;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: 6px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-label {
  background: var(--red);
  color: #fff;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 2px;
  flex-shrink: 0;
}
.ticker-content {
  overflow: hidden;
  flex: 1;
}
marquee { font-size: 12px; color: #333; }
marquee a { color: var(--purple); }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 15px; }
.main-content { padding: 20px 0 30px; background-color: #F7F4D6; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #222; }

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: var(--purple);
  margin-bottom: 12px;
  padding-bottom: 8px;
  position: relative;
}
.section-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin-top: 6px;
}
.page-heading {
  text-align: center;
  font-size: 22px;
  color: var(--purple);
  margin-bottom: 6px;
  text-decoration: underline;
}

/* ===== HOME 2-COL LAYOUT ===== */
.home-row {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.home-row > .left-col,
.home-row > .center-col { height: 100%; }
.home-row > .updates-box { align-self: start; }
.home-row .center-col { display: flex; flex-direction: column; }

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.page-loader-img {
  width: 20%;
  max-width: 250px;
}

/* ===== ACTION LOADER (form submit / payment / print) ===== */
.action-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 34, 56, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.action-loader.active { opacity: 1; visibility: visible; pointer-events: auto; }
.action-loader-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 30px 22px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.25s ease;
}
.action-loader.active .action-loader-box { transform: translateY(0) scale(1); }
.action-loader-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 5px solid #eef2f7;
  border-top-color: #1a5276;
  border-right-color: #2e86c1;
  animation: action-loader-spin 0.8s linear infinite;
}
@keyframes action-loader-spin { to { transform: rotate(360deg); } }
.action-loader-title { font-weight: 700; color: #1a2340; font-size: 15.5px; margin-bottom: 6px; }
.action-loader-msg { color: #6b7280; font-size: 12.5px; line-height: 1.55; }
.action-loader-bar {
  height: 4px;
  background: #eef2f7;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.action-loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1a5276, #2e86c1);
  animation: action-loader-slide 1.1s ease-in-out infinite;
}
@keyframes action-loader-slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.btn.is-loading, button.is-loading, input.is-loading {
  opacity: 0.9;
  cursor: not-allowed;
  pointer-events: none;
}
.btn.is-loading::before, button.is-loading::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: btn-loading-spin 0.7s linear infinite;
}
@keyframes btn-loading-spin { to { transform: rotate(360deg); } }
@media print { .action-loader { display: none !important; } }

/* ===== HERO SLIDER ===== */
.slider-area { width: 100%; }
.hero-slider .slide-item {
  height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgba(0,0,0,0.3) !important;
  color: #fff !important;
  font-size: 28px !important;
  border-radius: 0 !important;
  transition: background 0.2s;
}
.hero-slider .owl-nav button:hover { background: rgba(0,0,0,0.6) !important; }
.hero-slider .owl-prev { left: 0; }
.hero-slider .owl-next { right: 0; }
.hero-slider .owl-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-slider .owl-dots button span {
  background: rgba(255,255,255,0.5) !important;
  width: 12px;
  height: 12px;
  margin: 0 4px;
}
.hero-slider .owl-dots button.active span { background: #fff !important; }

/* ===== ABOUT BOX ===== */
.about-box { padding: 0; font-family: Arial, Helvetica, sans-serif; }
.about-box .section-heading { color: var(--purple); font-family: Arial, Helvetica, sans-serif; font-size: 22px; }
.about-box p { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 10px; font-family: Arial, Helvetica, sans-serif; }

/* ===== HON'BLE CARDS ===== */
.honble-people { margin-bottom: 14px; }
.honble-people .round-box { display: flex; flex-direction: column; gap: 12px; }
.honble-people .item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 12px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}
.honble-people .item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
}
.honble-people .item .person-name {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
.honble-people .item .person-designation {
  font-size: 13px;
  color: var(--purple);
  margin-top: 2px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== OFFICER BOX ===== */
.officer-box {
  background: var(--purple);
  color: #fff;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
}
.officer-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; font-family: Arial, Helvetica, sans-serif; }
.officer-box p { font-size: 12px; opacity: 0.9; margin-bottom: 0; }
.officer-box .designation { font-size: 12px; opacity: 0.85; }

/* ===== UPDATES BOX ===== */
.updates-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}
.updates-header {
  background: var(--purple);
  color: #fff;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.updates-list { padding: 8px 0; max-height: 220px; overflow-y: auto; flex: 1; }
.updates-list li {
  border-bottom: 1px solid #eee;
  padding: 8px 12px;
  font-size: 13px;
}
.updates-list li::before { content: '\2022\00a0\00a0'; color: var(--purple); font-weight: 700; }
.updates-list li a { color: #333; font-family: Arial, Helvetica, sans-serif; }
.updates-list li a:hover { color: var(--purple); }
.view-all { display: block; text-align: right; padding: 6px 12px; font-size: 13px; color: var(--purple); }

/* ===== KEY CONTACTS CARD ===== */
.key-contacts-card {
  background: #F7F4D6;
  border: 1px solid #D8D3B8;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.20);
  padding: 24px;
  box-sizing: border-box;
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  flex: 1;
}
.key-contacts-card .contacts-heading {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}
.key-contacts-card .contact-information {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.key-contacts-card .contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1.7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.key-contacts-card .contact-names {
  color: #0000A8;
  font-size: 14px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}
.key-contacts-card .contact-sub {
  color: #0000A8;
  font-size: 14px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}
.key-contacts-card .contact-phone,
.key-contacts-card .contact-email {
  color: #318ACB;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.key-contacts-card .contact-icon {
  color: #222;
  font-size: 13px;
  width: 20px;
}
.key-contacts-card .phone-directory {
  width: 225px;
  height: 51px;
  background: #438FCE;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  margin-top: 14px;
}
.key-contacts-card .phone-directory:hover { background: #2F79B5; color: #FFFFFF; }

/* ===== KEY CONTACTS / CONTACT FIXES (small screens) ===== */
@media (max-width: 1199px) {
  .key-contacts-card .contact-row {
    flex-wrap: wrap;
    white-space: normal;
    gap: 4px 10px;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .key-contacts-card .contact-row {
    font-size: 13px;
    row-gap: 6px;
  }
  .key-contacts-card .contact-names,
  .key-contacts-card .contact-sub {
    font-size: 13px;
  }
  .key-contacts-card .phone-directory {
    width: 100%;
    font-size: 16px;
  }
}

/* ===== HELPLINE SECTION ===== */
.helpline-section { padding: 0 0 20px; }
.helpline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.helpline-cell {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-height: 110px;
}
.helpline-cell img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .helpline-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== WHAT'S NEW CAROUSEL ===== */
.notice-section { padding: 20px 0; background-color: #005493; }
.notice-section .heading-h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 16px;
}
.custom1 .item {
  height: 350px;
  overflow: hidden;
}
.custom1 .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1199px) {
  .custom1 .item { height: 240px; }
  .custom1 .item img { height: 240px; }
}
@media (max-width: 600px) {
  .custom1 .item { height: 170px; }
  .custom1 .item img { height: 170px; }
}
@media (max-width: 480px) {
  .custom1 .item { height: 150px; }
  .custom1 .item img { height: 150px; }
}
.notice-section .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgba(0,0,0,0.3) !important;
  color: #fff !important;
  font-size: 28px !important;
  border-radius: 0 !important;
}
.notice-section .owl-prev { left: 0; }
.notice-section .owl-next { right: 0; }
.notice-section .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.notice-section .owl-dots button span { background: rgba(255,255,255,0.5) !important; width: 12px; height: 12px; margin: 0 4px; }
.notice-section .owl-dots button.active span { background: #fff !important; }

/* ===== NEWS & EVENTS CAROUSEL ===== */
.events-section { padding: 20px 0; background: #f7f4d6; }
.events-section .heading-h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}
.events-section .heading-h1 a {
  font-size: 14px;
  color: var(--blue-link, #428fce);
  font-weight: 400;
  margin-left: 8px;
}
.events-section .elementor-post { display: flex; }
.events-section .elementor-post__card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.events-section .owl-item { display: flex; height: auto !important; }
.events-section .owl-item .item { display: flex; width: 100%; }
.events-section .elementor-post-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.events-section .elementor-post-div {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.events-section .elementor-post-div h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.events-section .elementor-post-div h3 a { color: #111; text-decoration: none; }
.events-section .elementor-post-div h3 a:hover { color: #005493; }
.events-section .elementor-post__excerpt {
  flex: 1;
  margin-bottom: 10px;
}
.events-section .elementor-post-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.events-section .elementor-more {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #005493;
  text-decoration: none;
  margin-top: auto;
}
.events-section .elementor-more:hover { text-decoration: underline; }
.events-section .owl-stage { display: flex; }
.events-section .owl-item { display: flex; }
.events-section .owl-item .item { width: 100%; }
.events-section .owl-nav button {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 46px;
  background: rgba(0,0,0,0.35) !important;
  color: #fff !important;
  font-size: 26px !important;
  border-radius: 0 !important;
  z-index: 5;
}
.events-section .owl-prev { left: -12px; }
.events-section .owl-next { right: -12px; }
.events-section .owl-dots {
  text-align: center;
  margin-top: 14px;
}
.events-section .owl-dots button span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  border-radius: 50% !important;
  background: #c4c4c4 !important;
}
.events-section .owl-dots button.active span { background: #005493 !important; }
@media (max-width: 768px) {
  .events-section .owl-prev { left: 0; }
  .events-section .owl-next { right: 0; }
}

/* ===== SHSB FOOTER ===== */
.sfooter-bottom,
.footer-bottom {
  width: 100%;
  background-color: #2C5283;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 16px 16px;
  color: rgba(255,255,255,0.45);
  font-family: Arial, Helvetica, sans-serif;
  padding: 12px 0;
  font-size: 12px;
  text-align: center;
  box-sizing: border-box;
}
.footer-bottom .row {
  display: flex;
  flex-wrap: wrap;
}
.footer-bottom .col {
  padding: 0 15px;
}
.footer-bottom .col-sm-12,
.footer-bottom .col-md-4,
.footer-bottom .col-lg-4 { width: 100%; }
@media (min-width: 768px) {
  .footer-bottom .col-md-4,
  .footer-bottom .col-lg-4 { width: 33.3333%; }
}
.footer-bottom .bottom_border { border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-bottom .bottom_border11 { border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; padding-bottom: 10px; }
.footer-bottom .heading_h1 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  margin-top: 0;
}
.footer-bottom .heading_h1 a {
  font-size: 14px;
  color: #428FCE;
  font-weight: 400;
  margin-left: 8px;
  text-decoration: none;
}
.footer_ul_amrc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer_ul_amrc li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}
.footer_ul_amrc li::before {
  content: '\2022';
  color: #fff;
  font-size: 10px;
  margin-right: 8px;
  margin-top: 5px;
  flex-shrink: 0;
  line-height: 1.4;
}
.footer_ul_amrc li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
  transition: color 0.2s;
}
.footer_ul_amrc li a:hover { color: #FFD966; }
.new-tag {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
  text-transform: uppercase;
  line-height: 1.4;
  animation: new-tag-blink 1s steps(2, start) infinite;
}
.footer_ul_amrc .new-tag {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
  text-transform: uppercase;
  line-height: 1.4;
  animation: new-tag-blink 1s steps(2, start) infinite;
}
@keyframes new-tag-blink {
  50% { opacity: 0; }
}
.foote_bottom_ul_amrc {
  list-style: none;
  padding: 16px 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.foote_bottom_ul_amrc li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  padding: 0 10px;
}
.foote_bottom_ul_amrc li a:hover { color: #FFD966; }
.foote_bottom_ul_amrc li + li::before {
  content: '';
  display: inline;
  border-left: 1px solid rgba(255,255,255,0.4);
  padding-left: 10px;
}
.copyright-bar {
  background: #123f5d;
  padding: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #FFFFFF;
}
.copyright-bar span { padding: 0 10px; }

@media (max-width: 767px) {
  .footer-bottom .bottom_border11 { display: block; }
}
@media (max-width: 400px) {
  .footer-bottom .col { width: 100%; }
}

/* ===== OPPORTUNITIES TABLE ===== */
.opp-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.opp-table thead tr { background: var(--red); color: #fff; }
.opp-table thead th { padding: 9px 12px; text-align: left; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); }
.opp-table tbody tr { background: #fff; }
.opp-table tbody tr:nth-child(even) { background: #f0f4ff; }
.opp-table tbody tr:hover { background: #e8f0fe; }
.opp-table tbody td { padding: 9px 12px; border: 1px solid #ddd; vertical-align: top; }
.opp-table .ref-no { font-size: 12px; color: #555; }
.opp-table .apply-link {
  background: var(--red);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 12px;
  display: inline-block;
  white-space: nowrap;
}
.opp-table .apply-link:hover { background: var(--purple); text-decoration: none; }
.opp-table .view-link {
  color: var(--purple);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== NAV GRID ===== */
.nav-grid-section { background: #f5f5f5; padding: 20px 0 30px; border-top: 3px solid var(--purple); margin-top: 20px; }
.nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
.nav-grid-col li { padding: 5px 0; border-bottom: 1px dotted #ccc; }
.nav-grid-col li a { font-size: 12.5px; color: #333; display: flex; align-items: center; gap: 6px; }
.nav-grid-col li a::before { content: 'â—'; color: var(--purple); font-size: 8px; }
.nav-grid-col li a:hover { color: var(--purple); text-decoration: none; }

/* ===== RELATED LINKS ===== */
.related-links-section { background: var(--purple); padding: 20px 0; }
.related-links-section .section-heading { color: #fff; }
.related-links-section .section-heading::after { background: #fff; }
.related-links-grid { display: flex; gap: 16px; flex-wrap: wrap; }
.related-link-card img { height: 80px; border-radius: 4px; border: 2px solid rgba(255,255,255,0.3); }

/* ===== FOOTER ===== */
.footer-top { background: #1a1a2e; color: rgba(255,255,255,0.8); padding: 30px 0; }
.footer-top-inner { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 30px; }
.footer-top-col h4 {
  color: var(--light-purple);
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-menu { list-style: none; padding: 0; margin: 0 0 15px; }
.footer-menu li { padding: 3px 0; }
.footer-menu li::before { content: 'Â» '; color: var(--light-purple); }
.footer-menu li a { color: rgba(255,255,255,0.75); font-size: 12px; }
.footer-menu li a:hover { color: #fff; }
.ftr-contact { list-style: none; padding: 0; margin: 0; }
.ftr-contact li { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.7); padding: 3px 0; }
.ftr-contact li a { color: rgba(255,255,255,0.7); }
.ftr-contact li a:hover { color: #fff; }
.map-wrap { width: 100%; height: 160px; border-radius: 4px; overflow: hidden; }
.footer-bottom { padding: 12px 0; font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 30px 0 50px; background: #f7f4d6; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.contact-section .col-md-6 { width: 50%; padding: 0 15px; box-sizing: border-box; }
.contact-section .col-sm-6 { width: 50%; padding: 0 15px; box-sizing: border-box; }
.contact-section .col-md-12 { width: 100%; }
.contact-section .row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.contact-section .row .form-group { padding: 0 15px; box-sizing: border-box; }
.contact-section .row .col-md-6 { width: 50%; }
.contact-section .card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.contact-section .card-header {
  background: #428bca;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px 3px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.contact-section .card-header.bg-primary1 { background: #428bca; }
.contact-section .card-body {
  padding: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
}
.contact-section .text-contact { margin-bottom: 8px; line-height: 1.6; font-size: 14px; color: #333; }
.dash-1 {
  width: 100%;
  background: linear-gradient(to right, #fff, #fdfdfd);
  border-radius: 12px;
  padding: 10px;
  -moz-box-shadow: 0 0 5px #949494;
  -webkit-box-shadow: 0 0 5px #949494;
  box-shadow: 0 0 5px #428bca;
  border: 2px solid #fff;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.dash-1 .ias-name { font-weight: 700; color: #428bca; font-size: 15px; margin-bottom: 4px; }
.dash-1 p { margin-bottom: 4px; font-size: 13px; color: #333; }
.dash-1 .dash-phone, .dash-1 .dash-email { color: #428bca; }
.dash-header { font-size: 14px; font-weight: bold; }
.contact-section .btn-primary {
  background: #428bca;
  border: 1px solid #357ebd;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  display: inline-block;
}
.contact-section .btn-primary:hover { background: #3276b1; }
.contact-section .form-group { margin-bottom: 15px; }
.contact-section label { display: block; font-size: 13px; font-weight: 700; color: #333; margin-bottom: 5px; }
.contact-section .form-control {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.contact-section .form-control:focus { border-color: #428bca; outline: none; }
@media (max-width: 768px) {
  .contact-section .col-md-6,
  .contact-section .col-sm-6 { width: 100%; }
}

/* ===== AUTH ===== */
.auth-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #F7F4D6;
}
.auth-box { background: #fff; border: 1px solid #ddd; padding: 30px; width: 100%; max-width: 420px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.auth-box h2 { color: var(--purple); font-size: 18px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.auth-box .ad-name { font-size: 12px; color: #666; margin-bottom: 20px; margin-top: 4px; }
.auth-footer { margin-top: 16px; font-size: 12px; color: #666; text-align: center; line-height: 2; }

/* ===== FORMS ===== */
.form-group { display: flex; flex-direction: column; gap: 4px; flex: 1; margin-bottom: 12px; }
.form-group label { font-size: 13px; font-weight: 600; color: #444; }
.form-control { padding: 8px 10px; border: 1px solid #ccc; font-size: 13px; font-family: inherit; background: #fff; color: #333; }
.form-control:focus { outline: none; border-color: var(--purple); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .form-group { min-width: 140px; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 8px 20px; font-size: 13px; font-family: inherit; cursor: pointer; border: 1px solid transparent; transition: background 0.2s; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--purple); border-color: var(--purple); color: #fff; text-decoration: none; }
.btn-success { background: #27ae60; color: #fff; border-color: #27ae60; }
.btn-success:hover { background: #1e8449; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; text-decoration: none; }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-xs { padding: 3px 8px; font-size: 11px; }

/* ===== ALERTS ===== */
.alert { padding: 10px 14px; margin-bottom: 12px; font-size: 13px; border: 1px solid transparent; }
.alert-success { background: #dff0d8; color: #3c763d; border-color: #d6e9c6; }
.alert-error { background: #f2dede; color: #a94442; border-color: #ebccd1; }

/* ===== PAGE HEADER ===== */
.page-header { background: var(--purple); color: #fff; padding: 12px 0; }
.page-header h1 { font-size: 18px; font-weight: 600; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ===== ABOUT BANNER ===== */
.about-banner {
  background: var(--purple);
  padding: 16px 0;
  color: #fff;
}
.about-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.about-banner-left h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.about-banner-right {
  font-size: 13px;
}
.about-banner-right a {
  color: #fff;
}
.about-banner-right a:hover {
  text-decoration: underline;
}
.about-banner-right span {
  margin: 0 6px;
  color: rgba(255,255,255,0.6);
}

/* ===== INNER PAGE ===== */
.inner-page {
  padding: 30px 0;
}
.section { padding: 20px 0; }
#page-content { scroll-margin-top: 90px; }
.about-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  text-align: justify;
}
.go-list ol {
  padding-left: 20px;
  margin: 0;
}
.go-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.go-list li a {
  color: #82086e;
}
.go-list li a:hover {
  color: #dc2430;
  text-decoration: underline;
}
.guide-list {
  padding-left: 20px;
  margin: 0;
}
.guide-list li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #444;
}
.guide-list li a {
  color: #82086e;
}
.guide-list li a:hover {
  color: #dc2430;
  text-decoration: underline;
}
.guide-list ul {
  padding-left: 20px;
  margin: 4px 0;
  list-style: disc;
}
.guide-list ul li {
  border-bottom: none;
  padding: 3px 0;
  font-size: 12px;
}
.guide-list ul li a {
  color: #555;
}
.guide-list ul li a:hover {
  color: #dc2430;
}

/* ===== DETAIL TABLE ===== */
.detail-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.detail-table td { padding: 8px 12px; border: 1px solid #ddd; }
.detail-table td:first-child { background: #f5f5f5; font-weight: 600; width: 35%; color: #555; }

/* ===== CANDIDATE DASHBOARD ===== */
.welcome-bar { background: var(--purple); color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; }
.welcome-bar a { color: #ffe; border: 1px solid rgba(255,255,255,0.4); padding: 3px 10px; font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.dash-card { background: #fff; border: 1px solid #ddd; padding: 16px; text-align: center; cursor: pointer; transition: box-shadow 0.2s; display: block; color: var(--text); }
.dash-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.12); text-decoration: none; }
.dash-icon { font-size: 2rem; margin-bottom: 8px; }
.dash-card h3 { font-size: 14px; margin-bottom: 4px; color: var(--purple); }
.dash-card p { font-size: 12px; color: #666; margin-bottom: 8px; }
.dash-status { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; }
.status-done { background: #dff0d8; color: #3c763d; }
.status-pending { background: #fcf8e3; color: #8a6d3b; }
.dash-card-disabled { opacity: 0.5; cursor: not-allowed; }
.progress-steps { display: flex; align-items: center; justify-content: center; background: #f5f5f5; border: 1px solid #ddd; padding: 12px; margin-bottom: 16px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ccc; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: #fff; }
.step-label { font-size: 11px; color: #666; }
.step-done .step-num { background: #5cb85c; border-color: #5cb85c; color: #fff; }
.step-active .step-num { background: var(--red); border-color: var(--red); color: #fff; }
.step-line { flex: 1; height: 2px; background: #ccc; margin: 0 6px; max-width: 60px; }

/* ===== PAYMENT ===== */
.payment-box { border: 1px solid #ddd; background: #fff; max-width: 560px; }
.payment-box-header { background: var(--purple); color: #fff; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.payment-row { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid #eee; font-size: 13px; }
.payment-row.total { font-weight: 700; font-size: 15px; border-bottom: none; }
.payment-actions { padding: 16px; }
.success-box { text-align: center; padding: 30px; border: 1px solid #d6e9c6; background: #dff0d8; }

/* ===== ADMIN LAYOUT ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1a1a2e; flex-shrink: 0; }
.sidebar-brand { padding: 14px 16px; background: var(--purple); color: #fff; font-size: 13px; font-weight: 700; }
.sidebar-link { display: block; padding: 10px 16px; color: rgba(255,255,255,0.78); font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; }
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.sidebar-logout { color: #e87d7d; }
.admin-main { flex: 1; background: #f5f5f5; overflow-x: auto; }
.admin-topbar { background: #fff; border-bottom: 2px solid var(--purple); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 16px; color: var(--purple); }
.admin-user { font-size: 12px; color: #666; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 16px 20px 0; }
.stat-card { background: #fff; border: 1px solid #ddd; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--purple); }
.stat-icon { font-size: 1.8rem; }
.stat-val { font-size: 1.5rem; font-weight: 800; color: var(--purple); line-height: 1; }
.stat-lbl { font-size: 11px; color: #666; }
.admin-card { background: #fff; border: 1px solid #ddd; margin: 16px 20px; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #ddd; background: #f9f9f9; }
.admin-card-header h2 { font-size: 14px; color: var(--purple); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: var(--purple); color: #fff; padding: 9px 12px; text-align: left; font-size: 12px; }
.admin-table td { padding: 9px 12px; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-table tr:hover td { background: #f9f9f9; }
.badge { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.badge-active { background: #dff0d8; color: #3c763d; }
.badge-closed { background: #f2dede; color: #a94442; }

/* ===== PAYMENT ADMIN ===== */
.admin-toolbar { display: flex; align-items: center; gap: 8px; }
.admin-toolbar form { display: flex; gap: 6px; align-items: center; }
.admin-search-input { padding: 6px 10px; border: 1px solid #ccc; font-size: 13px; border-radius: 3px; width: 220px; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #eee; flex-wrap: wrap; gap: 8px; }
.admin-pagination .page-info { font-size: 12px; color: #666; }
.pagination-links { display: flex; gap: 6px; align-items: center; }
.pagination-links a, .pagination-links span { display: inline-block; padding: 4px 9px; border: 1px solid #ccc; font-size: 12px; text-decoration: none; color: var(--purple); border-radius: 3px; background: #fff; }
.pagination-links a:hover { background: var(--purple); color: #fff; }
.pagination-links .active { background: var(--purple); color: #fff; font-weight: 700; }
.pagination-links .disabled { pointer-events: none; opacity: .45; }

/* ===== APP FORM ===== */
.form-section { background: #fff; border: 1px solid #ddd; margin-bottom: 14px; }
.form-section-title { background: var(--purple); color: #fff; padding: 8px 14px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.form-section-body { padding: 0 14px 14px; }
.form-actions { padding: 14px; background: #F7F4D6; border-top: 1px solid #ddd; display: flex; gap: 10px; }

/* ===== UPLOAD PREVIEW ===== */
.upload-preview { width: 60px; height: 60px; object-fit: cover; border: 1px solid #ddd; display: block; margin-bottom: 4px; }
.signature-preview { width: 180px; height: 80px; object-fit: contain; }
.current-upload { font-size: 12px; color: #3c763d; margin-bottom: 6px; }

/* ===== PRINT ===== */
.print-page { max-width: 900px; margin: 20px auto; padding: 20px; font-family: 'Roboto', sans-serif; }
.print-header { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid var(--purple); padding-bottom: 10px; margin-bottom: 14px; }
.print-ad-title { background: var(--purple); color: #fff; padding: 8px 14px; font-weight: 600; margin-bottom: 14px; font-size: 14px; }
.print-table { width: 100%; border-collapse: collapse; }
.print-table td { border: 1px solid #ccc; padding: 7px 10px; font-size: 13px; }
.print-section-head { background: #e8e0ee; color: var(--purple); font-weight: 700; }
.print-photos { display: flex; gap: 20px; margin: 14px 0; }
.print-photo-box img { width: 110px; height: 130px; object-fit: cover; border: 1px solid #ccc; }
.print-sig-box img { width: 160px; height: 55px; object-fit: contain; border: 1px solid #ccc; }
.print-footer { border-top: 1px solid #ccc; padding-top: 8px; font-size: 11px; color: #666; margin-top: 14px; }

/* ===== ERROR PAGES ===== */
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-size: 6rem; font-weight: 900; color: var(--purple); line-height: 1; }

/* ===== NOTICES ===== */
.notices-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.notices-table th { background: var(--purple); color: #fff; padding: 9px 12px; text-align: left; }
.notices-table td { padding: 8px 12px; border: 1px solid #ddd; }
.notices-table tr:nth-child(even) td { background: #f9f9f9; }
.notices-table tr:hover td { background: #eef3ff; }

/* ===== CONTACT ===== */
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 12px; font-size: 13px; }
.contact-item strong { display: block; color: var(--purple); }

/* ===== PIP PAGE ===== */
.pip-year-section {
  margin-bottom: 32px;
}
.pip-guideline-link {
  margin-bottom: 16px;
  font-size: 14px;
}
.pip-guideline-link i {
  color: var(--red);
  margin-right: 6px;
}
.pip-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.pip-doc-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f5f7fb;
  border: 1px solid #dde3ee;
  border-radius: 6px;
  font-size: 13px;
  color: #123F5D;
}
.pip-doc-grid a i {
  color: var(--red);
}
.pip-doc-grid a:hover {
  background: #e9f0fc;
  border-color: var(--purple);
  color: var(--purple);
}
.pip-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ddd;
}
.pip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  min-width: 720px;
}
.pip-table thead th {
  background: var(--red);
  color: #fff;
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
}
.pip-table tbody td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}
.pip-table tbody tr:nth-child(even) td {
  background: #f0f4ff;
}
.pip-pool-row td {
  background: #123F5D !important;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}
.pip-table tbody tr:hover td {
  background: #e8f0fe;
}
.pip-table tbody tr.pip-pool-row:hover td {
  background: #123F5D !important;
}
.pip-table td a {
  color: var(--purple);
  font-weight: 600;
}
.pip-table td a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .pip-doc-grid { grid-template-columns: 1fr; }
}
.pip-division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pip-division-card {
  border: 1px solid #ddd;
  padding: 14px;
  background: #fff;
}
.pip-division-card h4 {
  font-size: 14px;
  color: var(--purple);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--purple);
}
.pip-division-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pip-division-card li {
  padding: 4px 0;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}
.pip-division-card li::before {
  content: '\25B6';
  color: var(--red);
  font-size: 9px;
  margin-right: 6px;
}
.pip-division-card li a {
  color: #333;
}
.pip-division-card li a:hover {
  color: var(--purple);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .pip-division-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pip-division-grid { grid-template-columns: 1fr; }
}

/* ===== GUIDES LIST (Medical Colleges) ===== */
.guides-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.guides-list li {
  padding: 8px 12px;
  border: 1px solid #eee;
  font-size: 13px;
  background: #fafafa;
}
.guides-list li i {
  color: var(--red);
  margin-right: 6px;
}
@media (max-width: 768px) {
  .guides-list ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .guides-list ul { grid-template-columns: 1fr; }
}

/* ===== DISTRICT LIST (Alphabetical) ===== */
.district-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.district-item {
  padding: 5px 8px;
  border: 1px solid #eee;
  font-size: 12px;
  background: #fafafa;
}
.district-item i {
  color: var(--red);
  margin-right: 4px;
}
.district-item a {
  color: #333;
}
.district-item a:hover {
  color: var(--purple);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .district-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .district-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .district-list { grid-template-columns: 1fr; }
}

/* ===== EXTRA SECTION (ROPs) ===== */
.pip-extra-section {
  margin-bottom: 18px;
}
.pip-extra-section h4 {
  font-size: 14px;
  color: var(--purple);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--red);
}
.pip-extra-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pip-extra-section li {
  padding: 5px 0 5px 8px;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}
.pip-extra-section li i {
  color: var(--red);
  margin-right: 6px;
}

/* ===== MONITORING & EVALUATION PAGE ===== */
.me-section {
  margin-bottom: 24px;
}
.me-section h4 {
  font-size: 15px;
  color: var(--purple);
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #f5f5f5;
  border-left: 4px solid var(--red);
}
.me-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.me-section li {
  padding: 6px 0 6px 12px;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}
.me-section li a {
  color: #333;
}
.me-section li a:hover {
  color: var(--purple);
  text-decoration: underline;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.inner-page-content {
  padding: 20px 0;
}

/* ===== MISC ===== */
.empty-state { text-align: center; padding: 30px; color: #888; font-size: 13px; }
.hint { font-size: 11px; color: #888; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 10px; }

/* ===== OPPORTUNITIES DETAIL GRID ===== */
.opp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .opp-detail-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .home-row { grid-template-columns: 1fr; }
  .nav-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr; }
  .map-wrap { height: 200px; }
}
@media (max-width: 768px) {
  .nav-list { display: none; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .welcome-bar { flex-wrap: wrap; gap: 10px; }
  .progress-steps { flex-wrap: wrap; }
  .step-line { max-width: 26px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-search-input { width: 100%; }
  .admin-toolbar { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .admin-stats { grid-template-columns: 1fr; }
}

/* ===== NOTICES LIST (public) ===== */
.notices-list { display: flex; flex-direction: column; gap: 12px; }
.notice-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 14px;
}
.notice-icon { font-size: 20px; flex-shrink: 0; }
.notice-body { flex: 1; min-width: 0; }
.notice-body h3 { font-size: 14px; margin-bottom: 4px; }
.notice-body h3 a { color: var(--purple); }
.notice-body p { font-size: 12px; color: #666; }
@media (max-width: 480px) {
  .notice-item { flex-wrap: wrap; }
  .notice-body { flex-basis: calc(100% - 34px); }
}

/* ===== DETAIL CARD (about pages) ===== */
.detail-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 18px 20px;
}
.detail-card h2 { color: var(--purple); font-size: 18px; margin-bottom: 8px; }
.detail-card h3 { color: var(--purple); font-size: 15px; margin: 14px 0 6px; }
.detail-card p { font-size: 13px; color: #444; line-height: 1.8; text-align: justify; }
@media (max-width: 480px) {
  .about-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media print { .no-print { display: none !important; } }

/* ===== DARK THEME (Light/Dark toggle) ===== */
body.dark-theme {
  background: #121212;
  color: #e0e0e0;
}
body.dark-theme a { color: #7db8e8; }
body.dark-theme .main-content { background: #181818; }
body.dark-theme .container p,
body.dark-theme .about-box,
body.dark-theme .updates-box,
body.dark-theme .inner-page-content { color: #d0d0d0; }
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3,
body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 { color: #f0f0f0; }

/* ===== VERTICAL TABS (Maternal Health) ===== */
.vertical-tab-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(#fff, #f5f5f5, #fff);
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.vertical-tab-nav {
  list-style: none;
  margin: 0;
  padding: 10px;
  width: 26%;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  flex-shrink: 0;
}
.vertical-tab-nav li {
  border-bottom: 2px double #111;
}
.vertical-tab-nav li:last-child {
  border-bottom: none;
}
.vertical-tab-nav .vt-link {
  width: 100%;
  display: block;
  text-align: left;
  border: none;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 10px 10px;
  margin: 4px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.vertical-tab-nav .vt-link:hover,
.vertical-tab-nav .vt-link.active {
  color: #fff;
  background: #2e86de;
}
.vertical-tab-content {
  flex: 1;
  padding: 15px 15px 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 21px;
  color: #111;
}
.vertical-tab-content h3 {
  color: #2e86de;
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0 0 10px;
}
.vt-subhead {
  color: #123F5D;
  font-size: 15px;
  margin: 14px 0 8px;
}
.vertical-tab-content p {
  margin: 0 0 10px;
  text-align: justify;
}
.vertical-tab-content ul,
.vertical-tab-content ol {
  margin: 0 0 12px 20px;
  padding: 0;
}
.vertical-tab-content li {
  margin-bottom: 4px;
}
.vt-pane {
  display: none;
}
.vt-pane.active {
  display: block;
}
.vt-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}
.vt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 420px;
}
.vt-table th,
.vt-table td {
  border: 1px solid #000;
  padding: 8px 10px;
  text-align: center;
}
.vt-table th {
  background: #f0f0f0;
  font-weight: 700;
}
@media (max-width: 760px) {
  .vertical-tab-box {
    flex-direction: column;
  }
  .vertical-tab-nav {
    width: 100%;
    min-width: 0;
  }
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}
.gallery-item {
  flex: 1 1 280px;
  max-width: 380px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ===== ORGANOGRAM ===== */
.organogram-image {
  text-align: center;
  margin-top: 8px;
}
.organogram-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
