/* Final UI-priority overrides: loaded after theme styles */

body {
  line-height: 1.4 !important;
}


/* Restore hero section to full height and right edge */
.herosectionContainer {
  width: 100% !important;
}

.hero-image-container {
  width: 100% !important;
  position: relative !important;
  right: 0 !important;
  margin-right: 0 !important;
}

.hero-image-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}


/* Set border radius to 0px for wg-cta alert elements */
.wg-cta.tf-spacing-2.alert.alert-dismissible.fade.show {
  border-radius: 0px !important;
}
.wg-cta.tf-spacing-2.alert.alert-dismissible.fade.show.mb-0 {margin-bottom: 0px !important;}

/* Prevent horizontal scrolling globally */
/* html, body global overflow rules intentionally omitted */

/* Key Services: modern cards, themed accents */
.key-services .ks-header .title {
  letter-spacing: 0.2px;
}

.key-services .ks-accent {
  display: inline-block;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(0, 179, 255, 0.6));
  box-shadow: 0 6px 18px rgba(0, 179, 255, 0.25);
}

.key-services .title {
  font-weight: 800;
  background: linear-gradient(90deg, #e6f7ff 0%, #aee6ff 35%, #8af7d0 65%, #e6f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.key-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 1199.98px) {
  .key-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .key-services-grid {
    grid-template-columns: 1fr;
  }
}

.key-service-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  will-change: transform;
  min-height: 96px;
  height: 100%;
}

.key-service-card:hover {
  transform: translateY(5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.key-service-card:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 179, 255, 0.35), 0 14px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(0, 179, 255, 0.4);
}

.key-service-card .item-content .body-2 {
  display: inline-block;
  color: #fff;
  line-height: 1.5;
}

/* Enforce same height and consistent text lines */
.key-service-card .ks-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Add a soft check icon before text for scannability */
/* removed check-dot before text per request */

.key-services .ks-badge {
  position: static;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #00d68f, #00b3ff);
  box-shadow: 0 8px 20px rgba(0, 179, 255, 0.38);
}

.key-service-card .item-content {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/* Section-specific layout: stack number above text */
.wg-service-details .details-content-2 .list-features .features-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wg-service-details .details-content-2 .list-features .features-item .ks-badge {
  margin-right: 0;
  margin-bottom: 12px;
  align-self: flex-start;
}

.key-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(240px 80px at 0% 0%, rgba(0, 179, 255, 0.06), rgba(0, 179, 255, 0));
  pointer-events: none;
  opacity: 0.35;
}

.key-service-card:hover::after {
  opacity: 0.6;
}

/* Subtle entrance reveal for cards */
.key-service-card {
  transform: translateY(10px);
  opacity: 0.98;
}

.key-service-card:nth-child(1) { transition-delay: 20ms; }
.key-service-card:nth-child(2) { transition-delay: 40ms; }
.key-service-card:nth-child(3) { transition-delay: 60ms; }
.key-service-card:nth-child(4) { transition-delay: 80ms; }
.key-service-card:nth-child(5) { transition-delay: 100ms; }
.key-service-card:nth-child(6) { transition-delay: 120ms; }
.key-service-card:nth-child(7) { transition-delay: 140ms; }
.key-service-card:nth-child(8) { transition-delay: 160ms; }
.key-service-card:nth-child(9) { transition-delay: 180ms; }
.key-service-card:nth-child(10) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .key-service-card,
  .key-service-card:hover,
  .key-service-card::after,
  .key-service-card:focus-within {
    transition: none !important;
  }
}

/* Spacing simplification per request: control only tf-container width */
.tf-container {
  max-width: calc(100% - 120px);
  margin-left: auto;
  margin-right: auto;
}

/* Gutters and containers */
.container,
.tf-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.herosectionContainer .top-page-title .title {
  font-size: 60px !important;
}


/* Mobile and tablet overrides - placed after main rules for higher specificity */

/* Section rhythm */
.tf-spacing-1 {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}

.tf-spacing-2,
.tf-spacing-3,
.tf-spacing-4,
.tf-spacing-5,
.tf-spacing-6,
.tf-spacing-7,
.tf-spacing-8,
.tf-spacing-9,
.tf-spacing-10,
.tf-spacing-11,
.tf-spacing-12 {
  margin-top: 0 !important;
  margin-bottom: 80px !important;
}

/* Laptop heading balance */
@media (min-width: 992px) and (max-width: 1399.98px) {

  h1,
  .h1 {
    font-size: 44px !important;
  }

  h2,
  .h2 {
    font-size: 32px !important;
  }

  h3,
  .h3 {
    font-size: 26px !important;
  }
}

@media (max-width: 1199.98px) {
  .tf-spacing-1 {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
  }

  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-4,
  .tf-spacing-5,
  .tf-spacing-6,
  .tf-spacing-7,
  .tf-spacing-8,
  .tf-spacing-9,
  .tf-spacing-10,
  .tf-spacing-11,
  .tf-spacing-12 {
    margin-top: 0 !important;
    margin-bottom: 80px !important;
  }
}

@media (max-width: 767.98px) {
  .tf-spacing-1 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-4,
  .tf-spacing-5,
  .tf-spacing-6,
  .tf-spacing-7,
  .tf-spacing-8,
  .tf-spacing-9,
  .tf-spacing-10,
  .tf-spacing-11,
  .tf-spacing-12 {
    margin-top: 0 !important;
    margin-bottom: 44px !important;
  }

  .herosectionContainer .top-page-title .title {
    font-size: 48px !important;
  }
}

/* Slightly tighter spacing for larger laptops */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .tf-spacing-1 {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
  }

  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-4,
  .tf-spacing-5,
  .tf-spacing-6,
  .tf-spacing-7,
  .tf-spacing-8,
  .tf-spacing-9,
  .tf-spacing-10,
  .tf-spacing-11,
  .tf-spacing-12 {
    margin-top: 0 !important;
    margin-bottom: 80px !important;
  }
}

/* Page titles */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .page-title .page-title-content {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }
}


/* Mega menu active states */
.main-menu .mega-menu .list-unstyled li.current-menu-item>a {
  color: var(--primary) !important;
}

