/* ============================================================
   KnowYourGujarat — Category Dedicated Pages (Education & Healthcare)
   ============================================================ */

.cat-page-root {
  min-height: 100vh;
  padding-top: 76px;
  background: #FAFCFF;
}

/* ── Hero Section ── */
.cat-hero-section {
  position: relative;
  padding: 60px 24px 70px;
  border-bottom: 1px solid #E2E8F0;
  text-align: center;
}

.cat-hero-education {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.cat-hero-healthcare {
  background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 100%);
}

.cat-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.cat-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-edu {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.dot-health {
  background: #E11D48;
  box-shadow: 0 0 8px #E11D48;
}

.cat-hero-heading {
  font-family: 'Yatra One', 'Inter', serif;
  font-size: clamp(32px, 3.8vw, 48px);
  color: #0F172A;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 850px;
  line-height: 1.25;
}

.cat-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  color: #475569;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Metrics Grid ── */
.cat-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.cat-metric-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cat-metric-val {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.cat-metric-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-align: center;
}

/* ── Content Section & Filter ── */
.cat-content-section {
  padding: 48px 24px 80px;
}

.cat-content-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cat-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.cat-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 8px 14px;
  color: #64748B;
}

.cat-search-box input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #0F172A;
  background: transparent;
  border: none;
  outline: none;
}

.cat-filter-selects {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cat-filter-selects select {
  padding: 8px 14px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  outline: none;
  cursor: pointer;
}

.cat-filter-selects select:focus,
.cat-filter-selects select:hover {
  border-color: #FF7A00;
  background: #FFFFFF;
}

/* ── Projects Grid ── */
.cat-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cat-project-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-project-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.1);
}

.cat-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0F172A;
}

.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-project-card:hover .cat-card-img-wrap img {
  transform: scale(1.04);
}

.cat-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.status-completed {
  background: #16A34A;
  color: #FFFFFF;
}

.status-progress {
  background: #F59E0B;
  color: #FFFFFF;
}

.cat-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.cat-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
}

.meta-district {
  color: #0F172A;
}

.cat-card-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
}

.cat-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.cat-card-footer {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-gps-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #0D9488;
}

.cat-verify-link {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #FF7A00;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cat-verify-link:hover {
  color: #D96000;
  text-decoration: underline;
}

/* ── Upload CTA Banner ── */
.cat-upload-cta-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.2);
}

.cat-cta-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #FFFFFF;
}

.cat-cta-text p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.btn-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #0A4FCD;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-cta-action:hover {
  background: #083EA5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 79, 205, 0.4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cat-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-projects-grid {
    grid-template-columns: 1fr;
  }
  .cat-upload-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .cat-metrics-grid {
    grid-template-columns: 1fr;
  }
}
