/* ==========================================================================
   Translation Service Page Styles - Honey Translations
   Brand Colors:
   - Primary Deep Sky Blue: var(--sky)
   - Secondary Sky Blue: var(--aqua)
   - Pale Sky Blue: var(--sky-tint)
   - Light Border: var(--aqua-tint) / var(--border)
   - Slate Dark Headings: var(--ink)
   - Slate Body Text: var(--ink)
   - Muted Slate: var(--muted)
   - Page Light Tint: var(--pale-sky)
   - Pure White: #FFFFFF
   - WhatsApp Green: #25D366 (Hover: #1EBE5D)
   - Error Red: #EF4444
   ========================================================================== */

.translation-page-main {
  width: 100%;
  background-color: var(--pale-sky);
  font-family: var(--font-sans, 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--ink);
  overflow-x: hidden;
}

/* Common Container */
.translation-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(16px, 3vw, 28px);
  box-sizing: border-box;
}

/* Category Pill Badge */
.translation-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;
  background-color: var(--sky-tint);
  color: var(--link);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ==========================================================================
   BANNER / HEADER AREA
   ========================================================================== */
.translation-banner-section {
  padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, var(--pale-sky) 0%, #FFFFFF 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.translation-main-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.translation-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.translation-breadcrumb a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.translation-breadcrumb a:hover {
  color: var(--link);
  text-decoration: underline;
}

.translation-breadcrumb .separator {
  color: var(--muted);
}

/* ==========================================================================
   MAIN TWO-COLUMN SECTION (Left ~55%, Right ~45%)
   ========================================================================== */
.translation-layout-section {
  padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 8vw, 96px);
  background-color: var(--pale-sky);
}

.translation-layout-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN (CONTENT)
   ========================================================================== */
.translation-content-col {
  display: flex;
  flex-direction: column;
}

.translation-h1 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.1rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: var(--link);
  line-height: 1.25;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.translation-h2 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.translation-subheading {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--link);
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.translation-p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 20px 0;
  max-width: 75ch;
}

/* Buttons Row */
.translation-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Primary "Call Us" Button */
.btn-call-us {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: var(--link);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px var(--border);
  box-sizing: border-box;
}

.btn-call-us:hover {
  background-color: var(--link);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-call-us:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

/* Secondary / WhatsApp Button */
.btn-whatsapp-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  box-sizing: border-box;
}

.btn-whatsapp-chat:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-chat:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 2px;
}

.translation-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ==========================================================================
   RIGHT COLUMN (STICKY FORM CARD)
   ========================================================================== */
.translation-form-col {
  position: sticky;
  top: 100px; /* Sticky while scrolling past the long text content */
}

.translation-form-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(224, 242, 254, 0.9);
  box-shadow: 0 12px 36px var(--shadow), 0 2px 8px var(--shadow);
  padding: 22px 22px 18px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.translation-form-card:hover {
  box-shadow: 0 18px 42px var(--border), 0 4px 12px var(--shadow);
  border-color: rgba(56, 189, 248, 0.5);
}

.form-card-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.form-card-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 22px 0;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 11px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.required-star {
  color: #EF4444;
  font-weight: 700;
  margin-left: 3px;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--ink);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px var(--border);
}

.form-input.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 72px;
  height: 72px;
  line-height: 1.45;
}

.form-field-error {
  display: block;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 3px;
  min-height: 0;
  line-height: 1.25;
}

.btn-form-submit {
  width: 100%;
  padding: 11px 20px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  box-sizing: border-box;
}

.btn-form-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-form-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.btn-form-submit:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: formSpin 0.7s linear infinite;
}

@keyframes formSpin {
  to { transform: rotate(360deg); }
}

/* Status Alert Message */
.form-status-alert {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
  text-align: center;
}

.form-status-alert.is-success {
  display: block;
  background-color: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #15803D;
  font-weight: 600;
}

.form-status-alert.is-error {
  display: block;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-weight: 600;
}

/* ==========================================================================
   SECTION 2: INTRO (CENTERED) & SECTION 3: EXPERTS (CENTERED)
   ========================================================================== */
.translation-center-section {
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.translation-bg-white {
  background-color: #FFFFFF;
}

.translation-bg-tint {
  background-color: var(--pale-sky);
}

.translation-center-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.translation-section-h2 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--link);
  line-height: 1.3;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.translation-section-p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.translation-section-p + .translation-section-p {
  margin-top: 16px;
}

/* ==========================================================================
   SECTION 4: WHAT MAKES US PROFESSIONAL (HEADING + CARDS)
   ========================================================================== */