.main-menu .mega-menu .list-unstyled li>a:hover {
  color: var(--primary) !important;
}

/* Mobile mega menu active state */
.mobile-mega li.current-menu-item>a {
  color: var(--primary) !important;
}


/* Mobile offcanvas: ensure full-height and scrollable content without overlap */
.mobile-nav-wrap {
  --offcanvas-bg: #0b0f19;
}

.mobile-nav-wrap.offcanvas {
  width: 85vw;
  max-width: 575px;
  background-color: var(--offcanvas-bg);
  display: flex;
  flex-direction: column;
}

.mobile-nav-wrap .inner-mobile-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-nav-wrap .mobile-main-nav {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 64px);
  /* below sticky top header inside offcanvas */
}

.mobile-main-nav .menu {
  margin: 0;
  padding: 0 16px 24px 16px;
}

/* Accordion polish for mobile mega */
.mobile-mega {
  overflow: hidden;
}

.mobile-mega.open {
  padding-top: 8px;
  padding-bottom: 8px;
}

.mobile-mega.collapsed {
  padding-top: 0;
  padding-bottom: 0;
}

/* Enhanced Accordion Animations */
.according-item .collapse {
  overflow: hidden;
  opacity: 0;
}

.according-item .collapse.show {
  opacity: 1;
}

.according-item .title-according span {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.according-item .title-according.collapsed span {
  transform: rotate(0deg);
}

.according-item .title-according:not(.collapsed) span {
  transform: rotate(180deg);
}

.according-item .title-according {
  transition: all 0.2s ease-in-out;
  position: relative;
}

.according-item .according-content {
  transition: opacity 0.5s ease-out 0.15s, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
  /* transform: translateY(-10px); */
}

.according-item .collapse.show .according-content {
  opacity: 1;
  /* transform: translateY(0); */
}

.according-item .collapse:not(.show) .according-content {
  opacity: 0;
  /* transform: translateY(-10px); */
}

/* Smooth accordion item transitions */
.according-item {
  /* transition: box-shadow 0.2s ease-in-out; */
}

.according-item:hover {
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}
.resize-none {
  resize: none !important;
}

.mobile-mega .mobile-mega-col+.mobile-mega-col {
  margin-top: 10px;
}

/* Journey section animations and polish */
.journey-card {
  position: relative;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1),
    opacity 600ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
  transition-delay: calc(var(--stagger-index, 0) * 60ms);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: saturate(120%) blur(0px);
}

.journey-card.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.journey-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.journey-year {
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.journey-year::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.is-visible .journey-year::after {
  transform: scaleX(1);
}

@keyframes pulseYear {
  0% {
    text-shadow: 0 0 0 rgba(0, 214, 143, 0);
  }

  50% {
    text-shadow: 0 0 12px rgba(0, 214, 143, 0.5);
  }

  100% {
    text-shadow: 0 0 0 rgba(0, 214, 143, 0);
  }
}

.is-visible .journey-year {
  animation: pulseYear 1200ms ease 1;
}

/* Animated connector under the journey heading */
.section-about .heading-section {
  position: relative;
}

.section-about .heading-section::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 255, 255, 0));
  transition: width 900ms cubic-bezier(.2, .8, .2, 1);
}

.section-about .heading-section.in-view::after {
  width: 100%;
}

/* Career modal look & feel */
.modal-career {
  background-color: #0b1620;
  /* keep dark */
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.modal-career .modal-header {
  padding: 16px 24px 24px 24px;
}

.modal-career .modal-body {
  padding: 16px 24px 24px 24px;
}

.modal-career .modal-body {
  padding: 24px 32px 32px 32px;
}

.modal-career h3 {
  color: #ffffff;
}

.modal-career h5 {
  color: #ffffff;
}

.modal-career .meta-line {
  color: rgba(255, 255, 255, 0.9);
}

.modal-career .meta-label {
  color: rgba(255, 255, 255, 0.7);
}

.modal-career .meta-value {
  color: #ffffff;
}

/* Align contact form inside modal */
.modal-career .form-contact-us.style-bg-dark-2 {
  background-color: #0f1a23;
  /* dark card */
  border-radius: 12px;
}

.modal-career .form-contact-us input,
.modal-career .form-contact-us textarea {
  min-height: 54px;
  /* taller inputs */
  font-size: 16px !important; /* Prevent zoom on iOS */
  -webkit-text-size-adjust: 100% !important;
}

/* Ensure contact form textarea scrolls when content exceeds max height */
.form-contact-us textarea {
  height: auto !important; /* override fixed height from base styles */
  min-height: 125px;       /* keep initial visual height */
  max-height: 280px;       /* cap growth to avoid overly tall forms */
  overflow-y: auto;        /* show vertical scrollbar when needed */
}

/* Utility: disable manual resizing when applied */
.resize-none {
  resize: none !important;
}

.modal-career .heading-form .title {
  color: #ffffff;
}

/* Sticky header inside modal */
.modal-career-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #0b1620;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 24px 32px 32px 32px;
  /* extra bottom padding to match content spacing */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-career-title {
  flex: 1 1 auto;
}

.modal-career .modal-header {
  display: flex;
  align-items: start;
  gap: 16px;
}

/* Ensure close button is always visible on mobile */
.modal-career-header .btn-close {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

/* Mobile-specific close button sizing */
@media (max-width: 767.98px) {
  .modal-career-header .btn-close {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    font-size: 1.2rem;
  }
  
  .modal-career-header {
    padding: 16px 20px 20px 20px;
  }
  
  .modal-career-title {
    padding-right: 8px;
  }
}

/* Prevent zoom on mobile when focusing inputs in modal */
.modal-career input,
.modal-career textarea,
.modal-career select {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100% !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 8px !important;
}

/* Ensure all form controls in modal have consistent sizing */
.modal-career .form-control,
.modal-career .form-select {
  font-size: 16px !important;
  min-height: 48px !important;
  padding: 12px 16px !important;
}

/* Specific styling for file inputs */
.modal-career input[type="file"] {
  font-size: 16px !important;
  min-height: 48px !important;
  padding: 8px 12px !important;
}

/* Dark scrollbar styling scoped to modal (covers dialog/content/body) */
.modal-career,
.modal-career .modal-dialog,
.modal-career .modal-content,
.modal-career .modal-body {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.08);
  /* thumb track */
}

.modal-career::-webkit-scrollbar,
.modal-career .modal-dialog::-webkit-scrollbar,
.modal-career .modal-content::-webkit-scrollbar,
.modal-career .modal-body::-webkit-scrollbar {
  width: 10px;
}

.modal-career::-webkit-scrollbar-track,
.modal-career .modal-dialog::-webkit-scrollbar-track,
.modal-career .modal-content::-webkit-scrollbar-track,
.modal-career .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.modal-career::-webkit-scrollbar-thumb,
.modal-career .modal-dialog::-webkit-scrollbar-thumb,
.modal-career .modal-content::-webkit-scrollbar-thumb,
.modal-career .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  border: 2px solid rgba(11, 22, 32, 0.9);
}

