:root {
      --gov-blue: #082b63;
      --gov-blue-2: #0b3d91;
      --gold: #f4b400;
      --deep-red: #8b0000;
      --light-bg: #f4f7fb;
      --dark: #111827;
      --muted: #64748b;
      --white: #fff;
      --border: #d7e1ef;
      --shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    }

      /* Poppins */
  @font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

  @font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
  }

  /* Kannada Font */
  @font-face {
    font-family: 'Noto Sans Kannada';
    src: url('/fonts/Noto_Sans_Kannada/NotoSansKannada-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
  }
    * {
      font-family: "Poppins", "Noto Sans Kannada", sans-serif;
    }

    body {
      margin: 0;
      background: var(--light-bg);
      color: var(--dark);
    }

    .person-image img {
      cursor: zoom-in;
    }

    a {
      text-decoration: none;
    }

    .gov-strip {
      background: #061b3a;
      color: #ffffff;
      font-size: 0.85rem;
      padding: 6px 0;
      border-bottom: 3px solid var(--gold);
    }

    .main-header {
      background: #ffffff;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    }

    .ksp-logo {
      width: 78px;
      height: 78px;
      object-fit: contain;
    }

    .header-title {
      color: var(--gov-blue);
      font-weight: 800;
      font-size: clamp(1.25rem, 2.6vw, 2rem);
      line-height: 1.2;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .header-subtitle {
      color: var(--deep-red);
      font-weight: 700;
      font-size: 1rem;
      margin: 4px 0 0;
    }

    .topbar {
      background: var(--gov-blue);
    }

    .navbar .nav-link {
      color: rgba(255, 255, 255, 0.95) !important;
      font-weight: 600;
      padding: 12px 16px;
    }

    .navbar .nav-link:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #fff !important;
    }

    .btn-login {
      background: var(--gold);
      border: none;
      color: #111827;
      font-weight: 800;
      border-radius: 4px;
      padding: 10px 20px;
    }

    .hero {
      position: relative;
      min-height: 440px;
      display: flex;
      align-items: center;
      background:
        linear-gradient(90deg, rgba(8, 43, 99, 0.96), rgba(11, 61, 145, 0.88)),
        url("/images/ksp-logo.png") no-repeat right 8% center;
      background-size: auto, 330px;
      color: white;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: url("/images/ksp-logo.png") no-repeat center;
      background-size: 420px;
      opacity: 0.045;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding: 70px 0;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(244, 180, 0, 0.18);
      border: 1px solid rgba(244, 180, 0, 0.5);
      color: #ffe08a;
      font-weight: 700;
      padding: 8px 14px;
      border-radius: 4px;
      margin-bottom: 16px;
    }

    .hero-title {
      font-size: clamp(2rem, 4vw, 3.6rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .hero-subtitle {
      max-width: 760px;
      font-size: 1.05rem;
      line-height: 1.8;
      color: rgba(255, 255, 255, 0.92);
    }

    .search-section {
      margin-top: -55px;
      position: relative;
      z-index: 5;
    }

    .search-panel {
      background: #fff;
      border-radius: 8px;
      border-top: 6px solid var(--gold);
      box-shadow: var(--shadow);
      padding: 26px;
    }

    .search-title {
      color: var(--gov-blue);
      font-weight: 800;
      margin-bottom: 6px;
    }

    .search-subtitle {
      color: var(--muted);
      margin-bottom: 18px;
    }

    .form-control,
    .form-select {
      border-radius: 4px;
      min-height: 50px;
      border: 1px solid #cbd5e1;
      box-shadow: none !important;
    }

    .form-control:focus,
    .form-select:focus {
      border-color: var(--gov-blue-2);
    }

    .btn-primary-custom {
      background: var(--gov-blue-2);
      border: none;
      color: #fff;
      font-weight: 700;
      border-radius: 4px;
      min-height: 50px;
    }

    .btn-primary-custom:hover {
      background: var(--gov-blue);
      color: #fff;
    }

    .section-title {
      color: var(--gov-blue);
      font-weight: 800;
      position: relative;
      display: inline-block;
      padding-bottom: 10px;
    }

    .section-title::after {
      content: "";
      position: absolute;
      width: 70%;
      height: 4px;
      background: var(--gold);
      left: 15%;
      bottom: 0;
    }

    .person-card {
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
      height: 100%;
    }

    .person-image {
      height: 240px;
      background: #eef2f7;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      font-weight: 700;
    }

    .status-chip {
      position: absolute;
      top: 14px;
      left: 14px;
      color: #fff;
      border-radius: 4px;
      padding: 7px 12px;
      font-size: 0.78rem;
      font-weight: 800;
      z-index: 2;
    }

    .status-chip.untraced {
      background: #dc2626;
    }

    .status-chip.traced {
      background: #16a34a;
    }

    .status-chip.closed {
      background: #64748b;
    }

    .detail-chip {
      display: inline-block;
      background: #eef4ff;
      color: var(--gov-blue);
      font-size: 0.82rem;
      font-weight: 700;
      border-radius: 4px;
      padding: 7px 10px;
      margin: 4px 5px 0 0;
    }

    .results-info {
      color: var(--gov-blue);
      font-weight: 700;
    }

    footer {
      background: #061b3a;
      color: rgba(255, 255, 255, 0.9);
      margin-top: 70px;
      border-top: 4px solid var(--gold);
    }

    .footer-logo {
      width: 64px;
      height: 64px;
      object-fit: contain;
    }

    @media (max-width: 768px) {
      .ksp-logo {
        width: 58px;
        height: 58px;
      }

      .hero {
        background:
          linear-gradient(90deg, rgba(8, 43, 99, 0.97), rgba(11, 61, 145, 0.92));
      }

      .search-section {
        margin-top: -30px;
      }
    }