/* ============================================================
   India Cine Hub — Shared styles (National Directory + State pages)
   ============================================================ */
:root {
  --navy: #071c2c;
  --navy-2: #0b3b5e;
  --accent: #0b71b8;
  --gold: #d8a94c;
  --muted: #6c7a89;
  --purple: #6d28d9;
  --purple-2: #8b5cf6;
  --teal: #0f766e;
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  background: #f6f9fc;
  margin: 0;
  color: #1c2a33;
}

/* ---------- Global Page Atmospheric Background ---------- */
.frd-page {
  position: relative;
  min-height: 100vh;
  background-color: #f7fafc;
  background-image:
    /* Ambient Aurora Glows */
    radial-gradient(at 10% 12%, rgba(109, 40, 217, 0.08) 0px, transparent 40%),
    radial-gradient(at 90% 18%, rgba(14, 116, 144, 0.09) 0px, transparent 45%),
    radial-gradient(at 50% 55%, rgba(217, 119, 6, 0.06) 0px, transparent 50%),
    radial-gradient(at 8% 85%, rgba(139, 92, 246, 0.07) 0px, transparent 45%),
    radial-gradient(at 92% 92%, rgba(15, 118, 110, 0.08) 0px, transparent 45%),
    /* Precision Studio Dot Matrix */
    radial-gradient(circle, rgba(148, 163, 184, 0.24) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: scroll, scroll, scroll, scroll, scroll, fixed;
  overflow-x: hidden;
}

.frd-page::before {
  content: '';
  position: absolute;
  top: 140px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.frd-page::after {
  content: '';
  position: absolute;
  top: 480px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit
}

h1,
h2,
h3,
.display-font {
  font-family: 'Bebas Neue', system-ui, Arial, sans-serif;
  letter-spacing: 1px
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 14px
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px
}

.top-utilities {
  display: flex;
  gap: 8px;
  align-items: center
}

.top-utilities .btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff
}

.top-utilities .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff
}

.top-utilities .fontsize-group .btn {
  padding: 4px 10px;
  font-size: 12px
}

/* ---------- Header ---------- */
header.main-header {
  background: #fff;
  border-bottom: 1px solid #e6ecf1
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px
}

.brand img {
  height: 52px
}

.actions button.btn-link {
  font-size: 18px
}

.cta {
  border: 1px solid var(--navy-2);
  color: var(--navy-2);
  padding: 8px 18px;
  border-radius: 24px
}

/* ---------- Navbar ---------- */
.navbar {
  background: #fff
}

.navbar-nav .nav-link {
  color: var(--navy-2);
  font-weight: 500;
  padding: 10px 14px !important;
  border-radius: 20px
}

.navbar-nav .nav-link:hover {
  background: rgba(11, 113, 184, 0.08);
  color: var(--accent)
}

.navbar-nav .nav-link.active {
  color: var(--navy);
  font-weight: 700;
  background: rgba(11, 59, 94, 0.06)
}

.navbar-nav .dropdown-menu {
  border-radius: 12px;
  border: 1px solid #e6ecf1;
  box-shadow: 0 12px 30px rgba(7, 28, 44, 0.12)
}

/* ---------- Hero (cinematic, multi-layer ambient lighting) ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    /* Top beam / spotlight */
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.32) 0%, transparent 65%),
    /* Warm golden keylight */
    radial-gradient(ellipse 55% 45% at 88% 25%, rgba(245, 158, 11, 0.24) 0%, transparent 60%),
    /* Violet fill light */
    radial-gradient(ellipse 60% 50% at 12% 80%, rgba(139, 92, 246, 0.28) 0%, transparent 60%),
    /* Subtle cinema micro-texture overlay */
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 2px, transparent 2px, transparent 12px),
    /* Deep midnight obsidian navy gradient */
    linear-gradient(135deg, #04101b 0%, #072138 35%, #0b3b5e 70%, #061928 100%);
  padding: 38px 0 54px;
  overflow: hidden;
  width: 100%;
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.25);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: #000;
  background-image: radial-gradient(circle, #fff 2.5px, transparent 2.6px);
  background-size: 22px 16px;
  background-position: 8px center;
  opacity: .85
}