.modal-career::-webkit-scrollbar-thumb:hover,
.modal-career .modal-dialog::-webkit-scrollbar-thumb:hover,
.modal-career .modal-content::-webkit-scrollbar-thumb:hover,
.modal-career .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.42);
}

/* Links that are placeholders (javascript:void(0)) should show a normal cursor */
a[href='javascript:void(0)'],
a[href^='javascript:void(0)'],
a[href='javascript:;'] {
  cursor: default !important;
}

/* Bullet list styling inside modal */
.modal-career ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.modal-career ul li {
  margin-bottom: 6px;
  list-style-type: disc;
}

.modal-career ul li::marker {
  color: var(--primary);
}

/* Resume upload UI */
.resume-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  flex-wrap: wrap;
}

.resume-upload.is-drag-over {
  border-color: var(--primary);
  background: rgba(0, 214, 143, 0.08);
}

.resume-upload .resume-file {
  flex: 1 1 auto;
  min-width: 0;
}

.resume-upload .resume-file-name {
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resume-upload .resume-help {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 4px;
}

.resume-upload .resume-actions {
  display: flex;
  gap: 8px;
}

.tf-btn.small {
  padding: 10px 16px;
}

.tf-btn.small span {
  font-size: 14px;
}

.resume-error {
  color: #ff9090;
  font-size: 13px;
  margin-top: 8px;
}

/* Progress and success states */
.resume-progress {
  position: relative;
  margin-top: 10px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.resume-progress.uploading {
  animation: progressGlow 1200ms ease-in-out infinite alternate;
}

.resume-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #00b3ff);
  border-radius: 999px;
  transition: width 200ms ease;
}

.resume-success {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.resume-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes progressGlow {
  from {
    box-shadow: 0 0 0 rgba(0, 214, 143, 0);
  }

  to {
    box-shadow: 0 0 14px rgba(0, 214, 143, 0.35);
  }
}

/* Disable pointer events on rotating circle masks so they don't intercept clicks */
.mask,
.mask.mask-1,
.section-services .mask,
.section-testimonial .mask,
.section-blog .mask,
.section-counting .mask,
.section-team .mask,
.footer .mask {
  pointer-events: none !important;
}

/* Equalize description height in Popular Services slider for image alignment */
.section-services .sw-services .services-item.style-1 .desc.lh-30 {
  min-height: 60px;
  /* 2 lines at 30px line-height */
}

/* Team images: maintain aspect ratio, avoid stretching, uniform crop */
.section-team .team-item .image {
  height: auto !important;
  aspect-ratio: 1 / 1;
  /* square avatar cards */
}

.section-team .team-item .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  /* fill without distortion */
}

/* Larger pagination dots (global) for better touch targets */
.sw-pagination .swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
  margin-right: 18px !important;
  left: 0px !important;
}

.sw-pagination .swiper-pagination-bullet::after {
  border-width: 2px !important;
  border-radius: 50% !important;
}

.sw-pagination .swiper-pagination-bullet:last-child {
  margin-right: 0 !important;
}

.offcanvas-backdrop.show {
  opacity: 0.8 !important;
}

/* ----------------------------------------------
   Launch overlay experience
------------------------------------------------ */
.launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(0, 179, 255, 0.18), rgba(0, 0, 0, 0)),
    radial-gradient(1000px 700px at 10% 110%, rgba(0, 214, 143, 0.16), rgba(0, 0, 0, 0)),
    #070b12f2;
  /* translucent dark */
  backdrop-filter: saturate(120%) blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: launchFadeIn 400ms ease forwards;
}

.launch-overlay.is-exiting {
  animation: launchFadeOut 500ms ease forwards;
}

.launch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.launch-content {
  position: relative;
  text-align: center;
  max-width: 920px;
  padding: 24px;
  color: #fff;
}

.launch-badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d68f, #00b3ff);
  box-shadow: 0 6px 18px rgba(0, 214, 143, 0.35);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.launch-title {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.launch-sub {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px 0;
}

.launch-cta {
  margin-top: 8px;
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.launch-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 179, 255, 0.26);
}

.launch-skip {
  display: inline-block;
  margin-top: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  cursor: pointer;
}

@keyframes launchFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes launchFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-overlay {
    animation-duration: 1ms !important;
  }
}

/* ----------------------------------------------
   Dedicated Launch Page styles
------------------------------------------------ */
.launch-page {
  position: relative;
  overflow: clip;
}

.launch-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.launch-inner {
  min-height: calc(100vh - 0px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.launch-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  z-index: -1;
}

.launch-orb.orb-1 {
  width: 520px;
  height: 520px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 214, 143, .35), rgba(0, 214, 143, 0));
  animation: orbFloat1 12s ease-in-out infinite;
}

.launch-orb.orb-2 {
  width: 620px;
  height: 620px;
  right: -160px;
  bottom: -120px;
  background: radial-gradient(circle at 70% 70%, rgba(0, 179, 255, .35), rgba(0, 179, 255, 0));
  animation: orbFloat2 14s ease-in-out infinite;
}

.launch-card {
  text-align: center;
  color: #fff;
  padding: 32px 28px;
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(130%);
  animation: cardFloat 4200ms ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  max-width: 1100px;
}