.translation-features-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
}

.translation-features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.translation-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 36px);
  align-items: start; /* Each card sized to its own text content; do not stretch */
}

.features-column {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

/* Feature Card (Sized to its own content) */
.feature-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--aqua-tint);
  box-shadow: 0 6px 20px var(--shadow), 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: clamp(26px, 3.5vw, 34px);
  position: relative;
  overflow: hidden;
  height: auto;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Brand Accent Top Line on Hover */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua) 0%, var(--sky) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--border), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-color: var(--aqua);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background-color: var(--sky-tint);
  color: var(--link);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-card-icon-box {
  background-color: var(--link);
  color: #FFFFFF;
}

.feature-card-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.22rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.feature-card-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   POPUP MODAL (ACCESSIBLE SUCCESS WINDOW)
   ========================================================================== */
.ts-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ts-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ts-modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--aqua-tint);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2), 0 4px 12px var(--border);
  padding: 38px 32px 30px;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.ts-modal-overlay.is-open .ts-modal-box {
  transform: scale(1);
}

.ts-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ts-modal-close:hover,
.ts-modal-close:focus-visible {
  color: var(--link);
  background-color: var(--sky-tint);
  outline: none;
}

.ts-modal-message {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 0;
  line-height: 1.5;
}

/* ==========================================================================
   SECTION B: IMAGE + OUR TRANSLATION SERVICES
   ========================================================================== */
.translation-services-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--border);
}

.translation-services-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.services-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--border), 0 4px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--aqua-tint);
}

.services-showcase-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.services-image-frame:hover .services-showcase-img {
  transform: scale(1.02);
}

.services-col-content .translation-section-h2 {
  text-align: left;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.services-items-list {
  display: flex;
  flex-direction: column;
}

.service-numbered-item {
  display: flex;
  gap: clamp(16px, 2.5vw, 24px);
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.service-numbered-item:first-child {
  padding-top: 0;
}

.service-numbered-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-item-num {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--link);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.service-item-body {
  flex: 1;
}

.service-item-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.service-item-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   SECTION 4 (PROOFREADING): IMAGE + HEADING (TWO COLUMNS)
   ========================================================================== */
.proofreading-showcase-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--border);
}

.proofreading-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center; /* Vertically centered next to image */
}

.proofreading-heading-col {
  display: flex;
  align-items: center;
}

.proofreading-showcase-h2 {
  text-align: left;
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.3;
}

/* ==========================================================================
   SECTION C: AVALIABLE TRANSLATION LANGUAGE SERVICES (AUTO-SLIDING MARQUEE)
   ========================================================================== */
.translation-marquee-section {
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.translation-marquee-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.marqu-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
}

/* Gradient fade masks on left and right edges */
.marqu-box::before,
.marqu-box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(30px, 6vw, 80px);
  z-index: 3;
  pointer-events: none;
}

.marqu-box::before {
  left: 0;
  background: linear-gradient(to right, var(--pale-sky), rgba(248, 250, 252, 0));
}

.marqu-box::after {
  right: 0;
  background: linear-gradient(to left, var(--pale-sky), rgba(248, 250, 252, 0));
}

.marqu-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  gap: 16px;
  margin-bottom: 16px;
}

.marqu-row:last-child {
  margin-bottom: 0;
}

.marqu-track {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  will-change: transform;
}

.marqu-row-left .marqu-track {
  animation: marqueeScrollLeft 38s linear infinite;
}

.marqu-row-right .marqu-track {
  animation: marqueeScrollRight 38s linear infinite;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 16px));
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(calc(-100% - 16px));
  }
  100% {
    transform: translateX(0);
  }
}

.marqu-box:hover .marqu-track,
.marqu-row:hover .marqu-track {
  animation-play-state: paused;
}

.marq-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #FFFFFF;
  border: 1px solid var(--aqua-tint);
  border-radius: 9999px; /* pill/chip */
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.marq-item:hover {
  background-color: var(--link);
  color: #FFFFFF;
  border-color: var(--link);
  box-shadow: 0 6px 18px var(--border);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION E: TRANSLATION SERVICES AT YOUR OWN CITY
   ========================================================================== */
.translation-cities-section {
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--border);
}

.translation-cities-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.translation-cities-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: clamp(12px, 1.8vw, 20px);
  row-gap: 12px;
  text-align: left;
}

