/* Custom CSS Rules */

.rts-breadcrumb-area {
  position: relative;
  z-index: 1;
  height: 380px;
  margin: 40px 40px 0;
  border-radius: 30px;
  background-attachment: fixed;
}

.rts-breadcrumb-area .breadcrumb-area-wrapper {
  padding: 160px 0 0;
  text-align: center;
}

.pricing-wrapper .feature-list {
  gap: 10px;
}

/* Hero: keep the robot image beside the title on desktop instead of
   anchoring it off-screen at the bottom (template's default `bottom: -31%`) */
@media (min-width: 1200px) {
  .rts-banner-area-one .banner-inner .right-content-area {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .rts-banner-area-one .banner-inner .banner-hero {
    position: relative;
    bottom: auto;
  }
}

/* Pricing (portrait cards): the template's 80px price-amount was sized for
   short "$199"-style figures in a 3-column layout. TeleNorthe's 4-column
   grid is narrower and prices run to 6 digits ("₦125,000"), so the amount
   clips against the card edge at the default size. */
.pricing-wrapper3 .price {
  flex-wrap: wrap;
}
.pricing-wrapper3 .price .price-amount {
  font-size: 44px;
  letter-spacing: -1px;
}

/* ------------------------------------------------------------------
   Auth — split panel (login / register)
   Illustrated left panel + form on the right, restyled from the
   reference mock into the Techlix template palette (green primary,
   Sora / Manrope) with a staggered entrance and underline fields.
------------------------------------------------------------------ */
/* chrome-less auth layout — centre the card in the viewport */
.tn-auth-body {
  background: var(--color-gray);
}
.tn-auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 0;
}

.tn-auth-section {
  width: 100%;
  padding: 24px 0;
}

.tn-auth-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 940px;
  min-height: 540px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(9, 111, 57, 0.25),
    0 10px 30px -15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(30px);
  animation: tnAuthCardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tnAuthCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* left visual panel */
.tn-auth-visual {
  position: relative;
  background-color: var(--color-secondary);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.tn-auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 89, 48, 0.55) 0%,
    rgba(4, 20, 13, 0.85) 100%
  );
}
.tn-auth-visual::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -70px;
  width: 130px;
  height: 120%;
  background: var(--color-white);
  border-radius: 50%;
}
.tn-auth-visual__word {
  position: absolute;
  left: 44px;
  top: 64px;
  z-index: 1;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-20px);
  animation: tnAuthWordIn 0.7s ease forwards 0.45s;
}
@keyframes tnAuthWordIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* right form panel */
.tn-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}
.tn-auth-panel__inner {
  width: 100%;
  max-width: 320px;
}
.tn-auth-logo {
  display: block;
  margin: 0 0 18px;
  text-align: center;
}
.tn-auth-logo img {
  height: 34px;
  width: auto;
}
.tn-auth-title {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 30px;
  color: var(--color-title);
}
.tn-auth-title.has-sub {
  margin-bottom: 6px;
}
.tn-auth-subtitle {
  margin: 0 0 30px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: #6b7280;
}
.tn-auth-status {
  margin-bottom: 20px;
  font-size: 14px;
}

.tn-auth-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* floating-label underline fields */
.tn-field {
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  animation: tnFieldIn 0.5s ease forwards;
  animation-delay: calc(0.5s + var(--tn-field-index, 1) * 0.09s);
}
@keyframes tnFieldIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tn-field__input {
  width: 100%;
  padding: 6px 76px 8px 0;
  border: 0;
  border-bottom: 1px solid #d5d7dd;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--color-title);
  outline: none;
  transition: border-color 0.3s ease;
}
.tn-field__input:focus,
.tn-field__input:not(:placeholder-shown) {
  border-bottom-color: var(--color-primary);
}
.tn-field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tn-field:focus-within::after {
  transform: scaleX(1);
}
.tn-field__label {
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: #9aa0ac;
  pointer-events: none;
  transition: transform 0.25s ease, color 0.25s ease, font-size 0.25s ease;
}
.tn-field__input:focus + .tn-field__label,
.tn-field__input:not(:placeholder-shown) + .tn-field__label {
  transform: translateY(-22px);
  font-size: 12px;
  color: var(--color-primary);
}
.tn-field__aside {
  position: absolute;
  right: 0;
  top: 8px;
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}
.tn-field__aside:hover {
  opacity: 0.7;
}
.tn-field__input.is-invalid {
  border-bottom-color: var(--color-danger);
}
.tn-field__error {
  margin: 6px 0 0;
  font-family: var(--font-secondary);
  font-size: 12px;
  color: var(--color-danger);
}

