/* ============================================================
   KHIDMAT HUB PAGE
   ============================================================ */

.kh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.kh-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8502E;
  margin: 0 0 12px;
}

.kh-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 18px;
}

.kh-lead {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1f2937;
  margin: 0 0 16px;
  font-weight: 500;
}

.kh-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 14px;
}

/* ===== HERO ===== */
.kh-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.kh-hero--centered .kh-hero__inner {
  text-align: center;
}
.kh-hero--centered .kh-hero__crumb {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kh-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.kh-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,18,0.68), rgba(8,10,18,0.78));
  z-index: -1;
}
.kh-hero__inner {
  padding: 100px 24px 80px;
  color: #fff;
  width: 100%;
}
.kh-hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FDECE6;
  margin: 0 0 14px;
}
.kh-hero__h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
}
.kh-hero__crumb {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kh-hero__crumb a {
  color: #E8502E;
  text-decoration: none;
  font-weight: 700;
  transition: color .15s ease;
}
.kh-hero__crumb a:hover {
  color: #C9421F;
}
.kh-hero__crumb-sep {
  color: #E8502E;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.kh-hero__crumb > span:last-child {
  color: #ffffff;
}

/* ===== BODY GRID ===== */
.kh-body {
  background: #ffffff;
  padding: 80px 0 100px;
}
.kh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.kh-grid--single {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}

.kh-main {
  min-width: 0;
}

.kh-block {
  margin-bottom: 72px;
}
.kh-block:last-child {
  margin-bottom: 0;
}

/* ===== ABOUT BLOCK ===== */
.kh-about {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.kh-about__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.kh-about__body { min-width: 0; }

/* ===== HOW WE CAN HELP ===== */
.kh-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: stretch;
}
.kh-help__media {
  display: flex;
  align-items: stretch;
}
.kh-help__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.kh-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.kh-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
}
.kh-bullets li:last-child { border-bottom: none; }
.kh-bullets li svg {
  flex-shrink: 0;
  color: #E8502E;
  margin-top: 3px;
}
.kh-bullets li strong {
  color: #000;
  font-weight: 700;
}

/* ===== SERVICES CARDS ===== */
.kh-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.kh-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.kh-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #E8502E;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.kh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: #E8502E;
}
.kh-card:hover::before {
  transform: scaleX(1);
}
.kh-card__num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #E8502E;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.kh-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0 0 12px;
  line-height: 1.25;
}
.kh-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 22px;
  flex-grow: 1;
}
.kh-card__cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #E8502E;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s ease;
}
.kh-card:hover .kh-card__cta {
  gap: 12px;
}

/* ===== SIDEBAR ===== */
.kh-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.kh-side-block {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 22px;
}
.kh-search {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.kh-search input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: transparent;
  outline: none;
  color: #000;
}
.kh-search button {
  border: none;
  background: #E8502E;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.kh-search button:hover {
  background: #C9421F;
}

.kh-side-h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #000;
  margin: 0 0 14px;
}

.kh-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kh-cat-list li {
  border-bottom: 1px solid #e5e7eb;
}
.kh-cat-list li:last-child { border-bottom: none; }
.kh-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.kh-cat-list a:hover {
  color: #E8502E;
  padding-left: 6px;
}
.kh-cat-list a svg {
  color: #9ca3af;
  transition: transform .2s ease, color .2s ease;
}
.kh-cat-list a:hover svg {
  color: #E8502E;
  transform: translateX(3px);
}

/* Dark help card */
.kh-help-card {
  background: #000000;
  color: #fff;
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
}
.kh-help-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 80, 46, 0.15);
  color: #E8502E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.kh-help-card__h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -0.01em;
}
.kh-help-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 20px;
}
.kh-help-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E8502E;
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;
}
.kh-help-card__btn:hover {
  background: #C9421F;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .kh-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .kh-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .kh-side-block, .kh-help-card {
    flex: 1 1 280px;
  }
  .kh-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .kh-hero__h1 {
    font-size: 54px;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  .kh-hero {
    min-height: 320px;
  }
  .kh-hero__inner {
    padding: 90px 20px 60px;
  }
  .kh-hero__h1 {
    font-size: 44px;
    line-height: 1.1;
  }
  .kh-hero__crumb {
    font-size: 15px;
  }

  .kh-body {
    padding: 56px 0 70px;
  }
  .kh-block {
    margin-bottom: 56px;
  }

  .kh-h2 {
    font-size: 28px;
  }
  .kh-about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kh-about__media img {
    max-height: 320px;
  }
  .kh-help {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kh-help__media {
    order: -1;
  }
  .kh-help__media img {
    max-height: 320px;
  }

  .kh-services {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kh-aside {
    flex-direction: column;
  }
  .kh-side-block, .kh-help-card {
    flex: 1 1 100%;
  }
}

/* ============================================================
   FOOTER (page-scoped, override generic browser defaults)
   ============================================================ */
.kh-footer {
  background: #0a0a0a;
  color: #d1d5db;
  padding: 64px 0 0;
}
.kh-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  padding-bottom: 56px;
}
.kh-footer__col {
  min-width: 0;
}
.kh-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 16px;
}
.kh-footer__brand img {
  display: block;
}
.kh-footer__brand-name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
.kh-footer__brand-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #9ca3af;
  margin-top: 5px;
}
.kh-footer__about {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #9ca3af;
  margin: 0;
  max-width: 320px;
}
.kh-footer__h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.kh-footer__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.kh-footer__list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.5;
}
.kh-footer__list li::before,
.kh-footer__list li::marker {
  content: none !important;
  display: none !important;
}
.kh-footer__list a {
  color: #d1d5db;
  text-decoration: none;
  transition: color .15s ease;
}
.kh-footer__list a:hover {
  color: #E8502E;
}
.kh-footer__bottom {
  border-top: 1px solid #1f1f1f;
  padding: 22px 0;
}
.kh-footer__bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  text-align: center;
}

/* Footer mobile */
@media (max-width: 768px) {
  .kh-footer { padding: 48px 0 0; }
  .kh-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    text-align: left;
  }
}
