/* ---------- Navbar (mirrors widgets/nav_bar.dart) ---------- */
/* ---------- Top Bar Navigation ---------- */

.navbar {
  box-sizing: border-box;
  position: fixed;
  width: 100%;
  max-width: 1440px;
  height: 70px;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
  background: #ffffff;
  border-bottom: 1px solid #AAAAAA;
  z-index: 1000;
}

/* Logo */
.navbar .nav-logo {
  position: absolute;
  width: auto;
  height: 80px;
  left: 70px;
  top: calc(50% - 40px);
  object-fit: contain;
}

/* Links Container */
.navbar .nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 40px;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(50% - 24px / 2);
}

/* Link Styling */
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  position: relative;
  text-decoration: none;
}

.nav-link .ts-nav-link {
  font-family: 'Manrope', 'Work Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #000000;
  white-space: nowrap;
}

/* Underline Animation */
.nav-link .underline {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #000000;
  transition: width 0.2s ease-out;
}

.nav-link:hover .underline,
.nav-link.active .underline {
  width: 100%;
}

/* Contact Us Button */
.navbar .nav-contact-pill {
  position: absolute;
  width: 146px;
  height: 42px;
  right: 110px;
  top: calc(50% - 42px / 2);

  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease-out;
}

.navbar .nav-contact-pill:hover {
  transform: scale(1.045);
}

.navbar .nav-contact-pill .ts-button-label {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 42px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  white-space: nowrap;
}

/* ---------- Responsive Compact Navigation ---------- */

.navbar-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}

@media (max-width: 479px) {
  .navbar-compact {
    padding: 16px 20px;
  }
}

.navbar-compact .nav-logo {
  width: 128px;
  height: 43px;
  position: static;
}

.nav-menu-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-menu-btn svg {
  width: 28px;
  height: 28px;
}

.nav-menu-dropdown {
  position: absolute;
  right: 16px;
  top: 64px;
  z-index: 50;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  padding: 8px 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
}

.nav-menu-dropdown.open {
  display: flex;
}

.nav-menu-dropdown button {
  text-align: left;
  padding: 10px 20px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #000000;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-menu-dropdown button:hover {
  background: #f4f4f4;
}

/* ---------- Soft Glow / Decorative Elements ---------- */

.soft-glow,
.blob-cluster {
  position: absolute;
  pointer-events: none;
}

.soft-glow,
.blob-cluster span {
  border-radius: 50%;
}

/* ---------- Hover spotlight + lift (mirrors widgets/hover_spotlight.dart) ---------- */
.hover-lift {
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0);
}
.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: radial-gradient(
    circle at var(--sx, 50%) var(--sy, 50%),
    var(--spot-color, rgba(70, 176, 188, 0.28)) 0%,
    transparent 65%
  );
}
.hover-lift:hover .spotlight {
  opacity: 1;
}

/* ---------- Stat cards (mirrors sections/stats_cards_section.dart) ---------- */
.stat-card {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.stat-card-compact {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 24px;
}
.stat-card-compact img.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------- Service cards (mirrors sections/what_we_do_section.dart) ---------- */
.service-card {
  position: relative;
  width: 411px;
  height: 436px;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(180deg, #dbdbdb, var(--c-outline-teal-light));
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card .inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 49px;
  overflow: visible;
}
.service-card .spotlight {
  border-radius: 49px;
  overflow: hidden;
}
.service-card .number {
  position: absolute;
  top: 44px;
  opacity: 0.45;
}
.service-card .icon {
  position: absolute;
}
.service-card .title {
  position: absolute;
}

.service-card-compact {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(180deg, #dbdbdb, var(--c-outline-teal-light));
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card-compact .inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 31px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 24px;
}
.service-card-compact .content {
  position: relative;
  z-index: 1;
}
.service-card-compact img.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

/* ---------- Form fields (mirrors sections/contact_section.dart) ---------- */
.field-label {
  display: block;
}

.text-input {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--c-form-border);
  padding: 14px 17px;
  display: flex;
  align-items: center;
  outline: none;
  font: inherit;
}

.phone-input,
.ts-phone-wrapper {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--c-form-border);
  height: 50px;
  display: flex;
  align-items: center;
}
.phone-input .country,
.ts-phone-wrapper .country {
  padding: 0 10px;
  height: 100%;
  border: none;
  border-right: 1px solid var(--c-form-border);
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.phone-input .number,
.ts-phone-wrapper .number {
  padding-left: 17px;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
}

.message-box {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--c-form-border);
  padding: 17px;
  outline: none;
  font: inherit;
}

.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--c-near-black);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease;
}
.send-btn:hover {
  opacity: 0.85;
}

/* ---------- Toast Notification ---------- */
.ts-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  border-left: 4px solid #10b981;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 380px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ts-toast-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ts-toast-icon {
  font-size: 20px;
}

.ts-toast-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.ts-toast-message {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

/* ---------- Footer (mirrors sections/footer_section.dart) ---------- */
.footer {
  background: var(--c-footer-bg);
}
.footer-link-list li {
  margin-bottom: 10px;
}

/* ---------- Careers: filter pills, job listings, core value cards ---------- */
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--c-contact-detail-dark);
  background: #fff;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
}
.filter-pill.selected {
  background: var(--c-contact-detail-dark);
  border-color: var(--c-contact-detail-dark);
}
.filter-pill.selected .ts-careers-filter-label {
  color: #fff;
}

.job-listing {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0 40px;
  border-bottom: 1px solid var(--c-form-border);
}
.job-listing:first-child {
  border-top: 1px solid var(--c-form-border);
}
.job-listing .apply {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.job-tag img {
  width: 16px;
  height: 16px;
}

.core-value-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--c-careers-accent-teal);
  overflow: hidden;
}
.core-value-card .content {
  position: relative;
  z-index: 1;
}
.core-value-card img.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.hiring-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid var(--c-contact-detail-dark);
}

/* Offsets scroll-to-target position so the fixed navbar doesn't cover the
   "We're hiring!" badge when "View open Positions" is tapped. */
#jobs {
  scroll-margin-top: 100px;
}

/* ---------- Timeline (mirrors sections/our_story_section.dart) ---------- */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.22s ease;
}
.timeline-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-black);
}
.timeline-dot.on {
  transform: scale(1);
  opacity: 1;
}

.timeline-item {
  opacity: 0;
  transform: translateX(6%);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.4s ease;
}
.timeline-item.on {
  opacity: 1;
  transform: translateX(0);
}

.timeline-line {
  position: absolute;
  left: 88px;
  width: 1px;
  background: rgba(0, 0, 0, 0.2);
  height: 0;
  transition: height 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* intl-tel-input: make the wrapper fill the available width */
.iti {
  width: 100%;
}

/* ---------- Form field validation ---------- */
.field-error {
  color: #dc2626;
  font-size: 13px;
  line-height: 1.3;
  margin-top: 6px;
}
input.invalid,
textarea.invalid,
select.invalid {
  border-color: #dc2626;
}
