.state-counselling-hero {
  background: #f7faff;
  padding: 60px 0 40px;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  padding: 10px 18px;
  background: #eef4ff;
  color: #0d6efd;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.state-counselling-hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  color: #0a2540;
  margin-bottom: 20px;
}
.state-counselling-hero h1 span {
  display: block;
  color: #2563eb;
}
.state-counselling-hero p {
  font-size: 18px;
  line-height: 1.8;
  color: #6b7280;
  margin-bottom: 30px;
}
.hero-mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-card {
  background: #fff;
  border: 1px solid #e8edf7;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgb(13 110 253 / 0.08);
}
.mini-card i {
  color: #0d6efd;
  font-size: 20px;
  width: 24px;
  flex-shrink: 0;
}
.mini-card span {
  font-weight: 600;
  color: #0a2540;
}
.hero-image-wrap {
  text-align: center;
  position: relative;
}
.hero-image-wrap img {
  max-height: 520px;
  width: auto;
}
.exam-facts-card {
  background: #fff;
  border: 1px solid #e8edf7;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgb(0 0 0 / 0.05);
}
.fact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #eef2f8;
}
.fact-item:last-child {
  border-bottom: none;
}
.fact-item i {
  width: 40px;
  text-align: center;
  font-size: 22px;
  color: #0d6efd;
  flex-shrink: 0;
}
.fact-item small {
  display: block;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 2px;
}
.fact-item strong {
  display: block;
  color: #0a2540;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.state-counselling-hero .row {
  align-items: center;
}
.hero-content {
  max-width: 520px;
}

.toolbar-right select {
  width: 140px;
  border-radius: 12px;
}
.result-count {
  font-weight: 600;
  color: #64748b;
}
.directory-topbar button {
  border: none;
  background: #eef4ff;
  color: #0d6efd;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}
.directory-topbar button.active {
  background: #0d6efd;
  color: #fff;
}
.directory-topbar button:hover {
  background: #0d6efd;
  color: #fff;
}
/* ===================================
   AUTHORITY TABLE
=================================== */

.authority-table-wrapper {
  background: #fff;
  border: 1px solid #e8edf7;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.authority-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

.authority-table thead {
  background: #f8fbff;
}

.authority-table th {
  padding: 24px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #0a2540;
  border-bottom: 1px solid #e8edf7;
  white-space: nowrap;
}

.authority-table td {
  padding: 22px 28px;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.authority-table tbody tr {
  transition: 0.25s ease;
}

.authority-table tbody tr:hover {
  background: #f8fbff;
}

.authority-table tbody tr:last-child td {
  border-bottom: none;
}

/* Column Widths */

.authority-table th:nth-child(1),
.authority-table td:nth-child(1) {
  width: 70px;
}

.authority-table th:nth-child(2),
.authority-table td:nth-child(2) {
  width: 260px;
}

.authority-table th:nth-child(3),
.authority-table td:nth-child(3) {
  width: 170px;
}

.authority-table th:nth-child(4),
.authority-table td:nth-child(4) {
  min-width: 520px;
}

.authority-table th:nth-child(5),
.authority-table td:nth-child(5) {
  width: 180px;
}

.authority-table th:nth-child(6),
.authority-table td:nth-child(6) {
  width: 200px;
}

/* State Name */

.authority-table td strong {
  font-size: 18px;
  font-weight: 700;
  color: #0a2540;
}

/* Region Badge */

.region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #eef4ff;
  color: #2563eb;

  padding: 8px 16px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
}

/* Website Link */

.website-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #0d6efd;
  text-decoration: none;

  font-size: 15px;
  font-weight: 700;
}

.website-badge:hover {
  color: #0a58ca;
}

/* Visit Button */

.visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;

  background: #2563eb;
  color: #fff;

  padding: 12px 18px;

  border-radius: 14px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition: 0.25s ease;
}

.visit-btn:hover {
  background: #1d4ed8;
  color: #fff;
}

/* Responsive Scroll */

.authority-table-wrapper {
  overflow-x: auto;
}

.authority-table {
  min-width: 1300px;
}
.website-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
}
.website-badge:hover {
  color: #0a58ca;
}
.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d6efd;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}
.visit-btn:hover {
  background: #0b5ed7;
  color: #fff;
}
.directory-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.directory-pagination button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #eef4ff;
  color: #0d6efd;
  transition: 0.3s;
}
.directory-pagination button:hover {
  background: #0d6efd;
  color: #fff;
}
#pageInfo {
  font-weight: 600;
  color: #64748b;
}
.region-badge {
  background: #eef4ff;
  color: #0d6efd;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.region-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0;
}

.region-filters button {
  border: none;
  background: #eef4ff;
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}

.region-filters button.active,
.region-filters button:hover {
  background: #2563eb;
  color: #fff;
}

.directory-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.directory-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.authority-table td {
  vertical-align: middle;
}

.directory-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  position: relative;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 30px;
  transition: 0.35s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.search-box.expanded {
  width: 320px;
}

.search-open {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;
}

.search-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;

  opacity: 0;
  visibility: hidden;
}

.search-box.expanded .search-close {
  opacity: 1;
  visibility: visible;
}

.search-box input {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: none;
  outline: none;
  background: transparent;

  padding: 0 50px;

  font-size: 14px;

  opacity: 0;
  pointer-events: none;
}

.search-box.expanded input {
  opacity: 1;
  pointer-events: auto;
}
.search-open {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;
}
.search-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
}
.search-filter-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