.hero::before {
  top: 0
}

.hero::after {
  bottom: 0
}

.hero .eyebrow {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase
}

.hero h1 {
  font-size: 44px;
  margin: 4px 0 8px
}

.hero p.lead-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  max-width: 640px
}

.hero .breadcrumb-line,
.breadcrumb-line {
  display: none !important;
}

.hero .gov-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  color: #e9eef2
}

.hero .gov-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px
}

.hero-top-nav {
  position: relative;
  z-index: 2;
}

.hero .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50px;
  padding: 8px 18px 8px 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .back-btn .back-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .back-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(-4px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.26);
}

.hero .back-btn:hover .back-icon-circle {
  background: #ffffff;
  color: #0b1f33;
  transform: scale(1.08);
}

/* ---------- KPI cards ---------- */
.kpi-card {
  border-radius: 18px;
  padding: 20px 22px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 28, 44, 0.05);
  display: flex;
}
.kpi-card .content{
    opacity: 1;
    background: transparent;
    width: auto;
    height: auto;
    position: relative;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
}
.kpi-card .content *{
    opacity: 1;
    transform: translateY(0px);
}
.kpi-card .kpi-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px
}

.kpi-card .kpi-trend {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 10px
}

.kpi-card .kpi-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1
}

.kpi-card .kpi-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500
}

.kpi-card.tint-purple {
  background: linear-gradient(160deg, #efeaff, #fbfaff)
}

.kpi-card.tint-purple .kpi-icon {
  background: #e3d9ff;
  color: var(--purple)
}

.kpi-card.tint-purple .kpi-trend {
  background: #e3d9ff;
  color: var(--purple)
}

.kpi-card.tint-blue {
  background: linear-gradient(160deg, #e3f1fc, #fbfdff)
}

.kpi-card.tint-blue .kpi-icon {
  background: #cfe8fb;
  color: #0b71b8
}

.kpi-card.tint-blue .kpi-trend {
  background: #cfe8fb;
  color: #0b71b8
}

.kpi-card.tint-teal {
  background: linear-gradient(160deg, #dff7f0, #fbfffd)
}

.kpi-card.tint-teal .kpi-icon {
  background: #c8f0e1;
  color: var(--teal)
}

.kpi-card.tint-teal .kpi-trend {
  background: #c8f0e1;
  color: var(--teal)
}

.kpi-card.tint-gold {
  background: linear-gradient(160deg, #fdf1de, #fffdf9)
}

.kpi-card.tint-gold .kpi-icon {
  background: #fbe3b7;
  color: #b45309
}

.kpi-card.tint-gold .kpi-trend {
  background: #fbe3b7;
  color: #b45309
}

/* ---------- Section headers ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 18px
}

.section-head h2 {
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
  margin: 0
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0
}

.view-toggle .btn {
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 14px
}

.view-toggle {
  gap: 4px;
  background: #eef2f6;
  padding: 4px;
  border-radius: 14px
}

.view-toggle .btn-check:checked+.btn {
  background: var(--navy);
  color: #fff
}

/* ---------- Action tabs (resource filter / view toggle button groups) ---------- */
.action-tabs .btn {
  border-color: #dbe4ec;
  color: var(--navy-2);
  font-weight: 600
}

.action-tabs .btn-check:checked+.btn {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28)
}

.action-tabs .btn-check:checked+.btn:hover {
  color: #fff
}

/* ---------- Resource Category Tabs ---------- */
.resource-tabs {
  position: relative;
  z-index: 1;
  gap: 8px;
  border-bottom: 2px solid rgba(148, 163, 184, 0.2) !important;
}

.resource-tabs .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  padding: 10px 22px;
  border-radius: 12px 12px 0 0;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  position: relative;
}

.resource-tabs .nav-link:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
}

.resource-tabs .nav-link.active {
  color: var(--navy);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(7, 28, 44, 0.05);
}

.resource-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  border-radius: 3px;
}