.tn-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 0;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  animation: tnFieldIn 0.5s ease forwards;
  animation-delay: calc(0.5s + var(--tn-field-index, 3) * 0.09s);
}
.tn-auth-remember input {
  accent-color: var(--color-primary);
}

.tn-auth-submit {
  max-width: none;
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  animation: tnFieldIn 0.5s ease forwards;
  animation-delay: calc(0.5s + var(--tn-field-index, 4) * 0.09s);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(9, 111, 57, 0.6);
}

.tn-auth-switch {
  margin: 30px 0 0;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: #6b7280;
}
.tn-auth-switch a {
  font-weight: 700;
  color: var(--color-primary);
}

/* stack the panels on small screens */
@media (max-width: 767px) {
  .tn-auth-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tn-auth-visual {
    min-height: 160px;
  }
  .tn-auth-visual::after {
    display: none;
  }
  .tn-auth-visual__word {
    top: auto;
    bottom: 24px;
  }
  .tn-auth-panel {
    padding: 40px 28px 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-auth-card,
  .tn-auth-visual__word,
  .tn-field,
  .tn-auth-remember,
  .tn-auth-submit {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------
   How It Works — step icons rendered as Font Awesome glyphs so each
   step shows a picture that matches its label. Keeps the template's
   orange-to-blue gradient fill and the 67px icon slot height.
------------------------------------------------------------------ */
.working-process-wrapper .icon .tn-step-icon {
  display: inline-block;
  font-size: 52px;
  line-height: 67px;
  background: linear-gradient(90deg, #a53e1b 0%, #173998 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------------
   Primary nav — gradient-fill the link for the route being viewed.
   navigation.blade.php toggles .menu-item.active via request()->routeIs().
------------------------------------------------------------------ */
.main-nav-area ul.rts-desktop-menu .menu-item.active .without-arrow {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ------------------------------------------------------------------
   Coverage search — reuses the template's .rts-contact-form-area /
   .contact-form styling for the picker; the result panels and waitlist
   field are styled to sit in the same card language.
------------------------------------------------------------------ */
.coverage-search .coverage-form-error {
  display: block;
  margin-top: 10px;
  color: var(--color-danger);
  font-family: var(--font-primary);
  font-size: 14px;
}

.coverage-search .coverage-result {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid #f2f2f2;
  border-radius: 20px;
  font-family: var(--font-primary);
}
.coverage-search .coverage-result.is-available {
  border-color: rgba(9, 111, 57, 0.3);
  background: rgba(9, 111, 57, 0.05);
}
.coverage-search .coverage-result.is-unavailable {
  border-color: rgba(255, 143, 60, 0.4);
  background: rgba(255, 143, 60, 0.06);
}
.coverage-search .coverage-result h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: var(--p-semi-bold);
  color: var(--color-heading-1);
}
.coverage-search .coverage-result.is-available h3 i {
  color: var(--color-primary);
}
.coverage-search .coverage-result.is-unavailable h3 i {
  color: var(--color-warning);
}
.coverage-search .coverage-result p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(5, 1, 28, 0.7);
}
.coverage-search .coverage-result p.mb-0 {
  margin-bottom: 0;
}

.coverage-search .coverage-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.coverage-search .coverage-reset {
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: 14px;
  text-decoration: underline;
}

.coverage-search .coverage-waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.coverage-search .coverage-waitlist-form input {
  flex: 1 1 220px;
  border: 1px solid #f2f2f2;
  border-radius: 54px;
  padding: 14px 22px;
  font-family: var(--font-primary);
  font-size: 15px;
  outline: none;
}
.coverage-search .coverage-waitlist-form input:focus {
  border-color: var(--color-primary);
}

/* ------------------------------------------------------------------ *
 * Mobile off-canvas menu — smooth the open animation
 *
 * The panel reveals with an animated `clip-path: circle()` (style.css
 * ~13097). The base `.side-bar` rule also puts a live `backdrop-filter:
 * blur(30px)` on it, so every frame of the expanding circle forced the
 * browser to re-blur the whole page behind the changing clip region —
 * that is the jerk/flicker on tap and the occasional garbled render.
 *
 * The panel background is already ~96-98% opaque, so dropping the
 * backdrop blur is visually near-identical and removes the per-frame
 * cost. We also give the panel (and the dim overlay) their own
 * compositing layer up front so the transition runs clean from frame 1.
 * ------------------------------------------------------------------ */
.side-bar.at-offcanvas-2-area {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(145deg, #ffffff, #f6faff), var(--color-white);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: clip-path;
}

#anywhere-home {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: opacity;
}
