/* ========================================
   Sparkanimate — Common / shared styles
   Header, footer, nav, buttons, typography,
   reusable components used across pages
   ======================================== */
/* ========================================
   Sparkanimate — Custom Styles
   Bootstrap 5.3.8 complementary CSS
   ======================================== */

:root {
  --brand-blue: #007bff;
  --brand-blue-hover: #0069d9;
  --brand-blue-soft: #e7f1ff;
  --brand-navy: #0a1d37;
  --brand-navy-deep: #061428;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-body: #4b5563;
  --bg-light: #f5f7fb;
  --bg-white: #ffffff;
  --border-soft: #e8ecf2;
  --shadow-card: 0 8px 30px rgba(15, 35, 70, 0.08);
  --shadow-card-hover: 0 14px 40px rgba(15, 35, 70, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --section-space: 90px;
  --container-max: 90%;
  --nav-height: 84px;
  --font-main: "Inter", sans-serif;
  --bs-font-sans-serif: "Inter", sans-serif;
  --bs-body-font-family: "Inter", sans-serif;
  --transition: 0.25s ease;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: clip;
}

body {
  font-family: "Inter", sans-serif !important;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
  padding-top: var(--nav-height);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6,
.btn,
.nav-link,
.form-control,
.form-select,
.form-label,
.accordion-button,
.navbar-brand {
  font-family: "Inter", sans-serif !important;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

img,
video {
  display: block;
}

h1, h2, h3, h4, h5, h6,
p,
li,
.section-title,
.gallery-caption-text,
.faq-wrap .accordion-button {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-blue-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: var(--container-max);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(12px, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
  padding-right: max(12px, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
}

@media (min-width: 576px),
  (min-width: 768px),
  (min-width: 992px),
  (min-width: 1200px),
  (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: var(--container-max);
    max-width: var(--container-max);
  }
}

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--brand-blue);
  color: #fff;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.75rem;
  line-height: 1.4;
  transition: all var(--transition);
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  color: #fff;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.75rem;
  line-height: 1.4;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
}

.btn-nav-cta {
  padding: 0.55rem 1.4rem;
  font-size: calc(0.9rem + 2px);
  white-space: nowrap;
}

.btn-hero,
.btn-cta {
  padding: 0.8rem 1.9rem;
  font-size: 0.95rem;
  max-width: 100%;
}

.btn-submit {
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  min-width: 180px;
}

/* ---------- Section shared ---------- */
.section-padding {
  padding: var(--section-space) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ---------- Navbar ---------- */
.site-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  padding: 0.85rem 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(10, 29, 55, 0.06);
  z-index: 1030;
  transition: padding var(--transition), box-shadow var(--transition);
}

.site-navbar.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 8px 28px rgba(10, 29, 55, 0.12);
}

.site-navbar .container {
  align-items: center;
}

.brand-icon,
.brand-logo {
  width: auto;
  height: 52px;
  max-width: min(280px, calc(100vw - 7.5rem));
  object-fit: contain;
}

.navbar-brand {
  min-width: 0;
  margin-right: 1rem;
}

.navbar-toggler {
  flex-shrink: 0;
  padding: 0.4rem 0.55rem;
  border: 0;
}

.brand-logo-footer {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.site-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: calc(0.95rem + 2px);
  padding: 0.5rem 1rem !important;
  position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand-blue) !important;
}

.site-navbar .dropdown-menu {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.45rem 0;
  min-width: 250px;
  margin-top: 0.35rem;
}