.resource-tabs .nav-link .badge {
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  margin-left: 8px;
  padding: 4px 9px;
  transition: all 0.2s ease;
}

.resource-tabs .nav-link.active .badge {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #ffffff;
}

/* ---------- Filters (search / select / apply) ---------- */
.filters-wrap {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(7, 28, 44, 0.05), 0 1px 3px rgba(7, 28, 44, 0.02);
  padding: 20px 22px;
}

.filters-wrap label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  display: block
}

.filters-wrap .form-select,
.filters-wrap .form-control {
  border-radius: 10px;
  border: 1px solid #dbe4ec;
  padding: 10px 12px
}

.filters-wrap .form-select:focus,
.filters-wrap .form-control:focus {
  box-shadow: 0 0 0 3px rgba(11, 113, 184, 0.12);
  border-color: var(--accent)
}

/* ---------- State search & multi-select bar ---------- */
.state-search-bar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(7, 28, 44, 0.08);
  padding: 14px 16px
}

.state-multiselect-container {
  position: relative;
  min-width: 280px;
}

/* Category Multi-Select Styles */
.cat-multiselect-container {
  position: relative;
  min-width: 220px;
}

#catMultiSelectTrigger {
  border: 1px solid #dbe4ec;
  border-radius: 10px;
  padding: 9px 14px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
}

#catMultiSelectTrigger:focus,
#catMultiSelectTrigger.show {
  border-color: var(--accent, #0b71b8);
  box-shadow: 0 0 0 3px rgba(11, 113, 184, 0.12);
}

.cat-multiselect-dropdown {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
  z-index: 1050;
  width: 100%;
}

.cat-options-container::-webkit-scrollbar {
  width: 5px;
}
.cat-options-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.cat-options-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cat-option-item {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-size: 14px;
  color: #1e293b;
  user-select: none;
  margin-bottom: 2px;
}

.cat-option-item:hover {
  background-color: #f1f5f9;
}

.cat-option-item input[type="checkbox"] {
  cursor: pointer;
  margin-right: 10px;
  width: 16px;
  height: 16px;
  accent-color: var(--purple, #6366f1);
}

#stateMultiSelectTrigger {
  border: 1px solid #dbe4ec;
  border-radius: 10px;
  padding: 10px 14px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
}

#stateMultiSelectTrigger:focus,
#stateMultiSelectTrigger.show {
  border-color: var(--accent, #0b71b8);
  box-shadow: 0 0 0 3px rgba(11, 113, 184, 0.12);
}

.state-multiselect-dropdown {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
  z-index: 1050;
  width: 100%;
}

.state-options-container::-webkit-scrollbar {
  width: 5px;
}
.state-options-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.state-options-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.state-option-item {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-size: 14px;
  color: #1e293b;
  user-select: none;
  margin-bottom: 2px;
}

.state-option-item:hover {
  background-color: #f1f5f9;
}

.state-option-item input[type="checkbox"] {
  cursor: pointer;
  margin-right: 10px;
  width: 16px;
  height: 16px;
  accent-color: var(--purple, #6366f1);
}

.state-option-item .ut-tag {
  font-size: 9.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  margin-left: auto;
  font-weight: 600;
}

.state-search-bar .form-control {
  border: 1px solid #dbe4ec;
  border-radius: 10px;
  padding: 10px 12px
}

.state-search-bar .form-control:focus {
  box-shadow: 0 0 0 3px rgba(11, 113, 184, 0.12);
  border-color: var(--accent)
}

.state-search-bar .btn-search-theme,
#stateSearchBtn {
  display: none !important;
}

.state-search-bar .btn-reset-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 18px
}

.state-search-bar .btn-reset-dark:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff
}

.category-chip {
  border: 1px solid #dbe4ec;
  background: #fff;
  color: var(--navy-2);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap
}

.category-chip.active,
.category-chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px
}

.chip-row::-webkit-scrollbar {
  height: 6px
}

.chip-row::-webkit-scrollbar-thumb {
  background: #cfd8e0;
  border-radius: 6px
}

