/* Brand theme behavior — colors come from config/site.php via theme-vars partial */
:root {
  /* fallbacks only; live values injected from config/site.php */
  --tp-theme-1: #1f7ab5;
  --tp-theme-2: #c85a12;
  --tp-common-red: #c85a12;
  --tp-grey-2: #f0f5f9;
  --tp-grey-3: #f5f9fc;
  --tp-hover: #c85a12;
  --site-primary: #1f7ab5;
  --site-accent: #c85a12;
  --site-nav-bg: #e8f3fa;
  --site-page-bg: #f3f7fb;
}

/* ---------- Global hover: text / links / icons → accent ---------- */
a:hover,
a:focus,
.tp-header-top-info span a:hover,
.tp-main-menu nav ul li:hover > a,
.tp-main-menu nav ul li a:hover,
.tp-menu-dropdown nav ul li .sub-menu li a:hover,
.tp-menu-dropdown nav ul li:hover.has-dropdown a::after,
.tp-breadcrumb-list a:hover,
.tp-footer-widget ul li a:hover,
.tp-footer-menu ul li a:hover,
.tp-footer-phone a:hover,
.tp-footer-link:hover,
.tp-blog-title a:hover,
.tp-course-title a:hover,
.tp-recent-post-title a:hover,
.blog-card-title a:hover,
.blog-read-more:hover,
.blog-recent-list a:hover,
.course-category-list a:hover,
.course-category-list a.active,
.contact-info-card a:hover,
.tp-contact-info-link a:hover,
.back-to-top-btn:hover {
  color: var(--tp-hover) !important;
}

/* Service cards: keep "Read more" white on orange hover (avoid accent-on-accent) */
.tp-service-2-item:hover .tp-service-btn,
.tp-service-2-item:hover .tp-service-btn:hover,
.tp-service-2-item:hover .tp-service-btn:focus {
  color: #fff !important;
}

/* ---------- Global hover: solid backgrounds → accent ---------- */
.tp-btn:hover,
.tp-btn:focus,
.tp-btn:active,
a.tp-btn:hover,
button.tp-btn:hover,
.tp-btn-xl:hover,
.tp-btn-xxl:hover,
.tp-btn-border:hover,
.tp-btn-border:focus,
.contact-submit-btn:hover,
.course-apply-btn:hover,
.blog-back-btn:hover,
.course-cta-btn:hover,
.tp-header-search:hover,
.tp-offcanvas-social a:hover,
.tp-footer-social a:hover,
.tp-contact-info-social a:hover,
.contact-social a:hover,
.tp-blog-meta:hover,
.tagcloud a:hover,
.tp-pagination a:hover,
.wp-pagination a:hover,
.blog-pagination .pagination li > a:hover,
.blog-pagination .pagination .active > span {
  background: var(--tp-hover) !important;
  border-color: var(--tp-hover) !important;
  color: #fff !important;
}

.tp-btn-transparent {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.tp-btn-transparent:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--tp-hover) !important;
}

/* Buttons: vertical center text + arrow icon */
.tp-btn,
a.tp-btn,
button.tp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  line-height: 1 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.tp-btn-xl {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.tp-btn-xxl {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.tp-btn .ml-8,
.tp-btn > span {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.tp-btn svg {
  display: block;
  vertical-align: middle;
}

.tp-header-bottom {
  background-color: var(--site-nav-bg) !important;
}

/* Sticky = menu bar only (logo scrolls away) */
.tp-header-bottom.header-sticky {
  background: var(--site-nav-bg) !important;
  background-color: var(--site-nav-bg) !important;
  box-shadow: 0 2px 8px rgba(19, 19, 22, 0.1);
  z-index: 999;
}

/* ---------- Mobile header ---------- */
@media (max-width: 1199.98px) {
  .tp-header-bottom {
    padding: 10px 0;
  }

  .tp-header-logo-mobile {
    margin-right: 0 !important;
    max-width: 140px;
    line-height: 0;
  }

  .tp-header-logo-mobile img {
    width: 100%;
    max-width: 140px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
  }

  .tp-btn-mobile-login {
    padding: 7px 16px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .tp-header-toogle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 36, 46, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--site-primary);
    font-size: 18px;
  }

  .tp-header-toogle:hover {
    background: var(--site-accent);
    border-color: var(--site-accent);
    color: #fff;
  }

  .tp-header-bottom.header-sticky .tp-header-logo-mobile img {
    max-height: 36px;
  }

  .tp-offcanvas {
    z-index: 10000;
  }

  .tp-offcanvas-overlay {
    z-index: 9999;
  }
}

@media (max-width: 575.98px) {
  .tp-header-logo-mobile {
    max-width: 118px;
  }

  .tp-header-logo-mobile img {
    max-width: 118px;
    max-height: 36px;
  }

  .tp-btn-mobile-login {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .tp-header-toogle {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

.tp-offcanvas-info a {
  color: var(--site-primary);
  font-weight: 600;
}

.tp-offcanvas-info a:hover {
  color: var(--site-accent);
}

/* ---------- Compact hero enquiry form (UI only) ---------- */
.tp-hero-2-form-compact {
  padding: 26px 22px 28px !important;
  /* margin-bottom: -90px; */
}

.tp-hero-2-form-compact .tp-hero-2-form-title {
  font-size: 22px;
  line-height: 1.3;
}

.tp-hero-2-form-compact .tp-hero-2-form-input .tp-input {
  height: 42px;
  font-size: 13px;
}

.tp-hero-2-form-compact .tp-hero-2-form-input .tp-textarea {
  height: 72px !important;
  min-height: 72px;
  padding-top: 10px;
  resize: vertical;
}

.tp-hero-2-form-compact .tp-hero-2-form-checkbox .tp-agree {
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.tp-hero-2-form-compact .tp-hero-2-form-checkbox .tp-checkbox {
  width: 16px;
  height: 16px;
}

.tp-hero-2-form-compact .tp-btn {
  height: 44px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.tp-hero-2-form-alert {
  background: #e9f7ef;
  border: 1px solid #bfe5cd;
  color: #1e6b3d;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

@media only screen and (max-width: 1199.98px) {
  .tp-hero-2-form-compact {
    margin-bottom: 40px !important;
  }
}

/* ---------- Student verification / service forms ---------- */
.tp-student-service-wrap {
  padding: 70px 15px 100px;
  background: #fbf9f5;
}

.tp-student-service-wrap .tp-login-register-wrapper {
  min-height: auto;
}

.tp-student-service-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  padding: 0 36px 36px;
}

.tp-student-service-wrap .tp-login-from-heading {
  padding-top: 40px;
}

.tp-student-service-wrap .tp-login-from-heading p {
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.tp-student-service-wrap .tp-login-input {
  margin-bottom: 22px;
}

.tp-student-service-wrap .tp-login-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-align: left;
}

.tp-student-service-wrap .tp-input {
  width: 100%;
}

.tp-student-service-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 122, 181, 0.1);
  color: var(--site-primary, #1f7ab5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tp-student-service-wrap .tp-login-from-btn {
  margin-bottom: 0;
  margin-top: 8px;
}

@media (max-width: 574.98px) {
  .tp-student-service-card {
    padding: 0 22px 28px;
  }

  .tp-student-service-wrap .tp-login-from-title {
    font-size: 26px;
  }
}

.tp-footer-area {
  background-color: var(--site-primary) !important;
}

.tp-section-subtitle,
.text-red,
.tp-theme-2 {
  color: var(--tp-theme-2) !important;
}
