/* =====================================================
   TalentForge — Theme Stylesheet
   White & Blue palette · rem-based · Bootstrap 5 friendly
   ===================================================== */

:root {
  --tf-blue-900: #0a2a6b;
  --tf-blue-800: #0b3d91;
  --tf-blue-700: #1452d1;
  --tf-blue-600: #1f6feb;
  --tf-blue-500: #2f86ff;
  --tf-blue-400: #5aa6ff;
  --tf-blue-100: #e6f0ff;
  --tf-blue-50:  #f3f7ff;

  --tf-white: #ffffff;
  --tf-ink:   #0d1b2a;
  --tf-muted: #5b6b7d;
  --tf-line:  #e3ebf5;

  --tf-shadow-sm: 0 0.25rem 0.75rem rgba(11, 61, 145, 0.08);
  --tf-shadow-md: 0 1rem 2rem rgba(11, 61, 145, 0.10);
  --tf-shadow-lg: 0 1.75rem 3rem rgba(11, 61, 145, 0.18);

  --tf-gradient: linear-gradient(135deg, var(--tf-blue-700) 0%, var(--tf-blue-500) 100%);
  --tf-gradient-soft: linear-gradient(135deg, #f3f7ff 0%, #ffffff 100%);

  --tf-radius: 1rem;
  --tf-radius-lg: 1.5rem;

  --tf-font: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

html { font-size: 100%; scroll-behavior: smooth; }

@media (max-width: 1200px) { html { font-size: 95%; } }
@media (max-width: 768px)  { html { font-size: 90%; } }
@media (max-width: 480px)  { html { font-size: 87.5%; } }

body {
  font-family: var(--tf-font);
  color: var(--tf-ink);
  background: var(--tf-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; transition: color .25s ease, opacity .25s ease; }

::selection { background: var(--tf-blue-700); color: #fff; }

/* ============ LOADER ============ */
.tf-loader {
  position: fixed;
  inset: 0;
  background: var(--tf-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity .6s ease, visibility .6s ease;
}
.tf-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.tf-loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.tf-logo-square {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  background: var(--tf-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
  box-shadow: 0 1rem 2rem rgba(31, 111, 235, 0.35);
  animation: tfPulse 1.4s ease-in-out infinite;
}
.tf-loader-bar {
  width: 9rem;
  height: 0.25rem;
  background: var(--tf-blue-100);
  border-radius: 999px;
  overflow: hidden;
}
.tf-loader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--tf-gradient);
  border-radius: inherit;
  animation: tfBar 1.2s ease-in-out infinite;
}
@keyframes tfPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 1rem 2rem rgba(31,111,235,.35); }
  50%      { transform: scale(1.06); box-shadow: 0 1.25rem 2.5rem rgba(31,111,235,.5); }
}
@keyframes tfBar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ============ NAVBAR ============ */
.tf-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(0.75rem);
  -webkit-backdrop-filter: saturate(180%) blur(0.75rem);
  padding: 1rem 0;
  transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
  border-bottom: 0.0625rem solid transparent;
}
.tf-navbar.is-scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--tf-shadow-sm);
  border-bottom-color: var(--tf-line);
}
.tf-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tf-blue-900);
}
.tf-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--tf-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0.4rem 1rem rgba(31,111,235,.3);
}
.tf-brand-name {
  color: var(--tf-blue-900);
  font-weight: 700;
}
.tf-navbar .nav-link {
  color: var(--tf-ink);
  font-weight: 500;
  padding: 0.5rem 0.875rem !important;
  position: relative;
  white-space: nowrap;
}
.tf-navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 0.125rem;
  background: var(--tf-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  border-radius: 999px;
}
.tf-navbar .nav-link:hover,
.tf-navbar .nav-link.active {
  color: var(--tf-blue-700);
}
.tf-navbar .nav-link:hover::after,
.tf-navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* ============ BUTTONS ============ */
.tf-btn-primary {
  background: var(--tf-gradient);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 0.625rem 1.25rem rgba(31,111,235,.3);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.tf-btn-primary:hover,
.tf-btn-primary:focus {
  color: #fff;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.875rem 1.75rem rgba(31,111,235,.4);
  filter: brightness(1.05);
}
.tf-btn-outline {
  background: transparent;
  color: var(--tf-blue-700);
  border: 0.125rem solid var(--tf-blue-700);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all .25s ease;
}
.tf-btn-outline:hover {
  background: var(--tf-blue-700);
  color: #fff;
}

/* ============ SHARED ============ */
.tf-section { padding: 6rem 0; position: relative; }
@media (max-width: 768px) { .tf-section { padding: 4rem 0; } }

.tf-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tf-blue-700);
  background: var(--tf-blue-100);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tf-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--tf-blue-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.tf-section-text {
  font-size: 1.0625rem;
  color: var(--tf-muted);
  margin-bottom: 1.5rem;
}
.tf-text-gradient {
  background: var(--tf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ HERO ============ */
.tf-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: var(--tf-gradient-soft);
}
.tf-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(31,111,235,.18), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(90,166,255,.18), transparent 45%);
  z-index: 0;
}
.tf-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--tf-blue-900);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.tf-hero-sub {
  font-size: 1.125rem;
  color: var(--tf-muted);
  max-width: 32rem;
}
.tf-hero-stats h3 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--tf-blue-700);
  margin-bottom: 0.25rem;
}
.tf-hero-stats p {
  font-size: 0.875rem;
  color: var(--tf-muted);
  margin: 0;
}
.tf-hero-visual { position: relative; }
.tf-float { animation: tfFloat 5s ease-in-out infinite; }
@keyframes tfFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.75rem); }
}
.tf-floating-card {
  position: absolute;
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--tf-shadow-md);
  font-size: 0.875rem;
  min-width: 11rem;
}
.tf-floating-card i {
  font-size: 1.5rem;
  color: var(--tf-blue-700);
  background: var(--tf-blue-100);
  padding: 0.5rem;
  border-radius: 0.625rem;
}
.tf-floating-card strong { display: block; color: var(--tf-blue-900); }
.tf-floating-card small  { color: var(--tf-muted); }
.tf-floating-card-1 { top: 1.5rem;   left: -1.5rem;  animation: tfFloat 6s ease-in-out infinite; }
.tf-floating-card-2 { bottom: 2rem;  right: -1.5rem; animation: tfFloat 6s ease-in-out infinite reverse; }
@media (max-width: 991px) {
  .tf-floating-card-1 { left: 0.5rem; }
  .tf-floating-card-2 { right: 0.5rem; }
}

