/* =========================================================
   KAP Homepage Upgrade - Test CSS
========================================================= */

.kap-home {
  font-family: Arial, Helvetica, sans-serif;
}

.kap-home .container {
  max-width: 1120px;
}

.kap-home-intro {
  background: #ffffff;
}

.kap-home-intro .page-header {
  max-width: 920px;
  margin: 0 auto 24px;
  text-align: center;
}

.kap-home-intro .page-header h2 {
  color: #b9151b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.kap-home-intro-content {
  max-width: 920px;
  margin: 0 auto;
}

.kap-home-intro-content p {
  color: #374151;
  font-size: 16.5px;
  line-height: 1.75;
}

.kap-home-highlights {
  max-width: 1050px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kap-home-highlight {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.kap-home-highlight span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(185, 21, 27, 0.08);
  color: #b9151b;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.kap-home-highlight h3 {
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 8px;
}

.kap-home-highlight p {
  color: #374151;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.kap-section-heading {
  max-width: 920px;
  margin: 0 auto 38px;
  text-align: center;
}

.kap-section-eyebrow {
  color: #b9151b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.kap-section-heading h2 {
  color: #111827 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
}

.kap-section-heading p {
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Service cards */

.kap-home-services {
  background: #f6f8fb;
}

.kap-home-services .row {
  display: flex;
  flex-wrap: wrap;
}

.kap-home-service-col {
  display: flex;
  margin-bottom: 30px;
}

.kap-home-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kap-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
}

.kap-home-card-image {
  display: block;
  background: #f3f4f6;
}

.kap-home-card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.kap-home-card-body {
  padding: 26px;
  flex: 1;
}

.kap-home-card-title {
  display: block;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 12px;
  text-decoration: none !important;
}

.kap-home-card-title:hover {
  color: #b9151b;
}

.kap-home-card-body p {
  color: #374151;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.kap-home-link {
  display: inline-flex;
  align-items: center;
  color: #b9151b;
  font-weight: 900;
  text-decoration: none !important;
}

.kap-home-link:hover {
  color: #911015;
}

/* Generic cards */

.kap-home-card-grid {
  display: flex;
  flex-wrap: wrap;
}

.kap-home-post-col {
  display: flex;
  margin-bottom: 30px;
}

.kap-home-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.kap-home-post-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.kap-home-post-body {
  padding: 24px;
  flex: 1;
}

.kap-home-post-title {
  display: block;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 10px;
  text-decoration: none !important;
}

.kap-home-post-title:hover {
  color: #b9151b;
}

.kap-home-post-date {
  display: block;
  color: #b9151b;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.kap-home-post-body p {
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

/* Process section */

.kap-home-process {
  background: #ffffff;
}

.kap-process-box {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.kap-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.kap-process-step {
  text-align: center;
}

.kap-process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #b9151b;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.kap-process-step h3 {
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 8px;
}

.kap-process-step p {
  color: #374151;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* FAQs */

.kap-home-faqs {
  background: #f6f8fb;
}

.kap-home-faq-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.kap-home-faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.kap-home-faq-item h3 {
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  margin: 0 0 10px;
}

.kap-home-faq-item p {
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* CTA */

.kap-home-cta {
  max-width: 1120px;
  margin: 46px auto 0;
  padding: 34px;
  background: #111827;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.20);
}

.kap-home-cta h2 {
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 0 8px !important;
}

.kap-home-cta p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.kap-home-btn,
.kap-home-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.kap-home-btn {
  background: #b9151b;
  color: #ffffff !important;
}

.kap-home-btn:hover {
  background: #911015;
  color: #ffffff !important;
}

.kap-home-btn-light {
  background: #ffffff;
  color: #111827 !important;
}

.kap-home-btn-light:hover {
  background: #f3f4f6;
  color: #111827 !important;
}

.kap-home-centre-button {
  text-align: center;
  margin-top: 26px;
}

@media (max-width: 991px) {
  .kap-home-highlights,
  .kap-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kap-home-cta {
    grid-template-columns: 1fr;
  }

  .kap-home-card-image img,
  .kap-home-post-card img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .kap-home-highlights,
  .kap-process-grid,
  .kap-home-faq-grid {
    grid-template-columns: 1fr;
  }

  .kap-home-card-image img,
  .kap-home-post-card img {
    height: 200px;
  }

  .kap-home-cta,
  .kap-process-box {
    padding: 24px;
  }

  .kap-home-btn,
  .kap-home-btn-light {
    width: 100%;
  }
}
