@font-face {
  font-family: "JameelNooriNastaleeq";
  src: url("https://hamqadam.b-cdn.net/fonts/JameelNooriNastaleeq.woff2") format("woff2"), url("https://hamqadam.b-cdn.net/fonts/JameelNooriNastaleeq.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body.language--ur {
  font-family: "JameelNooriNastaleeq", "Noto Nastaliq Urdu", "Nunito", sans-serif !important;

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  span,
  a,
  label {
    font-family: "JameelNooriNastaleeq", "Noto Nastaliq Urdu", "Nunito", sans-serif !important;
  }

  p {
    font-size: 22px;
  }

  span {
    font-size: 22px;
  }

  li a {
    font-size: 22px !important;
  }

}

.col-auto-brand {
  width: 22% !important;

  .header-logo {
    img {
      width: 100% !important;
    }
  }
}



html {
  scroll-behavior: smooth !important;
}

#introduction {
  scroll-margin-top: 300px !important;
}

#picture-gallery {
  scroll-margin-top: 100px !important;
}

.menu-item-has-children>a[href="/results"] {
  pointer-events: none !important;
  cursor: default;
}

.menu-item-has-children>a[href="/results"]:hover {
  text-decoration: none;
  color: var(--theme-color);
}

.menu-item-has-children>a[href="/examinations"] {
  pointer-events: none !important;
  cursor: default;
}

.rules-and-regulations,
.fee-page {
  table {
    width: 700px;
    border: 2px solid black;

    tr {
      border: 1px solid black;

      td {
        border: 1px solid black;
        font-size: 22px !important;
        text-align: center;
      }
    }
  }
}

.path-contact {
  .contact-region {
    .page__header {
      display: none;
    }

    .page__content {
      .contact-message-contact-form {
        flex-wrap: wrap;
        display: flex;

        .field--name-field-name,
        .field--type-email,
        .field--name-field-phone-number,
        .field--name-subject,
        .form-actions,
        .field--name-field-subject {
          padding: 10px 50px;
          width: 50%;

          .js-form-item {
            display: flex;

            .form-label {
              width: 80px;
              font-size: 20px;
              display: flex;
              justify-content: center;
              align-items: center;
            }
          }
        }

        .js-form-item-copy {
          display: none;
        }
      }

      .contact-message-contact-form {
        flex-wrap: wrap;
        display: flex;
        justify-content: center;

        .field--name-field-address,
        .field--name-field-message {
          padding: 10px 50px;
          width: 100%;

          .js-form-item {
            display: flex;

            .form-label {
              width: 80px;
              font-size: 20px;
              display: flex;
              justify-content: center;
              align-items: center;
            }
          }
        }
      }
    }
  }
}

.path-contact{
  .dialog-off-canvas-main-canvas{
      background-color: #E0EDF4 !important;
      .th-header header-layout3{
        background-color: white !important;
      }
  }
}

.other-exam-centers-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.team {
  width: 32%;
  /* ✅ 3 per row with space between */
  border-radius: 5px;
  transition-duration: 0.3s;
  background-color: #F3F7FB;
  padding: 25px 35px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .col-auto-brand {
    width: 45% !important;
  }

  .path-contact {
    .contact-region {
      .page__header {
        display: none;
      }

      .page__content {
        .container {
          margin-left: 0;
          margin-right: 0;
          padding-left: 0;
          padding-right: 0;

          .contact-message-contact-form {
            flex-wrap: nowrap;
            display: block !important;

            .field--name-field-name,
            .field--type-email,
            .field--name-field-phone-number,
            .field--name-subject,
            .field--name-field-subject,
            .form-actions {
              padding: 10px 0px;
              width: 100% !important;

              .js-form-item {
                display: flex;

                .form-label {
                  width: 50px;
                }
              }
            }

            .js-form-item-copy {
              display: none;
            }
          }
        }

        .contact-message-contact-form {
          flex-wrap: wrap;
          display: flex;
          justify-content: center;

          .field--name-field-address,
          .field--name-field-message {
            padding: 10px 0px;
            width: 100% !important;

            .js-form-item {
              display: flex;

              .form-label {
                width: 50px;
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 992px) {

  .team,
  .contact-feature {
    width: 48%;
    /* 2 per row on tablets */
  }
}

@media (min-width: 477px) and (max-width: 624px) {

  .col-auto-brand {
    width: 40% !important;
  }
}

@media (max-width: 476px) {

  .col-auto-brand {
    width: 45% !important;
  }
}

@media (min-width: 625px) and (max-width: 980px) {

  .col-auto-brand {
    width: 30% !important;
  }
}

.current_leadership_front {
  .slick-dots {
    margin: 40px 0 0 0;
  }
}

/* Apply only on Urdu pages */
.hero-stats {
  display: block !important;
  width: 100% !important;

  direction: rtl !important;
  unicode-bidi: isolate !important;
  text-align: right !important;
    white-space: pre-line !important;
  word-spacing: 12px;
  line-height: 1.1;
}