/* Shared inner-page polish — keeps Jilani theme, fixes spacing/alignment */
.non_home_page #main_area {
  background: #fff;
  padding: 36px 0 72px;
  font-weight: 400;
}

.non_home_page .main_con {
  min-height: 300px;
  padding: 0;
  display: block;
}

.non_home_page main {
  background: inherit;
  color: var(--bodyColor);
  float: none;
  width: 100%;
  max-width: 100%;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-align: left;
  min-height: auto;
}

.non_home_page #breadcrumbs {
  margin: 0 0 22px;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--htks-text-muted);
  letter-spacing: 0.01em;
}

.non_home_page #breadcrumbs a {
  color: var(--htks-brand-green);
  text-decoration: none;
  font-weight: 600;
}

.non_home_page #breadcrumbs a:hover {
  color: var(--htks-brand-blue);
}

.non_home_page #breadcrumbs .breadcrumb_last {
  color: #191919;
}

.non_home_page .entry-content > p {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--htks-text-body);
}

.non_home_page .entry-content > p:last-child {
  margin-bottom: 0;
}

.non_home_page main h2,
.non_home_page main h3 {
  font-family: var(--secFont);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 32px 0 16px;
  color: var(--terColor);
}

.non_home_page main h3 {
  font-size: 22px;
}

.non_home_page #banner {
  margin: 0;
}

.non_home_page .bnr_con {
  min-height: 0;
}

/* About page — mission / vision text left-aligned */
#about_con {
  padding-top: 36px;
}

#about_con .mv_holder section,
#about_con .mv_holder section:first-child,
#about_con .mv_holder section.nh_m,
#about_con .mv_holder section.nh_v {
  text-align: left;
}

#about_con .mv_holder section h2 {
  text-align: left;
}

#about_con .mv_holder section p,
#about_con .about_info p {
  text-align: justify;
  text-justify: inter-word;
}

#about_con .about_info {
  text-align: center;
}

#about_con .about_info h2 {
  text-align: center;
}

#about_con .mv_holder section:first-child p,
#about_con .mv_holder section.nh_m p {
  margin-left: 0 !important;
}

#about_con .mv_holder section:last-child p,
#about_con .mv_holder section.nh_v p {
  margin-right: 0 !important;
}

.non_home_page:not(.htks-product-page) #banner {
  margin: 0;
  padding: 0;
}

.non_home_page:not(.htks-product-page) #banner .wrapper {
  max-width: none;
  padding: 0;
}

.non_home_page .non_ban {
  position: relative;
  overflow: hidden;
}

.non_home_page:not(.htks-product-page) .non_ban::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.non_home_page:not(.htks-product-page) .non_ban_img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
}

.non_home_page:not(.htks-product-page) .non_ban_img figure,
.non_home_page:not(.htks-product-page) .non_ban_img img {
  display: block;
  width: 100%;
  max-height: 420px;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.non_home_page:not(.htks-product-page) .page_title {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  padding: 15px 20px;
  text-align: center;
  font-family: var(--secFont);
  isolation: isolate;
  z-index: 2;
}

.non_home_page:not(.htks-product-page) .page_title::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  left: 0;
  transform: none;
  background: linear-gradient(90deg, var(--htks-brand-green) 0%, var(--htks-brand-green-light) 100%);
  opacity: 0.78;
  z-index: -1;
}

.non_home_page:not(.htks-product-page) .page_title .h1_title {
  margin: 0;
  padding: 0;
  font-family: var(--secFont);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff !important;
}

.non_home_page .page_title .h1_title {
  line-height: 1.2;
}

.non_home_page #main_area::before,
.non_home_page #main_area::after,
.non_home_page .main_con::before,
.non_home_page .main_con::after {
  display: none;
}

.non_home_page .main_bg,
.non_home_page .main_person_bg {
  display: none;
}

.non_home_page .header_nav_holder {
  position: relative;
  inset: auto;
  background: #fff;
}

.non_home_page footer {
  border-top: 3px solid var(--secColor);
}

@media only screen and (min-width: 1001px) {
  .non_home_page .page_nav {
    position: relative;
  }
}

@media (max-width: 767px) {
  .non_home_page #main_area {
    padding: 24px 0 48px;
  }

  .non_home_page .page_title .h1_title {
    padding: 12px 18px;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .non_home_page .non_ban_img img {
    max-height: 220px;
  }
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contact-intro {
  margin: 0 0 8px;
  max-width: 820px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--htks-text-body);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 8px;
}