/* ---------- Statewise grid card ---------- */
.state-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(7, 28, 44, 0.06);
  box-shadow: 0 8px 20px rgba(7, 28, 44, 0.06);
  overflow: hidden;
  padding: 0;
  height: 100%;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column
}

.state-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(7, 28, 44, 0.13)
}

.state-card .state-card-img-wrap {
  position: relative;
  display: block;
  height: 130px;
  flex: none;
  overflow: hidden
}

.state-card .state-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s
}

.state-card:hover .state-card-img-wrap img {
  transform: scale(1.07)
}

.state-card .state-card-img-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15)
}

.state-card .img-code-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 28, 44, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: .5px;
  backdrop-filter: blur(2px)
}

.state-card .img-rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px
}

.state-card .state-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.state-card .state-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px
}

.state-card .state-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy)
}

.state-card .state-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none
}

.state-card .rank-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted)
}

.state-card .stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px
}

.state-card .stat-row .stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3f4d59;
  font-weight: 600
}

.state-card .stat-row .stat-value {
  font-weight: 700;
  color: var(--navy)
}

.state-card .progress {
  height: 6px;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #eef2f6
}

.mini-progress {
  width: 70px;
  height: 6px;
  background: #eef2f6;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.progress-bar.bar-purple, .bar-purple {
  background: linear-gradient(90deg, var(--purple-2, #8b5cf6), var(--purple, #7c3aed));
}

.progress-bar.bar-teal, .bar-teal {
  background: linear-gradient(90deg, #14b8a6, var(--teal, #0e7490));
}

.state-card .card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #e6ecf1
}

.state-card .total-text {
  font-size: 13px;
  color: var(--muted)
}

.state-card .total-text b {
  color: var(--navy)
}

.state-card .btn-explore {
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700
}

.state-card .btn-explore:hover {
  background: var(--navy);
  color: #fff
}

/* ---------- Statewise list/table view ---------- */
.state-table thead th {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  border-bottom: 2px solid #eef2f6;
  font-weight: 700
}

.state-table td {
  vertical-align: middle;
  padding: 14px 10px
}

.state-table .state-cell {
  display: flex;
  align-items: center;
  gap: 10px
}

.state-table .mini-progress {
  height: 5px;
  border-radius: 5px;
  background: #eef2f6;
  width: 100px
}

.state-table .rank-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-2)
}

/* ---------- Map view ---------- */
.map-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(7, 28, 44, 0.06);
  box-shadow: 0 10px 26px rgba(7, 28, 44, 0.07);
  padding: 22px
}

.map-legend-panel {
  background: #f7f9fb;
  border-radius: 14px;
  padding: 18px
}

.map-legend-panel h6 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .4px
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px
}

.legend-item .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none
}

.legend-note {
  background: #fff;
  border: 1px solid #e6ecf1;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px
}

.map-grid-wrap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 26px;
  gap: 4px;
  min-height: 360px
}

.map-google-container {
  width: 100%;
  display: block;
  min-height: 620px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.map-tile {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #3f4d59;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  background: #f0d9a8
}

.map-tile:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(7, 28, 44, 0.2);
  z-index: 2
}

.map-tile.tile-selected {
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  color: #fff
}

.top5-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--muted)
}

.top5-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px
}

.state-highlights .hi-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.state-highlights .hi-rank {
  width: 20px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700
}

.state-highlights .hi-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy)
}

.state-highlights .hi-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  width: 46px;
  text-align: right
}

.state-highlights .progress {
  height: 5px;
  border-radius: 5px;
  background: #eef2f6
}