.city-item {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: default;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-item:hover {
  color: var(--link);
  transform: translateX(3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  .translation-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .translation-form-col {
    position: static;
  }

  .translation-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .translation-services-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .proofreading-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proofreading-showcase-h2 {
    text-align: center;
  }

  .services-col-content .translation-section-h2 {
    text-align: center;
  }

  .translation-cities-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 14px;
    row-gap: 10px;
  }
}

@media (max-width: 576px) {
  .translation-btn-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-call-us,
  .btn-whatsapp-chat {
    width: 100%;
    text-align: center;
  }

  .translation-form-card {
    padding: 20px 16px;
  }

  .translation-h2 {
    font-size: 1.65rem;
  }

  .translation-section-h2 {
    font-size: 1.6rem;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .translation-cities-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 8px;
  }

  .service-numbered-item {
    gap: 14px;
    padding: 14px 0;
  }

  .service-item-num {
    font-size: 1.85rem;
    min-width: 40px;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .marqu-row {
    overflow-x: auto;
  }
  .marqu-track {
    animation: none !important;
  }
  .marqu-row .marqu-track[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   OPTIONAL SCROLL ANIMATION RESPECTING REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .translation-fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .translation-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   LOCALIZATION SERVICE SPECIFIC STYLES
   ========================================================================== */

/* Sub-heading H3 for text sections */
.translation-section-h3 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 32px 0 14px 0;
}

/* Section 3 & 6 Cards: Content-fitted, clean, rounded, soft shadow, hover lift */
.loc-cards-grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 26px);
  align-items: flex-start;
  margin-top: 36px;
}

.loc-cards-grid-4 > .loc-card {
  flex: 0 0 calc(25% - (clamp(18px, 2.5vw, 26px) * 3 / 4));
  box-sizing: border-box;
}

.loc-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 26px);
  align-items: start;
  margin-top: 36px;
}

.loc-cards-grid-3-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 26px);
  align-items: flex-start;
  margin-top: 36px;
}

.loc-cards-grid-3-center > .loc-card {
  flex: 0 0 calc(33.333% - (clamp(18px, 2.5vw, 26px) * 2 / 3));
  box-sizing: border-box;
}

.loc-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 26px);
  align-items: start;
  margin-top: 36px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.loc-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--aqua-tint);
  box-shadow: 0 6px 20px var(--shadow), 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: clamp(22px, 3vw, 28px);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: auto; /* Fit content */
}

.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--border), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-color: var(--aqua);
}

.loc-card-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.loc-card-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* Section 7: Benefits Grid with Sticky Image */
.loc-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.loc-sticky-image-wrap {
  position: sticky;
  top: 100px;
}

/* Section 8: Process Grid & Brand Bullets */
.loc-process-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.loc-process-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-process-item {
  position: relative;
  padding-left: 28px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}

.loc-process-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--link);
  box-shadow: 0 0 0 3px var(--sky-tint);
}

/* Responsive Overrides for Localization Elements */
@media (max-width: 991px) {
  .loc-cards-grid-4 > .loc-card {
    flex: 0 0 calc(50% - (clamp(18px, 2.5vw, 26px) / 2));
  }

  .loc-cards-grid-3-center > .loc-card {
    flex: 0 0 calc(50% - (clamp(18px, 2.5vw, 26px) / 2));
  }

  .loc-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .loc-benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .loc-sticky-image-wrap {
    position: static;
  }

  .loc-process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .loc-cards-grid-4 > .loc-card,
  .loc-cards-grid-3-center > .loc-card {
    flex: 0 0 100%;
  }

  .loc-cards-grid-3,
  .loc-cards-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   VOICE OVER & DUBBING SPECIFIC STYLES
   ========================================================================== */

/* Reversed Two-Column Layout (Form Left ~45%, Text Right ~55%) */
.translation-layout-grid-reversed {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.translation-layout-grid-reversed .translation-form-col {
  order: 1;
}

.translation-layout-grid-reversed .translation-content-col {
  order: 2;
}

@media (max-width: 991px) {
  .translation-layout-grid-reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .translation-layout-grid-reversed .translation-content-col {
    order: 1;
  }

  .translation-layout-grid-reversed .translation-form-col {
    order: 2;
  }
}

/* 3-Column Bulleted Lists (Desktop 3, Tablet 2, Mobile 1) */
.columns-bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: 28px;
  text-align: left;
}

.column-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.column-bullet-item {
  position: relative;
  padding-left: 24px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.column-bullet-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--link);
  box-shadow: 0 0 0 3px var(--sky-tint);
}