.contact-meta-card {
  border: 1px solid #e6e8ee;
  background: #fafbfd;
  padding: 18px 18px 16px;
  min-height: 100%;
}

.contact-meta-card q {
  display: block;
  quotes: none;
  margin: 0 0 8px;
  color: var(--priColor);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

.contact-meta-card a,
.contact-meta-card span,
.contact-meta-card address {
  color: var(--terColor);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  font-style: normal;
  text-decoration: none;
}

.contact-meta-card a:hover {
  color: var(--priColor);
}

.contact-form-shell {
  margin-top: 8px;
  border: 1px solid #e6e8ee;
  background: #fff;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(21, 36, 76, 0.05);
}

.contact-form-shell .form-heading {
  margin: 0 0 20px;
  font-family: var(--secFont);
  font-size: 24px;
  font-weight: 700;
  color: var(--terColor);
  letter-spacing: 0.02em;
}

.htks-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.htks-contact-form .form-row.split {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.htks-contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.htks-contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--htks-text-muted);
  letter-spacing: 0.02em;
}

.htks-contact-form input[type="text"],
.htks-contact-form input[type="email"],
.htks-contact-form input[type="tel"],
.htks-contact-form textarea {
  width: 100%;
  border: 1px solid #d5dae3;
  background: #fff;
  color: var(--htks-text-heading);
  border-radius: 4px;
  padding: 13px 14px;
  font: 400 15px/1.4 var(--priFont);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.htks-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.htks-contact-form input:focus,
.htks-contact-form textarea:focus {
  border-color: var(--terColor);
  box-shadow: 0 0 0 3px rgba(21, 36, 76, 0.08);
}

.htks-contact-form .privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--htks-text-muted);
}

.htks-contact-form .privacy input {
  margin-top: 4px;
  flex-shrink: 0;
}

.htks-contact-form .privacy a {
  color: var(--terColor);
  font-weight: 600;
}

.htks-contact-form .form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.htks-contact-form .priBtn,
.htks-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  min-height: 52px;
  padding: 14px 36px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--priColor) 0%, var(--htks-brand-green-light) 100%);
  color: #fff;
  font-family: var(--priFont);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(205, 168, 94, 0.28);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.htks-contact-form .priBtn:hover,
.htks-contact-form .priBtn:focus,
.htks-contact-form button[type="submit"]:hover,
.htks-contact-form button[type="submit"]:focus {
  background: linear-gradient(90deg, var(--terColor) 0%, #2f7aa3 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 36, 76, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.htks-contact-form .priBtn:active,
.htks-contact-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(21, 36, 76, 0.22);
}

.htks-contact-form .priBtn i {
  font-size: 14px;
  line-height: 1;
}


.form-feedback {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.form-feedback.success {
  background: #e8f8ef;
  color: #1a7a45;
  border: 1px solid #c8ebd6;
}

.form-feedback.error {
  background: #fdeaea;
  color: #a33;
  border: 1px solid #f0c7c7;
}

@media (max-width: 900px) {
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .htks-contact-form .form-row.split {
    grid-template-columns: 1fr;
  }

  .contact-form-shell {
    padding: 20px 16px 18px;
  }
}

/* Services page CTA buttons */
#nh_serv .htks-services-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 18px;
  margin: 42px auto 0;
  width: 100%;
  max-width: 640px;
}

#nh_serv .htks-services-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--priFont);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

#nh_serv .htks-services-cta__btn--primary {
  background: linear-gradient(90deg, var(--htks-brand-green) 0%, var(--htks-brand-green-light) 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(78, 143, 37, 0.22);
}

#nh_serv .htks-services-cta__btn--primary:hover,
#nh_serv .htks-services-cta__btn--primary:focus {
  background: linear-gradient(90deg, var(--htks-brand-blue) 0%, var(--htks-brand-blue-dark) 100%);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(62, 149, 195, 0.28);
  transform: translateY(-1px);
}

#nh_serv .htks-services-cta__btn--secondary {
  background: #fff;
  border-color: var(--htks-brand-blue);
  color: var(--htks-brand-blue);
  box-shadow: 0 4px 14px rgba(62, 149, 195, 0.12);
}

#nh_serv .htks-services-cta__btn--secondary:hover,
#nh_serv .htks-services-cta__btn--secondary:focus {
  background: var(--htks-brand-blue);
  border-color: var(--htks-brand-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(62, 149, 195, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  #nh_serv .htks-services-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  #nh_serv .htks-services-cta__btn {
    width: 100%;
    min-width: 0;
  }
}