.site-navbar .dropdown-item {
  font-family: "Inter", sans-serif;
  font-size: calc(0.92rem + 2px);
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.6rem 1.15rem;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar .dropdown-item.active {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.site-navbar .dropdown-toggle::after {
  margin-left: 0.4rem;
  vertical-align: 0.15em;
}

@media (min-width: 992px) {
  .site-navbar .navbar-collapse {
    justify-content: flex-end;
    min-width: 0;
  }

  .site-navbar .navbar-nav {
    margin-right: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-icon,
  .brand-logo {
    height: 44px;
    max-width: 200px;
  }

  .navbar-brand {
    margin-right: 0.5rem;
  }

  .site-navbar .nav-link {
    padding: 0.5rem 0.5rem !important;
    font-size: 0.92rem;
  }

  .site-navbar .dropdown-toggle::after {
    margin-left: 0.25rem;
  }

  .btn-nav-cta {
    padding: 0.45rem 1.05rem;
    font-size: 0.85rem;
  }
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  :root {
    --nav-height: 76px;
  }

  .site-navbar .navbar-collapse {
    padding: 1rem 0 0.75rem;
    border-top: 1px solid var(--border-soft);
    margin-top: 0.65rem;
    max-height: calc(100dvh - var(--nav-height) - 0.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-navbar .nav-link {
    padding: 0.65rem 0 !important;
  }

  .site-navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 0 0 0.35rem 0.85rem;
    margin: 0;
    min-width: 0;
  }

  .site-navbar .dropdown-item {
    padding: 0.45rem 0;
  }

  .btn-nav-cta {
    margin-top: 0.75rem;
    display: inline-block;
  }
}


/* ---------- Services ---------- */
.section-services {
  background: var(--bg-white);
}

/* ---------- Gallery (shared item chrome) ---------- */
.gallery-item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  isolation: isolate;
  border: none;
  padding: 0;
  width: 100%;
  text-align: inherit;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.gallery-item .gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
  display: block;
  pointer-events: none;
  background: #111;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}

.gallery-play {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform var(--transition);
  z-index: 3;
  pointer-events: none;
}

.gallery-play-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-item:hover .gallery-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 30%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(40, 32, 26, 0.55);
  backdrop-filter: blur(2px) saturate(120%);
  -webkit-backdrop-filter: blur(2px) saturate(120%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-caption-text {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.gallery-modal-dialog,
.demo-reel-modal-dialog {
  max-width: min(1200px, 94vw);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Process ---------- */
.section-process {
  background: var(--bg-white);
}

.section-process .process-row {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 2.75rem;
  align-items: stretch;
  padding-top: 1.25rem;
}

.section-process .process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 36px;
  padding: 14px 14px 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  text-align: left;
  margin-top: 18px;
  overflow: visible;
}

.section-process .process-step {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  height: 34px;
  padding: 0 22px;
  margin: 0;
  background: linear-gradient(90deg, #3db8ff 0%, #1a7dff 55%, #0d5fe8 100%);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.section-process .process-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  background: #f3f4f6;
  margin: 0 0 14px;
}

.section-process .process-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-process .process-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0 6px 2px;
}

.section-process .process-card-title {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 8px;
}

.section-process .process-card-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
}

.section-process .process-read-more {
  color: #1a7dff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.section-process .process-read-more:hover {
  color: #0d5fe8;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .section-process .process-row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 2.5rem;
  }

  .section-process .process-card {
    border-radius: 28px;
    padding: 12px 12px 16px;
  }

  .section-process .process-card-img {
    border-radius: 18px;
  }

  .section-process .process-card-title {
    font-size: 17px;
  }
}

@media (max-width: 767.98px) {
  .section-process .process-card {
    border-radius: 24px;
    padding: 10px 10px 16px;
    margin-top: 16px;
  }

  .section-process .process-step {
    min-width: 94px;
    height: 30px;
    padding: 0 18px;
    font-size: 11px;
    border-radius: 10px 10px 0 0;
  }

  .section-process .process-card-img {
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .section-process .process-card-title {
    font-size: 16px;
  }

  .section-process .process-card-text,
  .section-process .process-read-more {
    font-size: 13px;
  }
}

/* ---------- Industries (shared icon/title/text) ---------- */
.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.industry-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.industry-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---------- CTA Banner ---------- */
.section-cta {
  padding: 20px 0 40px;
  background: var(--bg-white);
}

.cta-banner {
  background: var(--brand-navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(10, 29, 55, 0.25);
}

.cta-content {
  padding: 3.5rem 3rem;
  position: relative;
  z-index: 2;
}

.cta-title {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 420px;
}

.cta-image {
  height: 100%;
  min-height: 320px;
  position: relative;
}

.cta-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.cta-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-navy) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Testimonials ---------- */
.section-testimonials {
  background: #f7f9fc;
  overflow: hidden;
}

.section-testimonials .section-header {
  margin-bottom: 2.75rem;
}

.section-testimonials .section-badge {
  background: transparent;
  border: 1px solid rgba(0, 123, 255, 0.35);
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonials-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(1rem, 3.5vw, 4rem);
}

.testimonials-track {
  --testimonial-gap: 1.5rem;
  --testimonial-visible: 2.5;
  display: flex;
  align-items: stretch;
  gap: var(--testimonial-gap);
  will-change: transform;
  transition: transform 0.6s ease-out;
}

.testimonials-track .testimonial-card {
  --testimonial-card-width: calc(
    (100% - (var(--testimonial-visible) - 1) * var(--testimonial-gap)) / var(--testimonial-visible)
  );
  flex: 0 0 var(--testimonial-card-width);
  width: var(--testimonial-card-width);
  max-width: var(--testimonial-card-width);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.testimonial-card::before,
.testimonial-card::after {
  display: none;
}

.testimonial-quote-icon {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  width: 132px;
  height: auto;
  max-width: 40%;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.testimonial-bottom-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  height: auto;
  max-width: 48%;
  pointer-events: none;
  z-index: 0;
}

.testimonial-stars,
.testimonial-quote,
.testimonial-author {
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  color: var(--brand-blue);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  letter-spacing: 0.12em;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0 0 1.75rem;
  flex-grow: 1;
  font-style: normal;
  padding-right: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
}

.testimonial-company {
  color: var(--brand-blue);
  font-weight: 600;
}

.testimonial-sep {
  color: #c5cad3;
  font-weight: 400;
}

.testimonial-role {
  color: var(--brand-blue);
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.82rem;
}

.testimonial-meta .testimonial-role {
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .testimonials-track {
    --testimonial-visible: 1.85;
    --testimonial-gap: 1.25rem;
  }

  .testimonial-card {
    min-height: 260px;
    padding: 1.75rem 1.5rem 1.6rem;
  }

  .testimonial-quote-icon {
    width: 110px;
  }

  .testimonial-bottom-img {
    width: 130px;
  }
}

@media (max-width: 767.98px) {
  .testimonials-track {
    --testimonial-visible: 1.08;
    --testimonial-gap: 0.85rem;
  }

  .testimonial-card {
    min-height: 240px;
    padding: 1.5rem 1.25rem 1.4rem;
  }

  .testimonial-quote {
    font-size: 0.92rem;
    padding-right: 0.5rem;
  }

  .testimonial-quote-icon {
    width: 88px;
    top: 0.75rem;
    right: 0.75rem;
  }

  .testimonial-bottom-img {
    width: 110px;
  }
}

@media (max-width: 575.98px) {
  .testimonials-track {
    --testimonial-visible: 1;
    --testimonial-gap: 0.75rem;
  }

  .testimonial-author {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-track {
    transition: none;
  }
}

/* ---------- FAQ ---------- */
.section-faq {
  background: var(--bg-light);
}

.faq-wrap {
  max-width: 760px;
}

.faq-wrap .accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-wrap .accordion-button {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--bg-white);
  box-shadow: none !important;
  padding: 1.15rem 1.35rem;
  white-space: normal;
  text-align: left;
  line-height: 1.45;
}

.faq-wrap .accordion-button:not(.collapsed) {
  color: var(--brand-blue);
  background: var(--bg-white);
}

.faq-wrap .accordion-button::after {
  background-size: 1rem;
  width: 1rem;
  height: 1rem;
}

.faq-wrap .accordion-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--bg-white);
}

.contact-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.contact-form-wrap {
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: #f7f8fb;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  box-shadow: none;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form .contact-turnstile {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  line-height: 0;
}

.contact-form .contact-turnstile.is-active {
  margin-bottom: 0.85rem;
  line-height: normal;
}

.contact-form .contact-turnstile iframe {
  max-width: 100%;
}

.contact-form-status {
  margin-bottom: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form-status.is-success {
  background: #e8f6ee;
  color: #146c43;
  border: 1px solid #b6e2c7;
}

.contact-form-status.is-error {
  background: #fdebec;
  color: #b02a37;
  border: 1px solid #f1c0c5;
}

.contact-form .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #000000;
  background-image: url("../images/footer-bg.webp");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  align-items: flex-start;
  min-width: 0;
}

.footer-contact span,
.footer-contact a {
  min-width: 0;
}

.footer-contact i {
  color: var(--brand-blue);
  margin-top: 0.2rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Form success toast ---------- */
.form-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(360px, calc(100vw - 24px));
  background: var(--brand-navy);
  color: #fff;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.form-toast.is-error {
  background: #b02a37;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1199.98px) {
  .gallery-play {
    width: 50px;
    height: 50px;
  }

  .cta-content {
    padding: 2.75rem 2.25rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-space: 70px;
  }

  .brand-icon,
  .brand-logo {
    height: 46px;
    max-width: 220px;
  }

  .cta-image::before {
    background: linear-gradient(180deg, var(--brand-navy) 0%, transparent 40%);
  }

  .cta-text {
    max-width: none;
  }

  .contact-form-wrap {
    padding: 0;
  }

  .contact-image {
    min-height: 320px;
  }

  .contact-image img {
    min-height: 320px;
  }

  .footer-about {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-space: 56px;
  }

  .brand-icon,
  .brand-logo {
    height: 40px;
    max-width: 180px;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .gallery-item {
    min-height: 200px;
    border-radius: 16px;
  }

  .gallery-caption {
    min-height: 34%;
    padding: 0.85rem 0.7rem;
  }

  .gallery-caption-text {
    font-size: 15px;
  }

  .gallery-play {
    width: 46px;
    height: 46px;
    top: 36%;
  }

  .cta-content {
    padding: 2.25rem 1.35rem 1.5rem;
  }

  .cta-image {
    min-height: 240px;
  }

  .cta-image img {
    min-height: 240px;
  }

  .contact-title {
    font-size: 1.65rem;
  }

  .contact-image,
  .contact-image img {
    min-height: 260px;
  }

  .btn-submit {
    width: 100%;
    min-width: 0;
  }

  .faq-wrap .accordion-button {
    font-size: 0.92rem;
    padding: 1rem 1.1rem;
  }

  .faq-wrap .accordion-body {
    padding: 0 1.1rem 1.1rem;
  }

  .section-process .process-read-more {
    white-space: normal;
  }

  .site-footer {
    padding-top: 50px;
    background-position: center bottom;
  }

  .footer-bottom {
    text-align: center;
  }

  .page-hire .section-padding {
    padding: 52px 0;
  }

  .page-hire .inner-page-intro {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-height: 68px;
  }

  .site-navbar {
    padding: 0.55rem 0;
  }

  .site-navbar.scrolled {
    padding: 0.4rem 0;
  }

  .brand-logo {
    height: 40px;
    max-width: min(220px, calc(100vw - 6.5rem));
  }

  .gallery-play {
    width: 44px;
    height: 44px;
  }

  .site-navbar .btn-nav-cta {
    width: 100%;
    text-align: center;
  }

  .btn-cta,
  .btn-hero {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .form-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}


/* ---------- Shared page-hire + reveal (used by hire + blog pages) ---------- */
.page-hire {
  background: #f7f9fc;
}

.page-hire .section-padding {
  padding: 88px 0;
}

.page-hire .section-header {
  margin-bottom: 1.25rem;
}

.page-hire .inner-page-intro {
  margin: 0 auto 2.75rem;
  max-width: 740px;
}

.page-hire .section-title {
  letter-spacing: -0.025em;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="left"].is-revealed,
[data-reveal="right"].is-revealed {
  transform: none;
}

[data-reveal].is-revealed:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-revealed:nth-child(3) { transition-delay: 0.16s; }
[data-reveal].is-revealed:nth-child(4) { transition-delay: 0.24s; }


@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .page-hire .hse-hero-frame img,
  .page-hire .hse-motion-dot,
  .page-hire .hse-media-card,
  .page-hire .hse-tool-card,
  .page-hire .hse-step-card,
  .page-hire .hse-apart-card,
  .page-hire .testimonial-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---------- Shared hire-page components (2D + 3D) ---------- */
.inner-page-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: -1.25rem auto 3rem;
  text-align: center;
}

.section-software {
  background: var(--bg-light);
}

.region-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.region-card .region-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.region-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.region-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.region-card li + li {
  margin-top: 0.35rem;
}

.page-hire .hse-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 560px;
  padding: 72px 0;
  overflow: hidden;
  background: #ffffff;
}

.page-hire .hse-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  display: block;
  z-index: 0;
}

.page-hire .hse-hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
}

.page-hire .hse-hero-title {
  color: var(--text-dark);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

.page-hire .hse-hero-text {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.page-hire .hse-hero .btn-hero {
  padding: 0.9rem 2.15rem;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.28);
}

.page-hire .hse-hero .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 123, 255, 0.34);
}

.page-hire .hse-hero-accent {
  position: absolute;
  border-radius: 18px;
  border: 2px solid rgba(0, 123, 255, 0.35);
  pointer-events: none;
}

.page-hire .hse-hero-accent-tl {
  width: 88px;
  height: 88px;
  top: -14px;
  left: -14px;
  border-right: none;
  border-bottom: none;
  border-radius: 18px 0 0 0;
}

.page-hire .hse-hero-accent-br {
  width: 88px;
  height: 88px;
  right: -14px;
  bottom: -14px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 18px 0;
}

.page-hire .hse-motion-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.16);
  animation: hsePulse 2.4s ease-in-out infinite;
}