/* ---------- Resource card (grid) ---------- */
.resource-card {
  --wash: #f4f2ff;
  --avatar1: #8b5cf6;
  --avatar2: #6d28d9;
  --badge: #6d28d9;
  --pill-bg: #efe7ff;
  --pill-text: #6d28d9;
  --icon-bg: #efe7ff;
  --icon-color: #7c3aed;
  --btn1: #8b5cf6;
  --btn2: #6d28d9;
  --btn-shadow: rgba(124, 58, 237, .28);
  background: linear-gradient(160deg, var(--wash), #ffffff 65%);
  border-radius: 20px;
  border: 1px solid rgba(7, 28, 44, 0.06);
  box-shadow: 0 10px 26px rgba(7, 28, 44, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  z-index: 1;
  transition: transform .18s, box-shadow .18s
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(7, 28, 44, 0.16)
}

.resource-card.card-teal, .resource-card.pastel-blue {
  --wash: #eafaf9;
  --avatar1: #14b8a6;
  --avatar2: #0e7490;
  --badge: #0e7490;
  --pill-bg: #dcf6f2;
  --pill-text: #0f766e;
  --icon-bg: #dcf6f2;
  --icon-color: #0f766e;
  --btn1: #14b8a6;
  --btn2: #0369a1;
  --btn-shadow: rgba(13, 148, 136, .28)
}

.resource-card.card-orange, .resource-card.pastel-peach {
  --wash: #fff4ee;
  --avatar1: #f97316;
  --avatar2: #c2410c;
  --badge: #c2410c;
  --pill-bg: #ffe7d6;
  --pill-text: #c2410c;
  --icon-bg: #ffe7d6;
  --icon-color: #ea580c;
  --btn1: #f97316;
  --btn2: #dc2626;
  --btn-shadow: rgba(220, 38, 38, .28)
}

.resource-card.card-yellow, .resource-card.pastel-yellow {
  --wash: #fff8ec;
  --avatar1: #f59e0b;
  --avatar2: #b45309;
  --badge: #b45309;
  --pill-bg: #fef1d6;
  --pill-text: #92400e;
  --icon-bg: #fef1d6;
  --icon-color: #b45309;
  --btn1: #f59e0b;
  --btn2: #c2410c;
  --btn-shadow: rgba(180, 83, 9, .28)
}

.resource-card.card-purple, .resource-card.pastel-lavender {
  --wash: #f4f2ff;
  --avatar1: #8b5cf6;
  --avatar2: #6d28d9;
  --badge: #6d28d9;
  --pill-bg: #efe7ff;
  --pill-text: #6d28d9;
  --icon-bg: #efe7ff;
  --icon-color: #7c3aed;
  --btn1: #8b5cf6;
  --btn2: #6d28d9;
  --btn-shadow: rgba(124, 58, 237, .28)
}

.resource-card.card-pink, .resource-card.pastel-pink {
  --wash: #fff3f8;
  --avatar1: #ec4899;
  --avatar2: #9d174d;
  --badge: #9d174d;
  --pill-bg: #fde2ee;
  --pill-text: #9d174d;
  --icon-bg: #fde2ee;
  --icon-color: #be185d;
  --btn1: #ec4899;
  --btn2: #9d174d;
  --btn-shadow: rgba(190, 24, 93, .28)
}

.resource-card .card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px
}

.resource-card .avatar {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--avatar1), var(--avatar2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(7, 28, 44, 0.15)
}

.resource-card .name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #16202b
}

.resource-card .name .bi-patch-check-fill {
  color: #0ea5e9;
  font-size: 14px;
  margin-left: 4px
}

.resource-card .type-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--pill-text);
  background: var(--pill-bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600
}
.card-ffo-badge, .card-utl-badge{
 font-size: 18px;
    display: inline-block;
    color: var(--pill-text);
    margin-top: 7px;
    opacity: 0.8;
}
.card-ffo-tooltip{
  max-width: 165px !important;
}
.resource-card .desc-text {
  font-size: 14px;
  color: #5b6a76;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.resource-card .divider {
  height: 1px;
  background: rgba(7, 28, 44, 0.08);
  margin: 0 0 12px
}

.resource-card .card-body-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.resource-card .info-line {
  font-size: 14px;
  color: #3f4d59;
  display: flex;
  gap: 9px;
  align-items: center
}

.resource-card .info-line .info-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px
}

.resource-card .info-line a {
  color: #3f4d59;
  overflow-wrap: anywhere
}