/* ============ ABOUT ============ */
.tf-about { background: #fff; }
.tf-about-images {
  position: relative;
  padding: 1rem 1rem 3rem 0;
}
.tf-about-img-main { width: 100%; }
.tf-about-img-overlay {
  position: absolute;
  width: 60%;
  bottom: 0;
  right: 0;
  border: 0.5rem solid #fff;
}
.tf-about-experience {
  position: absolute;
  top: 1rem;
  left: -1rem;
  background: var(--tf-gradient);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--tf-shadow-md);
  text-align: center;
}
.tf-about-experience h3 { font-size: 2rem; font-weight: 800; margin: 0; }
.tf-about-experience p  { font-size: 0.85rem; margin: 0; opacity: 0.95; line-height: 1.2; }

.tf-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.tf-feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.tf-feature-list i {
  color: var(--tf-blue-700);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}
.tf-feature-list strong { display: block; color: var(--tf-blue-900); }
.tf-feature-list span   { color: var(--tf-muted); font-size: 0.95rem; }

.tf-vm-card {
  background: var(--tf-blue-50);
  padding: 1.5rem;
  border-radius: var(--tf-radius);
  border: 0.0625rem solid var(--tf-line);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tf-vm-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--tf-shadow-md);
}
.tf-vm-card i {
  font-size: 1.75rem;
  color: var(--tf-blue-700);
  background: #fff;
  padding: 0.625rem;
  border-radius: 0.75rem;
  box-shadow: var(--tf-shadow-sm);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.tf-vm-card h4 { font-weight: 700; color: var(--tf-blue-900); margin-bottom: 0.5rem; }
.tf-vm-card p  { color: var(--tf-muted); font-size: 0.95rem; margin: 0; }

/* ============ SERVICES ============ */
.tf-services {
  background:
    linear-gradient(180deg, #fff 0%, var(--tf-blue-50) 100%);
}
.tf-service-card {
  background: #fff;
  border: 0.0625rem solid var(--tf-line);
  border-radius: var(--tf-radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tf-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--tf-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.tf-service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--tf-shadow-lg);
  border-color: transparent;
}
.tf-service-card:hover::before { transform: scaleX(1); }
.tf-service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: var(--tf-blue-100);
  color: var(--tf-blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
  transition: all .35s ease;
}
.tf-service-card:hover .tf-service-icon {
  background: var(--tf-gradient);
  color: #fff;
  transform: rotate(-6deg);
}
.tf-service-card h4 {
  font-weight: 700;
  color: var(--tf-blue-900);
  margin-bottom: 0.75rem;
}
.tf-service-card p {
  color: var(--tf-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.tf-link {
  color: var(--tf-blue-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tf-link i { transition: transform .25s ease; }
.tf-link:hover { color: var(--tf-blue-900); }
.tf-link:hover i { transform: translateX(0.25rem); }

/* ============ PROCESS ============ */
.tf-process { background: #fff; }
.tf-process-card {
  background: #fff;
  border: 0.0625rem solid var(--tf-line);
  border-radius: var(--tf-radius-lg);
  padding: 2rem 1.75rem;
  text-align: left;
  height: 100%;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tf-process-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--tf-shadow-md);
}
.tf-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--tf-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  box-shadow: 0 0.625rem 1.25rem rgba(31,111,235,.25);
}
.tf-process-card h4 { color: var(--tf-blue-900); font-weight: 700; }
.tf-process-card p  { color: var(--tf-muted); font-size: 0.95rem; margin: 0; }

/* ============ TESTIMONIALS ============ */
.tf-testimonials {
  background: var(--tf-blue-50);
}
.tf-testimonial-card {
  background: #fff;
  border-radius: var(--tf-radius-lg);
  padding: 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: var(--tf-shadow-md);
}
.tf-quote {
  font-size: 3rem;
  color: var(--tf-blue-100);
  line-height: 1;
}
.tf-testimonial-card p {
  font-size: 1.125rem;
  color: var(--tf-ink);
  font-style: italic;
  margin: 1rem 0 1.5rem;
}
.tf-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.tf-testimonial-author img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.1875rem solid var(--tf-blue-100);
}
.tf-testimonial-author strong { display: block; color: var(--tf-blue-900); }
.tf-testimonial-author span   { color: var(--tf-muted); font-size: 0.875rem; }

.tf-carousel-indicators {
  position: relative;
  margin: 1.5rem 0 0;
  bottom: auto;
}
.tf-carousel-indicators button {
  width: 0.75rem !important;
  height: 0.75rem !important;
  border-radius: 50% !important;
  background: var(--tf-blue-100) !important;
  opacity: 1 !important;
  border: none !important;
  margin: 0 0.25rem !important;
}
.tf-carousel-indicators .active { background: var(--tf-blue-700) !important; }

.tf-carousel-ctrl {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff !important;
  color: var(--tf-blue-700) !important;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  box-shadow: var(--tf-shadow-sm);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tf-carousel-ctrl:hover { background: var(--tf-blue-700) !important; color: #fff !important; }
.carousel-control-prev.tf-carousel-ctrl { left: -0.5rem; }
.carousel-control-next.tf-carousel-ctrl { right: -0.5rem; }
@media (max-width: 576px) {
  .carousel-control-prev.tf-carousel-ctrl,
  .carousel-control-next.tf-carousel-ctrl { display: none; }
}

/* ============ CONTACT ============ */
.tf-contact { background: #fff; }
.tf-contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.tf-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.tf-contact-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--tf-blue-100);
  color: var(--tf-blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.tf-contact-list strong { display: block; color: var(--tf-blue-900); margin-bottom: 0.25rem; }
.tf-contact-list a { color: var(--tf-muted); }
.tf-contact-list a:hover { color: var(--tf-blue-700); }

.tf-contact-form {
  background: var(--tf-blue-50);
  padding: 2rem;
  border-radius: var(--tf-radius-lg);
  border: 0.0625rem solid var(--tf-line);
}
.tf-contact-form .form-label {
  font-weight: 600;
  color: var(--tf-blue-900);
  font-size: 0.9rem;
}
.tf-contact-form .form-control {
  border-radius: 0.625rem;
  border: 0.0625rem solid var(--tf-line);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tf-contact-form .form-control:focus {
  border-color: var(--tf-blue-500);
  box-shadow: 0 0 0 0.2rem rgba(31,111,235,.2);
}
.tf-form-status {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.25rem;
}
.tf-form-status.is-success { color: #0a7d3a; }
.tf-form-status.is-error   { color: #b00020; }

/* ============ FOOTER ============ */
.tf-footer {
  background: linear-gradient(180deg, #0a2a6b 0%, #061b48 100%);
  color: #cdd9ee;
  padding: 4rem 0 1.5rem;
  position: relative;
}
.tf-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}
.tf-footer-text { font-size: 0.95rem; line-height: 1.65; color: #cdd9ee; }
.tf-footer-links,
.tf-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tf-footer-links li { margin-bottom: 0.65rem; }
.tf-footer-links a {
  color: #cdd9ee;
  font-size: 0.95rem;
  transition: color .25s ease, padding .25s ease;
}
.tf-footer-links a:hover {
  color: #fff;
  padding-left: 0.375rem;
}
.tf-footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
.tf-footer-contact i {
  color: var(--tf-blue-400);
  margin-top: 0.2rem;
}
.tf-footer-contact a { color: #cdd9ee; }
.tf-footer-contact a:hover { color: #fff; }

.tf-socials { margin-top: 1rem; display: flex; gap: 0.625rem; }
.tf-socials a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.tf-socials a:hover {
  background: var(--tf-gradient);
  transform: translateY(-0.1875rem);
}

.tf-footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1rem;
}
.tf-footer-copy { font-size: 0.875rem; color: #9fb3d4; }
.tf-footer-mini { color: #cdd9ee; font-size: 0.875rem; }
.tf-footer-mini:hover { color: #fff; }
.tf-footer-sep { color: rgba(255,255,255,0.3); margin: 0 0.5rem; }

/* ============ BACK TO TOP ============ */
.tf-back-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--tf-gradient);
  color: #fff;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tf-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.625rem);
  transition: all .3s ease;
  z-index: 999;
}
.tf-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tf-back-top:hover { filter: brightness(1.08); transform: translateY(-0.1875rem); }

/* ============ MOBILE TWEAKS ============ */
@media (max-width: 991px) {
  .tf-hero { padding: 7rem 0 4rem; }
  .tf-navbar .navbar-collapse {
    background: #fff;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--tf-radius);
    box-shadow: var(--tf-shadow-sm);
  }
}
@media (max-width: 576px) {
  .tf-hero-stats { text-align: center; }
  .tf-floating-card { font-size: 0.8rem; min-width: 9rem; padding: 0.65rem 0.75rem; }
  .tf-floating-card i { font-size: 1.25rem; padding: 0.4rem; }
  .tf-testimonial-card { padding: 1.75rem 1.25rem; }
  .tf-contact-form { padding: 1.5rem; }
}

/* =====================================================
   TEKCOG-INSPIRED ANIMATIONS
   ===================================================== */

/* --- Rotating rings around hero visual --- */
.tf-hero-visual { isolation: isolate; }
.tf-hero-ring,
.tf-hero-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 0.0625rem dashed rgba(31, 111, 235, 0.35);
  pointer-events: none;
  z-index: 0;
}
.tf-hero-ring {
  width: 120%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-style: dashed;
  border-color: rgba(31, 111, 235, 0.28);
  animation: tfSpin 22s linear infinite;
}
.tf-hero-ring::before,
.tf-hero-ring::after {
  content: '';
  position: absolute;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--tf-gradient);
  border-radius: 50%;
  box-shadow: 0 0 1rem rgba(31, 111, 235, 0.55);
}
.tf-hero-ring::before { top: -0.3125rem; left: 50%; transform: translateX(-50%); }
.tf-hero-ring::after  { bottom: -0.3125rem; right: 25%; width: 0.4rem; height: 0.4rem; }
.tf-hero-ring-2 {
  width: 88%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border: 0.125rem solid transparent;
  border-top-color: rgba(31, 111, 235, 0.55);
  border-right-color: rgba(90, 166, 255, 0.35);
  animation: tfSpinRev 14s linear infinite;
}
.tf-hero-blob {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 42% 58% 63% 37% / 42% 38% 62% 58%;
  background: radial-gradient(circle at 30% 30%, rgba(31,111,235,0.35), rgba(90,166,255,0.15) 60%, transparent 75%);
  filter: blur(0.25rem);
  z-index: -1;
  animation: tfBlob 14s ease-in-out infinite;
}
.tf-hero-visual img { position: relative; z-index: 1; }
.tf-hero-visual .tf-floating-card { z-index: 2; }

@keyframes tfSpin    { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes tfSpinRev { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes tfBlob {
  0%, 100% { border-radius: 42% 58% 63% 37% / 42% 38% 62% 58%; transform: translate(0, 0) scale(1); }
  33%      { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: translate(-1rem, 0.75rem) scale(1.05); }
  66%      { border-radius: 35% 65% 55% 45% / 60% 35% 65% 40%; transform: translate(0.75rem, -0.5rem) scale(0.97); }
}

/* --- Gradient text shimmer (Tekcog-style sliding sheen) --- */
.tf-text-gradient {
  background: linear-gradient(
    90deg,
    var(--tf-blue-700) 0%,
    var(--tf-blue-500) 35%,
    var(--tf-blue-400) 50%,
    var(--tf-blue-500) 65%,
    var(--tf-blue-700) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: tfShimmer 6s ease-in-out infinite;
}
@keyframes tfShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* --- Eyebrow fade-pulse --- */
.tf-eyebrow {
  position: relative;
  overflow: hidden;
}
.tf-eyebrow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: tfSweep 4.5s ease-in-out infinite;
}
@keyframes tfSweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* --- Primary button shine sweep --- */
.tf-btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tf-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left .7s ease;
  z-index: 1;
  pointer-events: none;
}
.tf-btn-primary:hover::after { left: 130%; }

/* --- Brand mark gentle bob --- */
.tf-brand-mark { animation: tfBob 4s ease-in-out infinite; }
@keyframes tfBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-0.1875rem) rotate(-3deg); }
}

/* --- Service card 3D tilt + glow --- */
.tf-service-card {
  transform-style: preserve-3d;
  transform: perspective(60rem)
             rotateX(var(--tf-tilt-x, 0deg))
             rotateY(var(--tf-tilt-y, 0deg))
             translateY(var(--tf-tilt-lift, 0));
  transition: transform .25s ease, box-shadow .35s ease, border-color .35s ease;
}
.tf-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    18rem circle at var(--tf-mx, 50%) var(--tf-my, 0%),
    rgba(31, 111, 235, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.tf-service-card:hover {
  --tf-tilt-lift: -0.5rem;
}
.tf-service-card:hover::after { opacity: 1; }
.tf-service-card .tf-service-icon { transform: translateZ(0.5rem); }

/* --- Process card numbered ring pulse --- */
.tf-process-step {
  position: relative;
}
.tf-process-step::before {
  content: '';
  position: absolute;
  inset: -0.375rem;
  border-radius: 50%;
  border: 0.125rem solid rgba(31, 111, 235, 0.35);
  animation: tfPulseRing 2.4s ease-out infinite;
}
@keyframes tfPulseRing {
  0%   { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.4);  opacity: 0; }
}

/* --- About experience badge subtle float --- */
.tf-about-experience { animation: tfFloat 6s ease-in-out infinite; }

/* --- Vision/Mission card icon spin on hover --- */
.tf-vm-card i { transition: transform .5s ease; }
.tf-vm-card:hover i { transform: rotate(8deg) scale(1.08); }

/* --- Testimonial card lift on slide-in --- */
.tf-testimonial-card {
  transition: transform .5s ease, box-shadow .5s ease;
}
.carousel-item.active .tf-testimonial-card {
  animation: tfRise 0.7s ease both;
}
@keyframes tfRise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Section underline reveal on titles --- */
.tf-section-title { position: relative; display: inline-block; }
.tf-section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 0.1875rem;
  margin-top: 0.75rem;
  background: var(--tf-gradient);
  border-radius: 999px;
  transform-origin: left;
  animation: tfBarGrow 1.2s 0.2s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes tfBarGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* --- Counter (numbers tick up) — purely visual placeholder --- */
.tf-counter { display: inline-block; min-width: 1ch; }

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  .tf-hero-ring,
  .tf-hero-ring-2,
  .tf-hero-blob,
  .tf-text-gradient,
  .tf-eyebrow::after,
  .tf-brand-mark,
  .tf-process-step::before,
  .tf-about-experience,
  .tf-float,
  .tf-floating-card-1,
  .tf-floating-card-2,
  .tf-section-title::after {
    animation: none !important;
  }
  .tf-service-card { transform: none !important; }
}

/* =====================================================
   ADD-ONS � Clients section, Careers page
   ===================================================== */

/* --- Force solid navbar on inner pages --- */
.tf-navbar.is-solid {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--tf-shadow-sm);
  border-bottom-color: var(--tf-line);
}

/* ============ OUR CLIENTS ============ */
.tf-clients {
  background: var(--tf-gradient-soft);
}
.tf-clients-grid .tf-client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 7rem;
  padding: 1rem;
  background: var(--tf-white);
  border: 0.0625rem solid var(--tf-line);
  border-radius: var(--tf-radius);
  color: var(--tf-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.tf-clients-grid .tf-client-logo i {
  font-size: 2rem;
  color: var(--tf-blue-700);
  transition: transform .4s ease;
}
.tf-clients-grid .tf-client-logo:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--tf-shadow-md);
  border-color: var(--tf-blue-100);
  color: var(--tf-blue-900);
}
.tf-clients-grid .tf-client-logo:hover i {
  transform: scale(1.15) rotate(-4deg);
}
.tf-clients-stats h3 {
  font-weight: 800;
  font-size: 2.5rem;
  background: var(--tf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}
.tf-clients-stats p {
  color: var(--tf-muted);
  font-weight: 500;
  margin: 0;
}

/* ============ INNER PAGE HERO ============ */
.tf-page-hero {
  position: relative;
  padding: 11rem 0 5rem;
  background: var(--tf-gradient-soft);
  overflow: hidden;
  isolation: isolate;
}
.tf-page-hero .tf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(31,111,235,0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(90,166,255,0.18), transparent 55%);
}
.tf-page-title {
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--tf-blue-900);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.tf-page-sub {
  color: var(--tf-muted);
  font-size: 1.1rem;
  max-width: 44rem;
}
.tf-breadcrumb {
  background: transparent;
  margin: 1.25rem 0 0;
  font-weight: 500;
}
.tf-breadcrumb .breadcrumb-item a {
  color: var(--tf-blue-700);
}
.tf-breadcrumb .breadcrumb-item.active {
  color: var(--tf-muted);
}
.tf-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--tf-muted);
}

/* ============ WHY JOIN / PERK CARDS ============ */
.tf-perk-card {
  background: var(--tf-white);
  border: 0.0625rem solid var(--tf-line);
  border-radius: var(--tf-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tf-perk-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  background: var(--tf-blue-50);
  color: var(--tf-blue-700);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.tf-perk-card h4 {
  font-weight: 700;
  color: var(--tf-blue-900);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.tf-perk-card p {
  color: var(--tf-muted);
  margin: 0;
}
.tf-perk-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--tf-shadow-md);
  border-color: var(--tf-blue-100);
}
.tf-perk-card:hover i {
  background: var(--tf-gradient);
  color: #fff;
  transform: scale(1.05) rotate(-4deg);
}

/* ============ OPEN POSITIONS ============ */
.tf-jobs {
  background: var(--tf-white);
}
.tf-job-card {
  background: var(--tf-white);
  border: 0.0625rem solid var(--tf-line);
  border-radius: var(--tf-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.tf-job-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--tf-shadow-md);
  border-color: var(--tf-blue-100);
}
.tf-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.tf-job-head h4 {
  font-weight: 700;
  color: var(--tf-blue-900);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.tf-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--tf-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.tf-job-meta i {
  color: var(--tf-blue-700);
  margin-right: 0.25rem;
}
.tf-job-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--tf-blue-50);
  color: var(--tf-blue-700);
  white-space: nowrap;
}
.tf-job-card p {
  color: var(--tf-muted);
  margin: 0 0 1rem;
  flex: 1;
}

/* ============ APPLY ============ */
.tf-apply {
  background: var(--tf-gradient-soft);
}