.page-hire .hse-motion-dot-1 {
  top: 18%;
  right: -6px;
}

.page-hire .hse-motion-dot-2 {
  bottom: 22%;
  left: -6px;
  animation-delay: 0.8s;
}

@keyframes hseHeroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes hsePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.page-hire .section-services {
  background: #f7f9fc;
}

.page-hire .hse-media-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-hire .hse-media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 35, 70, 0.12);
}

.page-hire .hse-media-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef6;
}

.page-hire .hse-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-hire .hse-media-card:hover .hse-media-img img {
  transform: scale(1.06);
}

.page-hire .hse-media-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 29, 55, 0.18) 100%);
  pointer-events: none;
}

.page-hire .hse-media-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.page-hire .hse-media-card .industry-icon {
  width: 46px;
  height: 46px;
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.page-hire .hse-media-card .industry-title {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.page-hire .hse-media-card .industry-text {
  margin: 0;
}

.page-hire .section-software {
  background: #fff;
  position: relative;
}

.page-hire .section-software::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-blue) 0 18px,
    transparent 18px 28px
  );
  opacity: 0.18;
}

.page-hire .hse-tool-card {
  background: #f7f9fc;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.page-hire .hse-tool-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.page-hire .hse-tool-card .industry-icon {
  margin: 0 0 1rem;
}