.resource-card .info-line a:hover {
  color: var(--accent)
}

.resource-card .featured-badge {
  background: #fff2d9;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  flex: none
}

.view-btn {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  width: 100%;
  background: linear-gradient(90deg, var(--btn1), var(--btn2));
  color: #fff;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px var(--btn-shadow);
  transition: transform .18s, box-shadow .18s
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px var(--btn-shadow);
  color: #fff
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted)
}

.empty-state i {
  font-size: 42px;
  color: var(--navy-2);
  opacity: .5
}


/* ---------- Offcanvas resource detail ---------- */
.offcanvas-resource {
  width: min(420px, 100vw)
}
.offcanvas-end.offcanvas-resource{
  width: 700px;
}
.offcanvas-head i.bi-patch-check-fill:before{display: none;}
.offcanvas-resource .offcanvas-head {
  background: linear-gradient(120deg, var(--avatar1, #8b5cf6), var(--avatar2, #6d28d9));
  color: #fff;
  padding: 22px
}
.offcanvas-body .od-section-title{}
.offcanvas-resource .offcanvas-head .avatar-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px
}

.offcanvas-resource .offcanvas-head .type-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff
}

.offcanvas-resource .offcanvas-head .btn-light-outline {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 12.5px;
  border-radius: 8px
}

.offcanvas-resource .offcanvas-head .btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.26)
}

.offcanvas-resource .rating-pill {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700
}

.od-section-title {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .5px;
    color: #333333;
    margin: 12px 0 10px;
}

.od-row {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px
}

.od-row .od-icon {
     font-size: 14px;
    margin-top: 2px;
    color: #505050 !important;
}
.od-row a, .od-value a {
    color: #084bab !important;
    font-weight: 500;
    display: inline-block;
}
.od-row .od-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px
}
#odFacilities .badge{    background-color: #efefef !important;
    border: none !important;
    font-size: 14px;
    font-weight: 500;
    color: #151515 !important;
    border-radius: 12px;
    padding: 8px 14px !important;}

.od-row .od-value {
    font-size: 14px;
    font-weight: 500;
    color: #151515;
    overflow-wrap: anywhere;
}

.od-maps-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pill-bg, #efe7ff);
  color: var(--pill-text, #6d28d9);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px
}

.od-timing {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f9fb;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600
}

.od-lang-badge {
  background: #eef2f6;
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 14px;
  margin: 0 6px 6px 0;
  display: inline-block
}

.od-facility-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border-bottom: 1px solid #eef2f6;
  font-size: 14px;
  color: #324150
}

.od-facility-item:last-child {
  border-bottom: none
}

.od-facility-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--avatar1, #8b5cf6);
  margin-right: 10px
}

.od-about {
  font-size: 14px;
  color: #3f4d59;
  line-height: 1.6
}

.od-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.od-gallery .g-item {
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: var(--icon-bg, #eef2f6);
  color: var(--icon-color, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px
}

.od-btn-contact {
  background: linear-gradient(90deg, var(--btn1, #8b5cf6), var(--btn2, #6d28d9));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 20px var(--btn-shadow, rgba(124, 58, 237, .28))
}

.od-btn-pdf {
  border: 1px solid #dbe4ec;
  color: var(--navy-2);
  font-weight: 700;
  border-radius: 12px;
  padding: 12px;
  background: #fff
}

@media (max-width:576px) {
  .hero h1 {
    font-size: 30px
  }

  .state-hero-stats {
    margin-top: 16px
  }
}


/* ---------- State hero stat chips ---------- */
.state-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3
}

.stat-chip {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(7, 28, 44, 0.12);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 150px
}

.stat-chip .chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none
}

.stat-chip .chip-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1
}

.stat-chip .chip-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600
}

/* ---------- Interactive Bharat SVG Map Styles ---------- */
.map-svg-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 10px 15px;
  overflow: visible
}

.map-svg-container svg {
  width: 100%;
  height: auto;
  max-height: 620px;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(7, 28, 44, 0.08))
}