@media (max-width: 991px) {
  .columns-bullet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .columns-bullet-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   CLIENT LOGOS INFINITE SCROLLING ROW (.slide-text2)
   ========================================================================== */
.customer-logo-bg {
  position: relative;
  background: #FFFFFF;
  padding: clamp(24px, 4vw, 40px) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.slide-text2 {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.slide-text2 .text-inner1 {
  position: relative;
  display: flex;
  width: max-content;
  user-select: none;
}
.slide-text2 .text-inner1:before {
  position: absolute;
  content: "";
  left: -60px;
  top: 0px;
  width: calc(100% + 100px);
  height: 100%;
  pointer-events: none;
}
.slide-text2 .text-list1 {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  animation: scroll-left1 65s linear infinite;
}
.slide-text2 .text-list1 li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(40px, 5vw, 70px);
}
.slide-img-logo {
  width: 120px;
  height: 50px;
  object-fit: contain;
  display: block;
  filter: contrast(95%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.slide-img-logo:hover {
  transform: scale(1.08);
}
@keyframes scroll-left1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.slide-text2:hover .text-list1 {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .slide-text2 {
    overflow-x: auto;
  }
  .slide-text2 .text-list1 {
    animation: none !important;
  }
  .slide-text2 .text-list1[aria-hidden="true"] {
    display: none;
  }
}

/* 4-Column Bulleted Lists (Desktop 4, Tablet 2, Mobile 1) */
.columns-bullet-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: 28px;
  text-align: left;
}

@media (max-width: 991px) {
  .columns-bullet-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .columns-bullet-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Two-column Text + Image Grid (Text Left, Image Right) */
.loc-text-image-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 991px) {
  .loc-text-image-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Primary "Order Translation Now" Button */
.btn-order-translation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: var(--link);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px var(--border);
  box-sizing: border-box;
  border: 1px solid var(--border);
}

.btn-order-translation:hover {
  background-color: var(--link);
  border-color: var(--link);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-order-translation:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

/* Full-width Order Translation Now button on mobile */
@media (max-width: 640px) {
  .btn-order-translation {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   JOIN US / CAREER PAGE SPECIFIC STYLES
   ========================================================================== */

/* Section 3: Who we're looking for (7 roles, desktop 4/row, last row centered) */
.roles-grid-7 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 36px;
}

.roles-grid-7 > .loc-card-role {
  flex: 0 0 calc(25% - (clamp(16px, 2.5vw, 24px) * 3 / 4));
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--aqua-tint);
  box-shadow: 0 6px 20px var(--shadow), 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: clamp(20px, 2.5vw, 28px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.roles-grid-7 > .loc-card-role:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--border), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-color: var(--aqua);
}

.role-card-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .roles-grid-7 > .loc-card-role {
    flex: 0 0 calc(33.333% - (clamp(16px, 2.5vw, 24px) * 2 / 3));
  }
}

@media (max-width: 640px) {
  .roles-grid-7 > .loc-card-role {
    flex: 0 0 calc(50% - (clamp(16px, 2.5vw, 24px) / 2));
  }
}

@media (max-width: 480px) {
  .roles-grid-7 > .loc-card-role {
    flex: 0 0 100%;
  }
}

/* Section 4: How hiring works (4 numbered steps) */
.hiring-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 36px;
  text-align: left;
}

.hiring-step-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--aqua-tint);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 6px 20px var(--shadow), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hiring-step-item:hover {
  transform: translateY(-4px);
  border-color: var(--aqua);
  box-shadow: 0 14px 32px var(--border);
}

.hiring-step-num {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--link);
  line-height: 1;
}

.hiring-step-text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 991px) {
  .hiring-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hiring-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Section 5: Application Form Card (Centered, max-width 800px) */
.join-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.join-form-card {
  background: #FFFFFF;
  border: 1.5px solid var(--sky-tint);
  border-radius: 16px;
  box-shadow: 0 8px 30px var(--shadow), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: clamp(24px, 4vw, 42px);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  text-align: left;
}

.join-form-card:hover {
  box-shadow: 0 12px 36px var(--border), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.join-form-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  text-align: center;
  margin: 0 0 28px 0;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink);
  cursor: pointer;
  margin-top: 14px;
  line-height: 1.5;
}

.form-checkbox-input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--link);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label a {
  color: var(--link);
  text-decoration: underline;
  font-weight: 600;
}

.form-checkbox-label a:hover {
  color: var(--link);
}

.form-file-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Section 6: FAQ Accordion Wrapper */
.join-faq-wrapper {
  max-width: 800px;
  margin: 32px auto 0 auto;
  text-align: left;
}