.launch-card .launch-title {
  font-size: clamp(36px, 6.6vw, 72px);
  font-weight: 800;
  margin: 10px 0 12px;
  line-height: 1.05;
}

.launch-card .launch-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2.6vw, 22px);
  margin-bottom: 20px;
}

.launch-card .launch-actions {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Exit transition when launching */
.launch-page.is-exiting .launch-card {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.launch-highlights {
  position: relative;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hi-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.hi-title {
  color: #fff;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

.hi-text {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.launch-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d68f, #00b3ff);
  box-shadow: 0 8px 22px rgba(0, 214, 143, 0.38);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.launch-secondary {
  background: transparent !important;
}

.launch-logo {
  width: clamp(300px, 38vw, 520px);
  height: auto;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.48));
}

.launch-title-gradient {
  background: linear-gradient(90deg, #e6f7ff 0%, #aee6ff 35%, #8af7d0 65%, #e6f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: titleSheen 3.2s ease-in-out infinite;
}

.typewriter .caret {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  margin-left: 3px;
  background: rgba(255, 255, 255, .85);
  vertical-align: text-bottom;
  animation: caretBlink 1s steps(1) infinite;
}

@keyframes cardFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes caretBlink {

  0%,
  49% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -10px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-14px, 10px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes titleSheen {
  0% {
    background-position: 200% 0;
  }

  50% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

/* -------------------------------------------------
   Launch button: larger, animated, interactive
-------------------------------------------------- */
.launch-cta {
  padding: 20px 36px !important;
  border-radius: 16px !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 14px 32px rgba(0, 179, 255, 0.28), 0 6px 14px rgba(0, 214, 143, 0.18);
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.launch-cta span {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.launch-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(0, 179, 255, 0.36), 0 12px 24px rgba(0, 214, 143, 0.26);
  filter: brightness(1.05) saturate(1.05);
  color: #ffffff !important;
}

.launch-cta:hover span {
  color: #ffffff !important;
}

.launch-cta:focus-visible span {
  color: #ffffff !important;
}

.launch-cta:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 10px 24px rgba(0, 179, 255, 0.26);
}

.launch-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 179, 255, 0.35), 0 10px 24px rgba(0, 179, 255, 0.26);
}

/* sheen sweep */
.launch-cta::before {
  content: '';
  position: absolute;
  inset: -100% -30%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-60%);
  animation: ctaSheen 2.6s ease-in-out infinite;
  pointer-events: none;
}

/* soft pulsating outer glow */
.launch-cta::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(0, 179, 255, 0.22), rgba(0, 179, 255, 0));
  filter: blur(14px);
  opacity: 0.0;
  animation: ctaPulse 2200ms ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaSheen {
  0% {
    transform: translateX(-60%) rotate(0.001deg);
  }

  50% {
    transform: translateX(60%) rotate(0.001deg);
  }

  100% {
    transform: translateX(160%) rotate(0.001deg);
  }
}

@keyframes ctaPulse {

  0%,
  100% {
    opacity: 0.0;
  }

  50% {
    opacity: 0.35;
  }
}

.page-title-home .herosectionContainer .desc {
  padding-bottom: 20px !important;
  margin-bottom: 20px !important;
}



/* Team slider pagination - center alignment and hide on large screens when not needed */
.sw-pagination-team {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  transform: none !important;
}

.sw-pagination-team .swiper-pagination-bullet {
  transform: none !important;
}


/* Stop rotation on decorative circle masks globally */
.mask,
.mask.mask-1,
.mask.mask-2,
.section-services .mask,
.section-testimonial .mask,
.section-blog .mask,
.section-counting .mask,
.section-team .mask,
.footer .mask,
.page-title-home .mask {
  animation: none !important;
}

/* Show full circle in hero without clipping */
.page-title-home {
  overflow-x: hidden !important;
}

/* Fix horizontal scrolling issues with decorative circles */
.section-about {
  overflow-x: clip !important;
}

/* Fix wg-curve-text SVG circle positioning and responsive issues */
.wg-curve-text {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 270px;
  margin: 0 auto;
}

.wg-curve-text .text-rotate {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wg-curve-text .text-rotate svg {
  width: 100%;
  height: 100%;
  max-width: 270px;
  max-height: 270px;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Safari-only override for curve text sizing */
@supports (font: -apple-system-body) {
  .wg-curve-text .text-rotate {
    width: 90%;
    height: 90%;
    position: relative;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .wg-curve-text {
    max-width: 200px;
  }
  
}

@media (max-width: 480px) {
  .wg-curve-text {
    /* max-width: 200px; */
  }

}

/* Ensure testimonial section doesn't cause horizontal scroll */
.section-testimonial {
  overflow-x: clip !important;
}

.section-testimonial .mask {
  max-width: 100vw;
  overflow: hidden;
}

.section-testimonial .mask svg {
  max-width: 100%;
  height: auto;
}

/* Fix services section rounded circles */
.section-services .services-item .icon {
  max-width: 140px;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

/* Ensure all sections with decorative elements don't overflow */
.section-counting,
.section-services,
.section-blog,
.section-team,
.section-pricing {
  overflow-x: clip !important;
}

/* Gentle floating animation for hero masks (no rotation) */
@keyframes maskFloatSoftY {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes maskFloatSoftXY {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(10px, -10px, 0);
  }

  50% {
    transform: translate3d(0, -16px, 0);
  }

  75% {
    transform: translate3d(-10px, -10px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Re-enable floating on hero circles with higher specificity */
.page-title-home .mask.mask-home-1,
.page-title-home .mask.mask-home-2 {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Ensure the page-title-home container allows full circle visibility */
.page-title-home {
  overflow: visible !important;
  /* Allow circles to extend beyond container */
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
}

/* Ensure hero section touches header bottom with no gap */
.page-title-home.hero-fullscreen {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative !important;
  top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Force hero section to start exactly at header bottom */
.page-title-home {
  margin-top: 40px !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Aggressive gap elimination - force hero to touch header */
.page-title-home.hero-fullscreen {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Target any parent containers that might add spacing */
.flex-grow-1 .page-title-home.hero-fullscreen,
main .page-title-home.hero-fullscreen,
div .page-title-home.hero-fullscreen {
  margin: 0 !important;
  padding-bottom: 80px !important;
  margin-top: 0 !important;
  padding-top: 40px !important;
}

.page-title-home .mask.mask-home-1 {
  animation: maskFloatSoftXY 14s cubic-bezier(.22, .61, .36, 1) infinite !important;
  animation-delay: 0.3s;
  /* Ensure circle is always fully visible - much more conservative positioning */
  right: -50px !important;
  /* Much more conservative to ensure full circle visibility */
  top: 20% !important;
  /* Position higher up in the hero section */
  /* Reduce visibility to avoid content conflict */
  opacity: 0.3 !important;
  /* Reduced opacity for subtle background effect */
}

.page-title-home .mask.mask-home-2 {
  animation: maskFloatSoftY 12s cubic-bezier(.22, .61, .36, 1) infinite alternate !important;
  /* Ensure circle is always fully visible - much more conservative positioning */
  left: -5% !important;
  /* Much more conservative to ensure full circle visibility */
  bottom: 15% !important;
  /* Position lower in the hero section */
  top: auto !important;
  /* Override any existing top positioning */
  /* Reduce visibility to avoid content conflict */
  opacity: 0.25 !important;
  /* Slightly lower opacity for subtle background effect */
}

/* Responsive adjustments to ensure circles are always fully visible */
@media (max-width: 1200px) {
  .page-title-home .mask.mask-home-1 {
    right: -25px !important;
    /* Conservative adjustment for smaller screens */
    top: 25% !important;
    /* Adjust vertical position for smaller screens */
    opacity: 0.25 !important;
    /* Further reduce opacity on smaller screens */
  }

  .page-title-home .mask.mask-home-2 {
    left: -3% !important;
    /* Conservative adjustment for smaller screens */
    bottom: 20% !important;
    /* Adjust vertical position for smaller screens */
    opacity: 0.2 !important;
    /* Further reduce opacity on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-title-home .mask.mask-home-1 {
    right: -10px !important;
    /* Very conservative mobile adjustment */
    top: 30% !important;
    /* Adjust vertical position for mobile */
    opacity: 0.2 !important;
    /* Even lower opacity on mobile */
  }

  .page-title-home .mask.mask-home-2 {
    left: -2% !important;
    /* Very conservative mobile adjustment */
    bottom: 25% !important;
    /* Adjust vertical position for mobile */
    opacity: 0.15 !important;
    /* Even lower opacity on mobile */
  }
}

@media (max-width: 480px) {
  .page-title-home .mask.mask-home-1 {
    right: 0px !important;
    /* No negative positioning on small screens */
    top: 35% !important;
    /* Adjust vertical position for small mobile */
    opacity: 0.15 !important;
    /* Very low opacity on small mobile */
  }

  .page-title-home .mask.mask-home-2 {
    left: 0% !important;
    /* No negative positioning on small screens */
    bottom: 30% !important;
    /* Adjust vertical position for small mobile */
    opacity: 0.1 !important;
    /* Very low opacity on small mobile */
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  .page-title-home .mask.mask-home-1,
  .page-title-home .mask.mask-home-2 {
    animation: none !important;
  }
}


/* Contact Form Styling Improvements */

/* Calculation fields - standardize input box height and padding */
.calculation-fields input {
  height: 48px !important;
  padding: 5px !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  text-align: center !important;
  font-size: 16px !important;
}

.calculation-fields input:focus {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 214, 143, 0.2) !important;
}

/* Remove number input arrows (spinners) */
.calculation-fields input[type="number"] {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.calculation-fields input[type="number"]::-webkit-outer-spin-button,
.calculation-fields input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Align and space the math captcha row nicely */
.calculation-fields {
  align-items: center !important;
  gap: 8px !important;
}

/* Make inline math symbols compact and vertically centered */
.calculation-fields .check_label {
  padding: 0 !important;
  line-height: 1 !important;
}

/* Check label styling - proper spacing and black text */
.check_label {
  color: #000000 !important;
  margin: 0 0px 0px 0px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Mobile-friendly layout for the math captcha */
@media (max-width: 576px) {
  .calculation-fields {
    justify-content: center !important;
    gap: 6px !important;
  }

  .calculation-fields .check_label {
    margin: 0 4px !important;
    font-size: 18px !important;
  }

  /* Neutralize grid paddings inside flex row */
  .calculation-fields>[class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Fixed, touch-friendly widths */
  .calculation-fields>.col-3 {
    width: 56px !important;
  }

  .calculation-fields>.col-5 {
    width: 90px !important;
  }

  .calculation-fields input {
    height: 44px !important;
    font-size: 16px !important;
  }
  .page-title-home {
    margin-top: 30px !important;
}
}

@media (max-width: 380px) {
  .calculation-fields>.col-3 {
    width: 52px !important;
  }

  .calculation-fields>.col-5 {
    width: 82px !important;
  }
}

/* Traditional Checkbox styling */
.check_label input[type="checkbox"] {
  width: 24px !important;
  padding: 1px !important;
  height: 24px !important;
  border: none !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  position: relative !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.check_label input[type="checkbox"]:hover {
  background-color: rgba(0, 214, 143, 0.1) !important;
}

.check_label input[type="checkbox"]:checked {
  background-color: var(--primary) !important;
}

.check_label input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 7px !important;
  height: 12px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: translate(-50%, -60%) rotate(45deg) !important;
}

.check_label input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.3) !important;
}

.check_label input[type="checkbox"]:active {
  transform: scale(0.95) !important;
}

/* Improved label text styling */
.check_label span {
  color: #000000 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  margin-left: 8px !important;
  font-size: 14px;
}


/* Partners section: 10 logos - 80s duration */
.tf-marquee {position: relative !important; overflow: hidden !important;}
.tf-marquee .marquee-wrapper {display: flex !important; width: max-content !important; will-change: transform !important; flex-wrap: nowrap !important;}
.tf-marquee .marquee-wrapper .initial-child-container {display: flex !important; align-items: center !important; gap: 0 !important; flex-wrap: nowrap !important;}
.tf-marquee .marquee-wrapper.partners-marquee-wrapper {animation: infiniteScroll 80s linear infinite !important;}
.tf-marquee .marquee-wrapper.logos-marquee-wrapper {animation: infiniteScroll 400s linear infinite !important;}
.tf-marquee .marquee-wrapper.clients-marquee-wrapper.logos-marquee-wrapper {animation: infiniteScroll 400s linear infinite !important;}

/* Clients section: 7 logos - 56s duration (80s * 7/10) */
.tf-marquee .marquee-wrapper.clients-marquee-wrapper {animation: infiniteScroll 56s linear infinite !important;}

.tf-marquee .marquee-wrapper.work-culture-marquee {animation: infiniteScroll 400s linear infinite !important;}

/* Seamless marquee keyframes: shift by half width when content duplicated twice */
@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Partners & Clients logos: consistent box and non-stretched images */
.logos-marquee-wrapper .big-text {padding-left: 10px !important; padding-right: 10px !important;}

.logos-marquee-wrapper .image {width: 190px !important; height: 110px !important; display: flex !important; align-items: center !important; justify-content: center !important; background-color: #ffffff !important; border-radius: 14px !important; overflow: hidden !important; border: 1px solid rgba(0,0,0,0.06) !important;}

/* Next/Image wrapper span inside .image */
.logos-marquee-wrapper .image > span {
  position: static !important; /* avoid absolute fill spacing */
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Actual img element (covers both native <img> and Next/Image output) */
.logos-marquee-wrapper .image img,
.logos-marquee-wrapper .image > span > img {
  width: auto !important;            /* ignore inline width */
  height: auto !important;           /* ignore inline height */
  max-width: 90% !important;         /* breathing room inside box */
  max-height: 80% !important;        /* ensure max height constraint */
  object-fit: contain !important;    /* never stretch */
  object-position: center !important;/* always centered */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Slightly smaller boxes on small screens */
@media (max-width: 576px) {
  .logos-marquee-wrapper .image {
    width: 150px !important;
    height: 90px !important;
    border-radius: 12px !important;
  }

  .logos-marquee-wrapper .image img,
  .logos-marquee-wrapper .image > span > img {
    max-width: 90% !important;
    max-height: 80% !important;
  }
}

/* Mobile responsive fixes for decorative circles */
@media (max-width: 768px) {

  /* Hide or resize decorative circles on mobile to prevent horizontal scroll */
  /* rule intentionally left empty to override theme without effect */

  /* rule intentionally left empty to override theme without effect */

  /* Ensure testimonial mask doesn't overflow on mobile */
  .section-testimonial .mask svg {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  /* Adjust services icons for mobile */
  .section-services .services-item .icon {
    max-width: 120px;
    width: 120px;
    height: 120px;
  }

  .section-services .services-item .icon img {
    max-width: 80px;
  }

  /* Increase marquee speed for mobile devices */
  .tf-marquee .marquee-wrapper {
    animation-duration: 1200s !important;
    /* Faster than default 420s */
  }

  /* Partners section: 10 logos - 80s duration */
  .tf-marquee .marquee-wrapper.partners-marquee-wrapper {
    animation: infiniteScroll 80s linear infinite !important;
  }

  /* Clients section: 7 logos - 56s duration (80s * 7/10) */
  .tf-marquee .marquee-wrapper.clients-marquee-wrapper {
    animation: infiniteScroll 56s linear infinite !important;
  }

  .tf-marquee .marquee-wrapper.logos-marquee-wrapper {animation: infiniteScroll 400s linear infinite !important;}
.tf-marquee .marquee-wrapper.clients-marquee-wrapper.logos-marquee-wrapper {animation: infiniteScroll 400s linear infinite !important;}
  .testimonial-item .text.fs-27 {
    font-size: 16px !important;
    line-height: 24px !important;
}
.modal-career .modal-body {
  padding: 16px;
}
.modal-career .form-contact-us input, .modal-career .form-contact-us textarea {
  min-height: 48px;
  height: 48px;
  padding: 12px 16px !important;
  border-radius: 8px;
  font-size: 14px;
}
.modal-career ul li {
  font-size: 14px;
  line-height: 22px;
}
}

@media (max-width: 480px) {

  /* Further reduce sizes on very small screens */
  /* rule intentionally left empty to override theme without effect */

  /* rule intentionally left empty to override theme without effect */

  .section-services .services-item .icon {
    max-width: 100px;
    width: 100px;
    height: 100px;
  }

  .section-services .services-item .icon img {
    max-width: 60px;
  }
}

/* Portfolio Details Next/Previous Thumbnail Styling */
.next-prev-item .image {
  display: inline-block;
  margin-top: 0px;
}

.next-prev-item.next-details .image {
  text-align: right;
}

.next-prev-item.prev-details .image {
  text-align: left;
}

.next-prev-item .image img {
  border: 2px solid #f0f0f0;
  transition: border-color 0.3s ease;
}

.next-prev-item .image:hover img {
  border-color: var(--primary, #007bff);
}

/* Horizontal Layout for Next/Previous Content */
.prev-content-wrapper,
.next-content-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.prev-text-content,
.next-text-content {
  flex: none;
}

.prev-image-content,
.next-image-content {
  flex-shrink: 0;
}

/* For Previous item: text on left, image on right */
.prev-content-wrapper {
  flex-direction: row;
}

/* For Next item: image on left, text on right */
.next-content-wrapper {
  flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 576px) {

  .prev-content-wrapper,
  .next-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .next-content-wrapper {
    flex-direction: column;
    align-items: flex-end;
  }

  .herosectionContainer .top-page-title .title {
    font-size: 30px !important;
  }

  .page-title-home {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-testimonial .list-image {
    justify-content: center !important;
  }
}

.mask,
.mask svg circle {
  pointer-events: none !important;
  animation: none !important;
  transform: none !important;
}

/* Blend circular masks with background to remove cut lines */
.mask svg circle {
  filter: blur(0.4px) !important;
  opacity: 0.7 !important;
}

/* Smooth gradient transitions for mask circles */
.mask svg defs linearGradient stop:first-child {
  stop-opacity: 0.08 !important;
}

.mask svg defs linearGradient stop:last-child {
  stop-opacity: 0.02 !important;
}

/* Additional blending for better integration */
.mask {
  mix-blend-mode: normal !important;
  opacity: 0.8 !important;
}

/* Accordion section image: auto-size to intrinsic image (no forced height) */
.accordion-section-image {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Keep right-side image height stable in accordion section to avoid jerk */
.section-company .section-company-inner {
  align-items: flex-start !important; /* prevent equal-height stretching */
}

.right-section .accordion-section-image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important; /* do not stretch with sibling */
}

.right-section .accordion-section-image img,
.right-section .accordion-section-image picture,
.right-section .accordion-section-image > span, /* next/image wrapper */
.right-section .accordion-section-image > span > img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important; /* prevent overflow on small screens */
  object-fit: contain !important; /* maintain ratio, no cropping */
  object-position: center center !important; /* center within box */
  background-color: transparent !important; /* avoid visible background */
  display: block !important;
}

/* Responsive: maintain aspect ratio without forcing height */
@media (max-width: 575.98px) {
  .section-services .swiper-slide .services-item {text-align: center;}
}

/* Typing Animation Styles */
.typing-cursor {
  display: inline-block;
  animation: typing-cursor-blink 1s infinite;
  font-weight: 300;
  color: inherit;
  vertical-align: baseline;
}

@keyframes typing-cursor-blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Enhanced typing animation for hero text */
.hero-typing-text {
  position: relative;
  display: inline-block;
  min-height: 2.8em;
  line-height: 1.4em;
  overflow: hidden;
  word-wrap: break-word;
  white-space: pre-wrap;
  width: 100%;
  text-align: left;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 600;
  /* Force exactly two lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 2.8em; /* 2 lines * 1.4em line-height */
  overflow-wrap: anywhere;
}

.hero-typing-text .typing-cursor {
  color: #00C5DE;
  /* Theme blue color */
  font-weight: 400;
  margin-left: 2px;
  font-size: inherit;
  line-height: inherit;
  animation: typing-cursor-blink 1s infinite;
}

/* Smooth typing animation effect */
.hero-typing-text {
  animation: typing-fade-in 0.3s ease-in-out;
}

@keyframes typing-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Prevent layout shift during typing */
.hero-typing-text::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.2em;
  vertical-align: top;
}

/* Responsive font sizes and two-line layout for hero typing text */
@media (min-width: 1920px) {
  .hero-typing-text {
    font-size: 5rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 78%;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-typing-text {
    font-size: 4rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 80%;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-typing-text {
    font-size: 3.2rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 82%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hero-typing-text {
    font-size: 6rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 84%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-typing-text {
    font-size: 4rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 86%;
  }
}

@media (max-width: 1200px) {
.flex-grow-1 .page-title-home.hero-fullscreen, main .page-title-home.hero-fullscreen, div .page-title-home.hero-fullscreen {
  padding-bottom: 0px !important;
}
}

@media (max-width: 767px) {
  .hero-typing-text {
    font-size: 3rem;
    min-height: 2.8em;
    line-height: 1.4em;
    letter-spacing: -0.01em;
    max-width: 88%;
  }

  .wg-tab.style-2 ul {
    gap: 24px;
  }
  .wg-tab.style-2 ul li a {
    font-size: 16px;
}
.rg-70 {
  row-gap: 50px !important;
}
  .hero-typing-text .typing-cursor {
    margin-left: 1px;
  }
  .big-text {
    font-size: 60px;
}
.project-item.project-gird-item .item-content .title-project {
  margin-bottom: 20px !important;
}
}

@media (max-width: 480px) {
  .hero-typing-text {
    font-size: 2.5rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 90%;
  }
}

@media (max-width: 360px) {
  .hero-typing-text {
    font-size: 2.2rem;
    min-height: 2.8em;
    line-height: 1.4em;
    max-width: 94%;
  }
}

/* Ensure the title container doesn't cause layout shifts */
.title.hero-typing-text {
  min-height: 2.8em;
  display: block;
}

/* Force two-line layout for hero typing text */
.hero-typing-text {
  word-spacing: 0.1em;
  max-width: 100%;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Specific line break control for the hero text */
.hero-typing-text::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Ensure consistent two-line layout across all screen sizes with reduced word spacing */
@media (min-width: 1920px) {
  .hero-typing-text {
    word-spacing: 0.15em;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-typing-text {
    word-spacing: 0.12em;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-typing-text {
    word-spacing: 0.1em;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hero-typing-text {
    word-spacing: 0.08em;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-typing-text {
    word-spacing: 0.06em;
  }
}

@media (max-width: 767px) {
  .hero-typing-text {
    word-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  .hero-typing-text {
    word-spacing: 0.03em;
  }
}

/* Additional stability for the typing animation container */
.hero-typing-text {
  contain: layout style;
  /* CSS containment for better performance */
}

 

/* Force two-line layout by controlling container width */
.hero-typing-text {
  margin: 0 auto;
  text-align: left;
}

/* Ensure proper spacing and alignment for hero typing text */
.page-title-home .herosectionContainer .top-page-title h2.hero-typing-text {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

/* Override any conflicting styles for the hero typing text */
.hero-typing-text.title {
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Enhanced typing animation features */
.typing-word-highlight {
  background: linear-gradient(90deg, rgba(0, 197, 222, 0.1) 0%, rgba(0, 197, 222, 0.05) 100%);
  border-radius: 4px;
  padding: 2px 4px;
  margin: 0 1px;
  animation: word-highlight 0.3s ease-in-out;
  transition: all 0.2s ease;
}

@keyframes word-highlight {
  0% {
    background: rgba(0, 197, 222, 0.2);
    transform: scale(1.02);
  }

  100% {
    background: rgba(0, 197, 222, 0.1);
    transform: scale(1);
  }
}

/* Enhanced cursor with typing effect */
.typing-cursor {
  color: #00C5DE;
  font-weight: 400;
  margin-left: 2px;
  font-size: inherit;
  line-height: inherit;
  animation: enhanced-cursor-blink 1s infinite, cursor-pulse 2s infinite;
  position: relative;
}

@keyframes enhanced-cursor-blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0.3;
  }
}

@keyframes cursor-pulse {

  0%,
  100% {
    text-shadow: 0 0 5px rgba(0, 197, 222, 0.5);
  }

  50% {
    text-shadow: 0 0 10px rgba(0, 197, 222, 0.8), 0 0 15px rgba(0, 197, 222, 0.3);
  }
}

/* Character-by-character fade-in effect */
.hero-typing-text {
  animation: typing-fade-in 0.3s ease-in-out;
}

/* Smooth text reveal animation */
@keyframes typing-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced typing container with subtle glow */
.hero-typing-text {
  position: relative;
}

.hero-typing-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 197, 222, 0.03) 50%, transparent 100%);
  pointer-events: none;
  animation: typing-glow 3s ease-in-out infinite;
}

@keyframes typing-glow {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* Typing sound effect simulation with visual feedback */
.hero-typing-text {
  position: relative;
}

.hero-typing-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, transparent, #00C5DE, transparent);
  transform: translateY(-50%);
  animation: typing-sound-wave 0.1s ease-out;
  opacity: 0;
}

@keyframes typing-sound-wave {
  0% {
    height: 0;
    opacity: 0;
  }

  50% {
    height: 20px;
    opacity: 0.6;
  }

  100% {
    height: 0;
    opacity: 0;
  }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .typing-word-highlight {
    padding: 1px 2px;
    margin: 0 0.5px;
  }

  .typing-cursor {
    margin-left: 1px;
  }

  .hero-typing-text::after {
    animation-duration: 4s;
    /* Slower glow on mobile */
  }
}

/* Performance optimization for animations */
@media (prefers-reduced-motion: reduce) {

  .typing-cursor,
  .typing-word-highlight,
  .hero-typing-text::after,
  .hero-typing-text::before {
    animation: none;
  }

  .typing-cursor {
    opacity: 1;
  }
}

@media (min-width: 1921px) {
  .tf-container {
    max-width: 1650px !important;
  }
  .top-bar .top-bar-inner {
    max-width: 1650px;
    margin: 0 auto;
  }
  .header .header-content {
    max-width: 1680px;
    margin: 0 auto;
  }
}


@media (min-width: 768px) {
  .section-company .section-company-inner .left-section {
    min-width: 575px;
  }

  .big-text {
    font-size: 100px;
  }
}


@media (max-width: 1366px) {
  .header .logo-header>a {
    max-width: 230px;
  }

  .menu-primary-menu {
    gap: 14px;
  }


  .services-item.no-img {
    padding: 24px;
  }

  .custom-services-wrapper .services-item-force {
    width: 50% !important;
    max-width: 50% !important;
  }

  .counter-item .number-counter.fs-65 {
    font-size: 36px;
  }

  .herosectionContainer .top-page-title .title {
    font-size: 48px !important;
  }

  .section-form .section-form-content {
    padding: 24px;
  }

  .page-title-home .herosectionContainer .top-page-title {
    padding-top: 0px !important;
  }
  .wg-according .according-item {margin-bottom: 16px;}
  .according-item .title-according {font-size: 14px;padding-bottom: 10px;}
  .according-item .according-content .desc {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 18px;
}
}


@media (max-width: 1281px) {
  .herosectionContainer .top-page-title .title {
    font-size: 36px !important;
  }

  .page-title-home .content-left {
    padding-top: 12px !important;
  }

  .page-title-home .desc {
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }

  /* No min-height for accordion images on large tablets */
  .accordion-section-image {
    min-height: 0 !important;
  }

  .services-item {
    padding: 24px;
  }

  .page-title-home .herosectionContainer .desc {
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }

  .flex-grow-1 .page-title-home.hero-fullscreen,
  main .page-title-home.hero-fullscreen,
  div .page-title-home.hero-fullscreen {
    padding-bottom: 50px !important;
  }

  .section-about .about-top {
    margin-bottom: 40px;
}


}

@media (min-width: 1200px) {
  .sw-pagination-team {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .sw-pagination .swiper-pagination-bullet {
    width: 18px !important;
    height: 18px !important;
    margin-right: 20px !important;
  }
  h1 {
    font-size: 30px;
    line-height: 38px;
  }
  h2 {
    font-size: 22px;
    line-height: 30px;
  }
  h3 {
    font-size: 20px;
    line-height: 26px;
  }
  h4 {
    font-size: 18px;
    line-height: 24px;
  }
  .section-counting .right {
    padding-top: 40px;
    padding-bottom: 10px;
}
#applyReactModal .modal-dialog {
  max-width: calc(100% - 32px);
  margin: 0px auto;
}

}


@media (max-width: 550px) {
  .section-services .sw-services .services-item.style-1 .desc.lh-30 {
    min-height: 60px;
  }
  h1 {
    font-size: 24px;
    line-height: 30px;
}

.flex-grow-1 .page-title-home.hero-fullscreen, main .page-title-home.hero-fullscreen, div .page-title-home.hero-fullscreen {
  padding-bottom: 5px !important;
}
}

/* About section full width below 1024px */
@media (max-width: 1023px) {
  .section-about .about-inner.flex.g-30 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: column !important;
  }

  .section-about .about-inner .right {
    max-width: 100% !important;
    width: 100%;
}
}
@media (max-width: 484px) {
.mask,
.mask.mask-1,
.section-services .mask,
.section-testimonial .mask,
.section-blog .mask,
.section-counting .mask,
.section-team .mask,
.footer .mask {
display: none !important;
}
}

/* Enforce max 2-line clamp with ellipsis for hero typing text */
.hero-typing-text {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

/* Remove line/height limits for hero typing text below 1200px */
@media (max-width: 1199px) {
  .hero-typing-text,
  .page-title-home .herosectionContainer .top-page-title h2.hero-typing-text,
  .title.hero-typing-text {
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-height: none !important;
    min-height: 0 !important;
    white-space: normal !important;
  }

  .hero-typing-text::before,
  .hero-typing-text::after {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }
}

.form-control.is-invalid {background-image: none !important;}

.form-contact-us .text-danger {font-size: 12px !important;}
.galleryModal button {border: 0 !important;box-shadow: none !important;outline: none !important;overflow: hidden !important;}