.map-svg-container svg #points,
.map-svg-container svg #label_points {
  display: none !important;
}

.map-svg-container svg path {
  fill: #eef2f6 !important;
  stroke: #cbd5e1 !important;
  stroke-width: 1.2px;
  cursor: pointer;
  transition: fill .22s ease, stroke-width .2s ease, filter .2s ease
}

.map-svg-container svg path:hover,
.map-svg-container svg path.active-state {
  fill: var(--purple) !important;
  stroke: var(--navy) !important;
  stroke-width: 2.2px;
  filter: drop-shadow(0 4px 12px rgba(109, 40, 217, 0.4))
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: none;
  transform: translate(-50%, -120%);
  white-space: nowrap
}

.map-tooltip .tt-title {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700
}

/* new css 17-08-2026 */

.path-resource-directory .banner{
  display: none !important;
}

.path-resource-directory .full.container{
  max-width: 100% !important;
  padding: 0px;
}

.path-resource-directory .inner-page-content{
    margin-top: 0px;
}

.path-resource-directory .content-area.no-sidebar{
  padding: 0px;
}

.map-card .top5-bar + .badge{ display: none ; }

table.state-table .btn.btn-outline-primary {
    border-color: #091c2b;
    color: #091c2b;
}

table.state-table .btn.btn-outline-primary:active{
  background-color: #091c2b;
  color: #fff !important;
}

#cardsGrid.grid{}
#cardsGrid.list{}

/* =========================================
   LIST VIEW
========================================= */

#cardsGrid.list {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
}

#cardsGrid.list > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}


/* Card layout */
#cardsGrid.list .resource-card {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 120px;
    padding: 20px;
}


/* =========================================
   LEFT - Avatar + Name
========================================= */

#cardsGrid.list .card-top {
    flex: 0 0 30%;
    width: 30%;
    display: flex;
    align-items: center;
    padding: 0;
}


/* =========================================
   MIDDLE - Description
========================================= */

#cardsGrid.list .desc-text {
    flex: 0 0 25%;
    width: 100%;
    padding: 0 20px;
    margin: 0;
    padding-left: 67px;
    margin-bottom: 10px;
}


/* =========================================
   CONTACT DETAILS
========================================= */

#cardsGrid.list .card-body-inner {
    flex: 1;
    padding: 0 20px;
    padding-left: 67px;
    margin-bottom: 10px;
}


/* =========================================
   VIEW DETAILS BUTTON
========================================= */

#cardsGrid.list .view-btn {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    white-space: nowrap;
    padding: 10px 20px;
    margin-left: 67px;
}

@media (max-width: 991px) {

    #cardsGrid.list .resource-card {
        flex-wrap: wrap;
    }

    #cardsGrid.list .card-top {
        flex: 0 0 35%;
        width: 35%;
    }

    #cardsGrid.list .desc-text {
        flex: 0 0 30%;
        width: 30%;
    }

    #cardsGrid.list .card-body-inner {
        flex: 1;
    }

    #cardsGrid.list .view-btn {
        width: 100%;
        margin-top: 15px;
    }

}

@media (max-width: 767px) {

    #cardsGrid.list .resource-card {
        flex-direction: column;
        align-items: flex-start;
    }

    #cardsGrid.list .card-top,
    #cardsGrid.list .desc-text,
    #cardsGrid.list .card-body-inner {
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
        margin-bottom: 15px;
    }

    #cardsGrid.list .view-btn {
        width: 100%;
        margin-top: 0;
    }

}

.btn.btn-dark{border-radius: 10px !important;}

/* =========================================
   Smooth Resource Offcanvas
   ========================================= */

#resourceOffcanvas {
    --bs-offcanvas-width: 480px;
    /* Smooth opening and closing */
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) !important;

    /* Improve animation performance */
    will-change: transform;
}

/* Smooth backdrop fade */
.offcanvas-backdrop {
    transition: opacity 1s ease !important;
}

/* Optional: backdrop darkness */
.offcanvas-backdrop.show {
    opacity: 0.45;
}