.page-hire .hse-tool-card .industry-title,
.page-hire .hse-tool-card .industry-text {
  text-align: left;
}

.page-hire .hse-tool-card .software-features {
  text-align: left;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.page-hire .hse-tool-card .software-features li + li {
  margin-top: 0.3rem;
}

.page-hire .hse-apart-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.85rem 1.4rem;
  height: 100%;
  text-align: left;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hire .hse-apart-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.page-hire .hse-apart-card .industry-icon {
  margin: 0 0 1rem;
}

.page-hire .hse-apart-card .industry-title {
  font-size: 1.02rem;
}

.page-hire .hse-region-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-hire .hse-region-img {
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.page-hire .hse-region-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hire .hse-region-body {
  padding: 1.75rem 1.6rem 1.8rem;
}

.page-hire .hse-region-card .region-title {
  font-size: 1.2rem;
}

.page-hire .hse-region-card ul {
  padding-left: 1.05rem;
}

.page-hire .hse-region-card li::marker {
  color: var(--brand-blue);
}

.page-hire .section-faq {
  background: #f7f9fc;
}

.page-hire .faq-wrap .accordion-item {
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(15, 35, 70, 0.04);
}

@media (max-width: 991.98px) {
  .page-hire .hse-hero {
    min-height: 480px;
    padding: 56px 0;
  }

  .page-hire .hse-hero-img {
    object-position: 80% center;
  }

  .page-hire .hse-hero-text {
    max-width: none;
  }

  .page-hire .section-padding {
    padding: 68px 0;
  }
}

@media (max-width: 767.98px) {
  .page-hire .hse-hero {
    min-height: 0;
    padding: 40px 0 36px;
  }

  .page-hire .hse-hero-content {
    width: 100%;
  }

  .page-hire .hse-hero-title {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .page-hire .hse-hero-text {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .page-hire .hse-hero-accent,
  .page-hire .hse-motion-dot {
    display: none;
  }

  .page-hire .hse-media-img,
  .page-hire .hse-step-img,
  .page-hire .hse-region-img {
    max-height: 220px;
  }

  .page-hire .hse-media-img img,
  .page-hire .hse-step-img img,
  .page-hire .hse-region-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-hire .btn-hero {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .page-hire .hse-tool-card,
  .page-hire .hse-apart-card {
    text-align: center;
  }
}

/* ---------- Shared blog cards / CTA (listing + article) ---------- */
.page-blog {
  background: #f7f9fc;
}

.page-blog .section-padding {
  padding: 80px 0;
}

.page-blog .section-header {
  margin-bottom: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.blog-card:hover {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 35, 70, 0.12);
}

.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef6;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.35rem 1.35rem 1.45rem;
}

.blog-card-category {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.blog-card-meta i {
  color: var(--brand-blue);
  margin-right: 0.3rem;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-read-more i {
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(4px);
}

.blog-cta {
  padding: 0 0 80px;
}

.blog-cta-banner {
  background: var(--brand-navy);
  border-radius: 24px;
  overflow: hidden;
}

.blog-cta-banner .cta-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

@media (max-width: 991.98px) {
  .page-blog .section-padding {
    padding: 64px 0;
  }
}

@media (max-width: 767.98px) {
  .blog-card-img {
    max-height: 220px;
    width: 100%;
    object-fit: cover;
  }

  .page-blog .section-padding {
    padding: 52px 0 28px;
  }

  .blog-cta {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-img img,
  .blog-read-more i,
  .blog-filter {
    transition: none;
  }

  a.blog-card:hover {
    transform: none;
  }

  .blog-card:hover .blog-card-img img,
  .blog-card:hover .blog-read-more i {
    transform: none;
  }
}

