/* =========================================================
   AGILE INFINITY DIGITAL SOLUTIONS — Custom Stylesheet
   Design tokens derived from brand logo (teal + orange infinity mark)
   NOTE: Bootstrap's .container / .row / .col-* are used purely
   for grid/layout and are NOT overridden anywhere in this file.
   ========================================================= */

:root {
  /* ---- Color tokens ---- */
  --bg: #061A33;
  --dark2: #0B3154;
  --bg-elevated: #0E2C4B;
  --bg-elevated-2: #123657;
  --bg-card: #0F2E4E;
  --line: rgba(240, 134, 43, 0.18);
  --line-strong: rgba(240, 134, 43, 0.36);

  --lightGreen: #123350;
  --primary: #29AECB;
  --primary-dim: #D9701C;
  --primary-deep: #B85A12;
  --accent-teal: #29AECB;

  --text: #F2F6FA;
  --text-muted: #C3D2E0;
  --text-faint: #7D93A8;
  --gradient-brand: linear-gradient(135deg,
      #29AECB 0%,
      #238EAA 45%,
      #176B82 100%);
  --gradient-radial: radial-gradient(circle at 30% 20%, rgba(240, 134, 43, 0.2), transparent 60%);

  /* ---- Type tokens ---- */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Plus Jakarta Sans', sans-serif;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

::selection {
  background: var(--primary);
  color: #0B2038;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

p {
  color: var(--text-muted);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--primary);
  display: inline-block;
}

.about-section {
  background-color: #262525e9;
}

.portfolio-section {
  background-color: var(--dark2);
  background-image: url(../img/testi-bg-shape.png);
}

.testimonials-section {
  background-color: #1f1d1d;
  position: relative;
  overflow: hidden;
}

.team-section {
  background-color: #1a1919;
  background-image: url(../img/darkBg2.png);
  background-position: center;
  background-size: cover;
}

.pricing-section {
  background-color: var(--bg);
  position: relative;
}

.blog-section {
  background-color: #141313;
  background-image: url(../img/lineSec.png);
  background-size: cover;
  background-attachment: fixed;
}

.contact-section {
  background-color: var(--dark2);
}

.why-trust-section {
  background-color: var(--dark2);
}



.section-title {
  font-size: clamp(1.9rem, 4.4vw, 6.5rem);
  margin-bottom: 18px;
  font-weight: 800;
}

@media (min-width: 1200px) {
  .section-title {
    font-size: clamp(3.2rem, 4.6vw, 6.5rem);
  }
}

@media (min-width: 1920px) {
  .section-title {
    font-size: clamp(3.2rem, 4.6vw, 7.5rem);
  }
}

@media (min-width: 2560px) {
  .section-title {
    font-size: clamp(3.2rem, 4.6vw, 8.5rem);
  }
}

@media (min-width: 3840px) {
  .section-title {
    font-size: clamp(3.2rem, 4.6vw, 10rem);
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}



.text-grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-pad {
  padding: 120px 0;
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 80px 0;
  }
}

.bg-elevated {
  background: var(--bg-elevated);
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

/* =========================================================
   PRELOADER
   ========================================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}

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

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 1000;
  padding: 8px 16px;
  background-color: #fff;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease), top .45s var(--ease);
}


.site-header.is-sticky {
  top: 00px;
  padding: 5px 16px;

}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {

  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

a.brand.image-box img {
  height: 70px;
  border-radius: 12px;
}

.header-cta.justify-content-end a {
  background: var(--primary-dim);
}

.main-nav .nav-link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--bg);
  padding: 3px 0;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .35s var(--ease);
}

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

.main-nav .nav-link.active {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar-toggler-custom {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
}

.navbar-toggler-custom span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--primary);
  position: relative;
}

.navbar-toggler-custom span::before,
.navbar-toggler-custom span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--primary);
}

.navbar-toggler-custom span::before {
  top: -5px;
}

.navbar-toggler-custom span::after {
  top: 5px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 84vw);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  z-index: 1100;
  padding: 30px 28px;
  transition: right .5s var(--ease);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav .nav-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  cursor: pointer;
  background: transparent;
  color: var(--primary);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991.98px) {
  .main-nav {
    display: none;
  }

  .navbar-toggler-custom {
    display: flex;
  }

  .header-cta .btn-premium {
    display: none;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
  border-radius: 50px;
}

.btn-premium:has(i) {
  padding: 8px 8px 8px 22px;
}

.btn-premium i {
  transition: transform .4s var(--ease);
  height: 36px;
  width: 36px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #000;
}

.btn-premium:hover i {
  transform: translateX(4px);
}

.btn-premium:hover {
  color: inherit;
}

.btn-fill {
  background: var(--primary-dim);
  color: #fff;
  background-size: 200% 100%;
  background-position: 0% 0%;
}

.btn-fill:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 8px 34px -10px rgb(217 112 28);
  color: #0B2038;
}

.btn-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  z-index: 1;
}

.btn-fill:hover::before {
  animation: shine 1.1s var(--ease);
}

@keyframes shine {
  to {
    transform: translateX(120%);
  }
}

.btn-outline-premium {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--text);
}

.btn-outline-premium:hover {
  border-color: var(--primary-deep);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm-premium {
  padding: 11px 22px;
  font-size: 0.82rem;
}

.btn-circle-play {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--primary-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.btn-circle-play::before,
.btn-circle-play::after,
.btn-circle-play span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #F0862B;
  animation: wave 3s linear infinite;
}

.btn-circle-play::after {
  animation-delay: 1s;
}

.btn-circle-play span::before {
  animation-delay: 2s;
}

@keyframes wave {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(2);
    opacity: 0;
  }
}

.btn-circle-play i {
  font-size: 25px;
}

.btn-circle-play:hover i {
  color: #fff;
}

/* ---- Hero video play/pause toggle (bottom-right) ---- */
.btn-video-toggle {
  width: 68px;
  height: 68px;
  top: auto;
  left: auto;
  bottom: 24px;
  right: 24px;
  transform: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.btn-video-toggle:hover {
  transform: scale(1.08);
}

.btn-video-toggle:active {
  transform: scale(0.96);
}

.btn-video-toggle i {
  font-size: 18px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.btn-video-toggle-ring,
.btn-video-toggle-ring::before,
.btn-video-toggle-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #F0862B;
  animation: wave 3s linear infinite;
}

.btn-video-toggle-ring::before {
  animation-delay: 1s;
}

.btn-video-toggle-ring::after {
  animation-delay: 2s;
}

.btn-video-toggle.is-paused .btn-video-toggle-ring,
.btn-video-toggle.is-paused .btn-video-toggle-ring::before,
.btn-video-toggle.is-paused .btn-video-toggle-ring::after {
  animation-play-state: paused;
  opacity: 0;
}

@media (max-width: 575.98px) {
  .btn-video-toggle {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }

  .btn-video-toggle i {
    font-size: 15px;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  overflow: hidden;
  padding-top: 145px;
  padding-bottom: 80px;

}



.hero-title-static,
.hero-title-typing {
  display: block;
}

.hero-title-typing {
  /* Locks the line to one fixed height (based on the title's line-height)
     so a shorter/longer typed word never changes the box's height. */
  line-height: 1.2;
  min-height: 1.2em;
}

.typing {
  display: inline-block;
  min-width: 260px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: top;
  border-right: 3px solid var(--primary);
  animation: cursor .7s infinite;
}

@keyframes cursor {
  50% {
    border-color: transparent;
  }
}


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

.hero-grain {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-title {
  /* Fallback for browsers without container query support */
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1.2;
  margin-bottom: 26px;
  flex: 1 1 320px;
  min-width: 0;

  font-weight: 900;
  container-type: inline-size;
  container-name: hero-title-box;
}

/* Size the title off the width it actually has, not the raw viewport.
   This is what breaks on ultrawide/4K: past ~1600px the old vw-based
   clamp maxes out at 8rem forever, while the layout's real container
   stays pinned at Bootstrap's 1320px cap — so the "Marketing 360"
   typing text (nowrap + overflow:hidden) gets visually clipped.
   cqw ties the font to the box's real size, so it can never overflow it. */
@supports (container-type: inline-size) {
  .hero-title {
    font-size: clamp(2.5rem, 13cqw, 6.5rem);
  }
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.bannerContent {
  flex-wrap: wrap;
}

.bannerContent .image-box {
  width: 100%;
  flex: 1 1 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 21 / 9;
}

.bannerContent .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-box {
  position: relative;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.paraSec {
  max-width: 500px;
  width: 100%;
  position: absolute;
  right: 0px;
  top: 0px;
  border-radius: 0px 0px 0px 150px;
  padding: 30px;
  background-color: var(--bg);
  z-index: 2;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-cta-row .play-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}



.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  flex-wrap: wrap;
}

.hero-stat {
  padding-right: 44px;
  margin-right: 44px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes float-y {

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

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

.marketing-circle {
  position: relative;
  width: 350px;
  aspect-ratio: 1;
  margin: auto;
}

.circle-text {
  width: 100%;
  height: 100%;
  animation: rotateText 18s linear infinite;
}

.circle-text text {
  fill: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.circle-logo {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.circle-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */

@media(max-width:768px) {

  .marketing-circle {
    width: 250px;
  }

  .circle-text text {
    font-size: 12px;
    letter-spacing: 3px;
  }

}

@media(max-width:480px) {

  .marketing-circle {
    width: 190px;
  }

  .circle-text text {
    font-size: 10px;
    letter-spacing: 2px;
  }

}

/* Hero banner — laptop & below: give the overlay text room instead of
   crowding the bottom-right corner of the image */
@media (max-width: 1399.98px) {
  .paraSec {
    max-width: 380px;
    padding: 24px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 6.5vw, 6.5rem);
  }
}

/* Large desktop, ultrawide & 4K — site-wide: Bootstrap's boxed .container
   caps at 1320px forever past ~1400px, so every section (not just the
   hero) looked stuck/tiny on big monitors. This widens the container in
   steps as the screen grows. The hero-specific bits below it (badge,
   overlay card, stats) scale up to match. */
@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }

  .marketing-circle {
    width: 400px;
  }

  .paraSec {
    max-width: 440px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1680px;
  }

  .marketing-circle {
    width: 460px;
  }

  .circle-text text {
    font-size: 17px;
  }

  .paraSec {
    max-width: 500px;
  }

  .hero-sub {
    font-size: 1.25rem;
    max-width: 560px;
  }

  @supports (container-type: inline-size) {
    .hero-title {
      font-size: clamp(2.5rem, 13cqw, 8rem);
    }
  }
}

@media (min-width: 2560px) {
  .container {
    max-width: 1800px;
  }

  .marketing-circle {
    width: 540px;
  }

  .circle-text text {
    font-size: 19px;
  }

  .paraSec {
    max-width: 560px;
    padding: 34px;
  }

  .hero-sub {
    font-size: 1.4rem;
    max-width: 620px;
  }

  .hero-stat .num {
    font-size: 2.6rem;
  }

  @supports (container-type: inline-size) {
    .hero-title {
      font-size: clamp(2.5rem, 13cqw, 9.5rem);
    }
  }
}

@media (min-width: 3840px) {
  .container {
    max-width: 1900px;
  }

  .marketing-circle {
    width: 680px;
  }

  .circle-text text {
    font-size: 24px;
    letter-spacing: 5px;
  }

  .paraSec {
    max-width: 680px;
    padding: 40px;
  }

  .hero-sub {
    font-size: 1.7rem;
    max-width: 760px;
  }

  .hero-stat .num {
    font-size: 3.2rem;
  }

  @supports (container-type: inline-size) {
    .hero-title {
      font-size: clamp(2.5rem, 13cqw, 11rem);
    }
  }
}

/* Hero banner — tablet & below: drop the overlay entirely and stack the
   text under the image so nothing overlaps */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 120px;
  }

  .hero-content {
    justify-content: center;
    text-align: center;
  }

  .bannerContent {
    flex-direction: column;
  }

  .bannerContent .image-box {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
  }

  .bannerContent .image-box img {
    height: 100%;
    object-fit: cover;
  }

  .hero-video {
    height: 100%;
    object-fit: cover;
  }

  .paraSec {
    position: static;
    max-width: 100%;
    width: 100%;
    border-radius: 0 0 24px 24px;
    margin-top: -8px;
  }

  /* Center on the photo itself, not the whole image+text stack below it */
  .btn-circle-play {
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
  }

  /* Keep the video toggle pinned bottom-right even on tablet */
  .btn-video-toggle {
    top: auto;
    left: auto;
    bottom: 20px;
    right: 20px;
    transform: none;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 767.98px) {
  .bannerContent .image-box {
    height: 340px;
  }
}

@media (max-width: 575.98px) {
  .bannerContent .image-box {
    height: 260px;
  }

  .btn-circle-play {
    width: 64px;
    height: 64px;
  }

  .btn-circle-play i {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .paraSec {
    padding: 20px;
  }

  .hero-cta-row {
    margin-bottom: 40px;
  }
}

/* circle */

.logo-badge {
  position: relative;
  width: 300px;
  height: 300px;
}

.logo {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.logo img {
  width: 80px;
}

.text-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.text-ring text {
  fill: #fff;
  font-size: 15px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.rotate-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: rotateRing 16s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.bannerContent img {
  border-radius: 50px;
}

/* =========================================================
   MARQUEE / CLIENT LOGOS
   ========================================================= */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  overflow: hidden;
  background: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: marquee 28s linear infinite;
  align-items: center;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track .m-item {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;

  /* Image inside text */
  color: transparent;
  background-image: url("../img/text.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  -webkit-background-clip: text;
  background-clip: text;

  transition: 0.3s ease;
}

.marquee-track .m-item:hover {
  color: var(--bg);
  -webkit-text-stroke: 1.5px var(--bg);
}

/* =========================================================
   ABOUT
   ========================================================= */
#about {
  background-color: var(--bg);
}

.about-heading {
  margin-bottom: 60px;
}

/* -- left: media column -- */
.about-media-col {
  position: relative;
}

.about-v2-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-v2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* experience ribbon badge, overlapping the image bottom-left */
.about-v2-badge {
  position: relative;
  margin-top: -70px;
  margin-left: 24px;
  width: 200px;
  background: var(--primary-dim);
  color: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(240, 134, 43, 0.28);
  z-index: 2;
  overflow: hidden;
}

.about-v2-badge h3 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1;
  color: #fff;
}

.about-v2-badge h3 span {
  font-size: 1.4rem;
  vertical-align: super;
}

.about-v2-badge p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.about-v2-ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  width: 130px;
  transform: rotate(45deg);
  text-align: center;
  background: #1a1200;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 0;
}

/* small info strip under the image */
.about-v2-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.about-v2-note .icon-circle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.about-v2-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-v2-note strong {
  color: var(--text);
}

/* -- right: dark info card -- */
.about-v2-card {
  position: relative;
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 52px 90px;
  height: 100%;
}

.about-v2-card .eyebrow {
  color: var(--primary);
}

.about-v2-card h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 22px;
}

.about-v2-card p.about-v2-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.about-v2-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
}

.about-v2-stat h3 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 4px;
  line-height: 1;
}

.about-v2-stat p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-v2-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line-strong);
}

/* rotating circular badge, centered on the bottom edge of the card */
.about-v2-award {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -56px;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.about-v2-award .circle-text-mini {
  position: absolute;
  inset: 0;
  animation: rotateText 16s linear infinite;
}

.about-v2-award .circle-text-mini text {
  font-size: 9.4px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--bg-card);
  text-transform: uppercase;
}

.about-v2-award .award-center {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

@media (max-width: 991.98px) {
  .about-v2-card {
    padding: 44px 32px 90px;
    margin-top: 40px;
  }

  .about-v2-image {
    height: 400px;
  }
}

@media (max-width: 575.98px) {
  .about-v2-image {
    height: 320px;
  }

  .about-v2-badge {
    width: 170px;
    margin-left: 16px;
    padding: 18px;
  }

  .about-v2-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .about-v2-divider {
    display: none;
  }

  .about-v2-award {
    width: 130px;
    height: 130px;
    bottom: -50px;
  }

  .about-v2-award .award-center {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
}

/* =========================================================
   SERVICES
   ========================================================= */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  height: 100%;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 26px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  color: #0B2038;
  transform: rotate(-8deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-index {
  position: absolute;
  top: 30px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text);
}

.service-link i {
  font-size: 0.7rem;
  transition: transform .3s var(--ease);
}

.service-card:hover .service-link {
  color: var(--primary);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* =========================================================
   SERVICES — sticky left content + stacked scroll-reveal cards
   ========================================================= */
.services-section {
  background-color: var(--dark2);
  background-image: url("../img/shape-02.png");

}

.services-sticky-row {
  position: relative;
}

/* ---- Left pinned panel ---- */
.services-left-sticky {
  padding: 48px 44px;
  border-radius: 24px;
  background: var(--dark2);
  border: 1px solid var(--line);
}

.services-left-sticky .eyebrow {
  margin-bottom: 18px;
}

.services-left-sticky .section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  margin-bottom: 20px;
}

.services-left-sticky .section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ---- Right: auto-sliding carousel ---- */
.services-stack {
  position: relative;
  overflow: hidden;
  padding-bottom: 48px;
}

.service-card-sticky {
  position: relative;
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  min-height: 340px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  transform: none;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.services-pagination {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.services-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--line-strong);
  opacity: 1;
}

.services-pagination .swiper-pagination-bullet-active {
  background: var(--primary-dim);
  width: 22px;
  border-radius: 4px;
}

.service-card-sticky .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 26px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}

.service-card-sticky h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card-sticky p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card-sticky .service-index {
  position: absolute;
  top: 30px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.service-card-sticky .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text);
}

.service-card-sticky .service-link i {
  font-size: 0.7rem;
  transition: transform .3s var(--ease);
}

/* Active (in-view) card state */
.service-card-sticky.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.service-card-sticky.is-active .service-icon {
  background: var(--primary-dim);
  color: #fff;
}

.service-card-sticky.is-active .service-link {
  color: var(--primary-dim);
}

/* Keep the left text panel pinned while the carousel plays alongside it */
@media (min-width: 992px) {
  .services-left-sticky {
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 991.98px) {
  .services-left-sticky {
    margin-bottom: 32px;
  }

  .service-card-sticky {
    min-height: auto;
  }
}

/* Large desktop, ultrawide & 4K — "What We Do" cards.
   What breaks on very wide/4K screens is the CARD ITSELF: once the
   right-hand column gets wide enough, a fixed min-height card stretches
   into a short, wide bar with a lot of dead space around the text. Capping
   the stack's width keeps every slide a comfortable, readable shape,
   while still scaling up gently so it doesn't look tiny on a big screen. */
@media (min-width: 992px) {
  .services-stack {
    max-width: 640px;
  }
}

@media (min-width: 1600px) {
  .services-stack {
    max-width: 700px;
  }

  .service-card-sticky {
    min-height: 360px;
    padding: 44px 36px;
  }
}

@media (min-width: 1920px) {
  .services-left-sticky {
    max-width: 480px;
  }

  .services-left-sticky .section-desc {
    font-size: 1.08rem;
  }

  .services-stack {
    max-width: 760px;
  }

  .service-card-sticky {
    min-height: 390px;
    padding: 48px 40px;
  }

  .service-card-sticky .service-icon {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
  }

  .service-card-sticky h3 {
    font-size: 1.35rem;
  }

  .service-card-sticky p {
    font-size: 1.02rem;
  }
}

@media (min-width: 2560px) {
  .services-left-sticky {
    max-width: 560px;
    padding: 56px 52px;
  }

  .services-stack {
    max-width: 860px;
  }

  .service-card-sticky {
    min-height: 430px;
    padding: 54px 46px;
  }

  .service-card-sticky .service-icon {
    width: 76px;
    height: 76px;
    font-size: 1.9rem;
  }

  .service-card-sticky h3 {
    font-size: 1.55rem;
  }

  .service-card-sticky p {
    font-size: 1.1rem;
  }
}

@media (min-width: 3840px) {
  .services-left-sticky {
    max-width: 640px;
    padding: 64px 58px;
  }

  .services-stack {
    max-width: 980px;
  }

  .service-card-sticky {
    min-height: 480px;
    padding: 60px 52px;
  }

  .service-card-sticky .service-icon {
    width: 88px;
    height: 88px;
    font-size: 2.2rem;
  }

  .service-card-sticky h3 {
    font-size: 1.8rem;
  }

  .service-card-sticky p {
    font-size: 1.25rem;
  }
}

/* =========================================================
   360 ORBIT (signature element)
   ========================================================= */
.orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.orbit-svg {
  width: 100%;
  height: 100%;
}

.orbit-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.orbit-ring-spin {
  transform-origin: 260px 260px;
  animation: rotate-slow 40s linear infinite;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #0B2038;
  text-align: center;
  box-shadow: 0 0 60px rgba(207, 234, 61, 0.35);
}

.orbit-center .n {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.orbit-center .l {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  width: 92px;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: float-y 6s ease-in-out infinite;
}

.orbit-node .ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 8px;
  font-size: 1.1rem;
}

.orbit-node span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.feature-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  transition: border-color .4s, transform .4s var(--ease);
}

.feature-glass:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.feature-glass .f-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-glass h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-glass p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================
   WHY BUSINESS TRUST US
   ========================================================= */
.trust-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
}

.trust-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.trust-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-img-a {
  aspect-ratio: 3 / 4;
}

.trust-img-b {
  aspect-ratio: 3 / 4;
  margin-top: 40px;
}

.trust-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--primary-dim);
  color: #ffff;
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 200px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.55);
}

.trust-badge-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.trust-badge-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.trust-badge-avatars img:first-child {
  margin-left: 0;
}

.trust-badge-more {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-left: -10px;
  background: #0B2038;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge p {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #fff;
}

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

.trust-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.trust-checklist li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.trust-bottom {
  padding-top: 6px;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--text-faint);

  padding: 10px;
}


.trust-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-stat h3 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.1;
}

.trust-stat p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .trust-badge {
    position: static;
    margin-top: 20px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .trust-img-b {
    margin-top: 0;
  }

  .trust-bottom .col-md-4 {
    width: 100%;
  }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process-section {
  background-color: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.process-head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}

.process-title-italic {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--primary);
}

/* -- step tags + connecting line -- */
.process-tags {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 6%;
  margin-bottom: 0;
}

.process-tags::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}

.process-tag-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-tag {
  display: inline-block;
  background: #0E2A45;
  color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  transform: rotate(-6deg);
  white-space: nowrap;
}

.process-tag-stem {
  width: 1px;
  height: 54px;
  background: var(--line-strong);
  margin-top: 8px;
}

/* -- cards -- */
.process-cards {
  margin-top: -4px;
}

.process-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--primary-dim);
  border-radius: 20px;
  padding: 70px 26px 34px;
  height: 100%;
  overflow: hidden;
  text-align: center;
  transition: border-color .4s, transform .4s var(--ease);
}

.process-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.process-card::before {
  content: "";
  position: absolute;
  top: -46px;
  left: -12%;
  width: 124%;
  height: 100px;
  background: var(--primary-dim);
  border-radius: 50%;
}

.process-card-icon {
  position: relative;

  margin: 0 auto 24px;

  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.process-card-icon img {
  height: 55px;
}

.process-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #000;
}

.process-card p {
  color: #000;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 767.98px) {
  .process-tags {
    padding: 0 2%;
  }

  .process-tag {
    padding: 6px 12px;
    font-size: 0.68rem;
  }

  .process-tag-stem {
    height: 30px;
  }
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.portfolio-filters button {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
  color: #0B2038;
  background: var(--primary);
  border-color: var(--primary);
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
}

.work-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
  z-index: 0;
}

.work-row:hover::before {
  transform: scaleX(1);
}

.work-row-index,
.work-row-title,
.work-row-cat,
.work-row-arrow {
  position: relative;
  z-index: 1;
}

.work-row-index {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  width: auto;
  min-width: 88px;
  flex-shrink: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-faint);
  transition: -webkit-text-stroke-color .4s var(--ease), color .4s var(--ease);
}

.work-row-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: transform .5s var(--ease);
}

.work-row-title {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .4s var(--ease);
}

.work-row-result {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  transition: color .4s var(--ease);
}

.work-row-cat {
  flex: 0 0 auto;
  max-width: 260px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color .4s var(--ease);
}

.work-row-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-40deg);
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.icon-arrow {
  width: 16px;
  height: 16px;
  color: currentColor;
  flex-shrink: 0;
}

.work-row:hover .work-row-index {
  color: #fff;
  -webkit-text-stroke: 1.5px #fff;
}

.work-row:hover .work-row-cat {
  color: #fff;
}

.work-row:hover .work-row-title {
  color: #fff;
}

.work-row:hover .work-row-result {
  color: #fff;
}

.work-row:hover .work-row-main {
  transform: translateX(16px);
}

.work-row:hover .work-row-arrow {
  background: #0B2038;
  color: var(--primary);
  border-color: #0B2038;
  transform: rotate(0deg);
}

/* Cursor-follow image preview */
.work-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 1200;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.work-preview.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .work-preview {
    display: none;
  }

  .work-row {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .work-row-cat {
    max-width: none;
    text-align: left;
    flex-basis: 100%;
    order: 3;
  }
}

@media (max-width: 575px) {
  .work-row-title {
    font-size: 1.25rem;
  }

  .work-row {
    padding: 22px 4px;
    gap: 14px;
  }
}

/* =========================================================
   TESTIMONIALS — fixed spotlight image, only the card slides
   ========================================================= */
.ts-spotlight {
  position: relative;
}

.shap1 {
  position: absolute;
  right: 24px;
  top: 19px;
  width: 110px;
  z-index: 1;
  animation: rotateZoom 8s linear infinite;
  transform-origin: center;
  pointer-events: none;
}

.shap1 img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes rotateZoom {
  0% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(90deg) scale(1.2);
  }

  50% {
    transform: rotate(180deg) scale(1.5);
  }

  75% {
    transform: rotate(270deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 767.98px) {
  .shap1 {
    width: 64px;
    right: 12px;
    top: 8px;
    animation-name: rotateZoomSm;
  }

  @keyframes rotateZoomSm {
    0% {
      transform: rotate(0deg) scale(1);
    }

    25% {
      transform: rotate(90deg) scale(1.05);
    }

    50% {
      transform: rotate(180deg) scale(1.15);
    }

    75% {
      transform: rotate(270deg) scale(1.05);
    }

    100% {
      transform: rotate(360deg) scale(1);
    }
  }
}

.ts-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.ts-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials-swiper {
  width: 100%;
}

.ts-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px 36px;
  overflow: hidden;
}

.ts-card p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.ts-stars {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.ts-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.ts-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.ts-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-brand);
  margin-bottom: 24px;
}

.ts-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  display: block;
}

.ts-quote-icon {
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-size: 7rem;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 992px) {
  .testimonials-swiper {
    position: absolute;
    top: 50%;
    right: 48px;
    transform: translateY(-50%);
    width: 460px;
    z-index: 2;
  }

  .ts-card {
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  }
}

@media (max-width: 991.98px) {
  .ts-image {
    aspect-ratio: 16 / 10;
  }

  .testimonials-swiper {
    margin: -60px 16px 0;
  }
}

@media (max-width: 575.98px) {
  .ts-image {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 575.98px) {
  .ts-card {
    padding: 32px 24px 28px;
  }

  .ts-quote-icon {
    font-size: 5rem;
  }
}

.swiper-pagination-custom {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  justify-content: center;
}

.swiper-pagination-custom .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--line-strong);
  opacity: 1;
  transition: all .3s;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 44px;
}

/* =========================================================
   TEAM
   ========================================================= */
.team-section {
  position: relative;
  overflow: hidden;
}

.team-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.team-burst {
  position: absolute;
  top: 30px;
  left: 4%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
      var(--line-strong) 0deg 1deg,
      transparent 1deg 7.5deg);
  opacity: 0.8;
  pointer-events: none;
  animation: rotateZoom 10s linear infinite;
}

@media (max-width: 991.98px) {
  .team-burst {
    display: none;
  }
}

.team-card2 {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .4s, transform .4s var(--ease);
}

.team-card2:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.team-card2-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 18px;
  background-color: #123350;
}

.team-card2-top h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.team-card2-top p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.team-card2-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.team-card2-arrow:hover {
  background: var(--primary);
  color: #0B2038;
  transform: rotate(45deg);
}

.team-card2-img {
  flex: 1;
  aspect-ratio: 3 / 4;
}

.team-card2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}

.team-card2:hover .team-card2-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 36px;
  height: 100%;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
}

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(207, 234, 61, 0.06), var(--bg-card) 30%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 36px;
  background: var(--gradient-brand);
  color: #0B2038;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 100px;
  font-weight: 700;
}

.pricing-plan {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pricing-amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing-amount .cur {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
}

.pricing-amount .val {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-amount .per {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* =========================================================
   CTA STRIP
   ========================================================= */



.ctaSec {
  position: relative;
  background: url("../img/testiImgNew.jpg") center/cover no-repeat;
  padding: 50px 0;
  overflow: hidden;
}

.ctaSec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(107deg, rgb(0 0 0 / 26%) 0%, rgb(0 0 0 / 68%) 45%, rgb(0 0 0 / 86%) 100%);
}

.ctaSec>* {
  position: relative;
  z-index: 2;
}

.cta-strip .row {
  padding-top: 24px;
}

.cta-strip-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 11, 9, 0.35) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.cta-strip p {
  color: #fff;
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 0;
}

.cta-strip-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.cta-strip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 11, 9, 0.18);
}

.cta-strip-stat {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(10, 11, 9, 0.65);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-strip-stat span {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #0B2038;
  letter-spacing: -0.01em;
  text-transform: none;
}

.cta-strip .btn-dark-cta {
  background: #0B2038;
  color: var(--primary);
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}




.cta-strip-link:hover {
  color: #0B2038;
  border-color: #0B2038;
  gap: 12px;
}

/* Rotating badge — echoes the hero's circular wordmark */
.cta-badge {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.cta-badge-text {
  width: 100%;
  height: 100%;
  animation: rotateText 14s linear infinite;
}

.cta-badge-text text {
  fill: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.cta-badge-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0B2038;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform .4s var(--ease);
}

.cta-badge:hover .cta-badge-center {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 767.98px) {
  .cta-strip {
    padding: 0 24px 56px;
    text-align: center;
  }

  .cta-strip-ticker {
    margin: 0 -24px 40px;
  }

  .cta-strip p {
    max-width: none;
  }

  .cta-strip-actions {
    justify-content: center;
  }

  .cta-strip-stats {
    justify-content: center;
    text-align: center;
  }

  .cta-badge {
    margin-top: 40px;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.contact-card i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 4px;
}

.contact-card .lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-card .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.form-floating-premium {
  position: relative;
  margin-bottom: 24px;
}

.form-floating-premium input,
.form-floating-premium textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color .3s;
}

.form-floating-premium textarea {
  min-height: 140px;
  resize: vertical;
}

.form-floating-premium input:focus,
.form-floating-premium textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-floating-premium label {
  position: absolute;
  left: 20px;
  top: 17px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  pointer-events: none;
  transition: all .25s var(--ease);
}

.form-floating-premium input:focus~label,
.form-floating-premium input:not(:placeholder-shown)~label,
.form-floating-premium textarea:focus~label,
.form-floating-premium textarea:not(:placeholder-shown)~label {
  top: 8px;
  font-size: 0.62rem;
  color: var(--primary);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--gradient-radial);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col .footer-brand {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-brand-col .footer-brand img {
  height: 150px;
  width: auto;
  border-radius: 8px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 26px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text);
  transition: all .3s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #0B2038;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 14px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s, transform .25s;
}

.footer-links a i {
  font-size: 0.6rem;
  color: var(--primary);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact-list i {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* -- bottom bar -- */
.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 28px;
}

.footer-bottom-links a {
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}



/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .4s var(--ease);
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px -8px rgba(207, 234, 61, 0.55);
}

/* =========================================================
   MISC WOW/AOS DEFAULTS
   ========================================================= */
.wow {
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .about-badge-exp {
    left: 0;
    bottom: -20px;
    padding: 16px 18px;
  }

  .about-img-secondary {
    display: none;
  }

  .hero-stat {
    padding-right: 24px;
    margin-right: 24px;
  }
}

/* img hover */
.image-box {
  position: relative;
  overflow: hidden;
}

.image-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, .25);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
}

.image-box:hover::before {
  animation: ripple 2s ease;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: .8;
  }

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

/* ================= INSIGHTS SLIDER ================= */
.insights-section {
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

.insights-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: var(--gradient-radial);
  pointer-events: none;
}

.insights-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.insights-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

.insights-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
}

.insights-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.insights-swiper {
  padding: 10px 4px 12px;
  overflow: visible;
}

.insight-card {
  display: block;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55);
}

.insight-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.insight-card:hover .insight-card-img img {
  transform: scale(1.08);
}

.insight-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 26, 51, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 50px;
}

.insight-card-body {
  padding: 26px 24px 28px;
}

.insight-card-body h3 {
  font-size: 1.15rem;
  line-height: 1.32;
  margin-bottom: 12px;
  color: var(--text);
  transition: color .35s var(--ease);
}

.insight-card:hover .insight-card-body h3 {
  color: var(--primary);
}

.insight-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.insight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text);
  font-weight: 600;
}

.insight-card-link i {
  font-size: 0.78rem;
  color: var(--primary);
  transition: transform .35s var(--ease);
}

.insight-card:hover .insight-card-link i {
  transform: translateX(5px);
}

@media (max-width: 991.98px) {
  .insights-nav {
    margin-top: 24px;
  }
}

/* ================= WHAT'S NEW ================= */
.whats-new-section {
  background-color: var(--bg);
}

.whats-new-card {
  display: block;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  padding-bottom: 20px;
}

.whats-new-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55);
}

.whats-new-img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.whats-new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.whats-new-card:hover .whats-new-img img {
  transform: scale(1.08);
}

.whats-new-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px;
  width: 90%;
  background: var(--bg);
  margin: auto;
  margin-top: -34px;
  z-index: 9;
  position: relative;
  border-radius: 12px;
  height: 150px;
  align-items: center;
}

.whats-new-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text);
}

.whats-new-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 30ch;
}

.whats-new-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .4s var(--ease), background .4s var(--ease);
}

.whats-new-card:hover .whats-new-arrow {
  background: var(--primary);
  transform: rotate(45deg);
  color: #fff;
}

/* ================= CUSTOMER STORIES SLIDER ================= */
.stories-section {
  background-color: var(--bg);
  border-bottom: 1px solid #4e4e4ea9;
}

.stories-swiper {
  padding: 10px 4px 12px;
  overflow: visible;
}

.story-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}

.story-card:hover {
  transform: scale(1.045);
  box-shadow: 0 28px 55px -20px rgba(0, 0, 0, .6);
  z-index: 2;
}

.story-card .image-box {
  position: absolute;
  inset: 0;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(6, 26, 51, 0) 40%, rgba(0, 13, 29, 0.92) 100%);
}

.story-card-overlay h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}

.story-card-overlay p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.story-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  transition: background .35s var(--ease);
}

.story-card:hover .story-card-badge {
  background: var(--primary-dim);
}

/* ================= BLOG / NEWS & INSIGHTS SLIDER ================= */
.blog-section {
  background-color: var(--bg);
}

.blog-swiper {
  padding: 10px 4px 40px;
  overflow: visible;
}

.blog-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  background: #000;
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .5s var(--ease);
  will-change: transform;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .55);
  border-color: var(--line-strong);
}

/* BIG IMAGE */
.blog-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .8s var(--ease);
}

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

/* DARK GRADIENT OVER IMAGE */
.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .25) 52%, rgb(14 44 75 / 79%) 78%, rgb(11 49 84) 100%);
  z-index: 1;
}

/* CATEGORY */
.blog-cat {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;

  background: rgba(255, 255, 255, .95);
  color: #0B2038;

  font-family: var(--font-mono);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;

  padding: 7px 15px;
  border-radius: 100px;
  font-weight: 700;
}

/* CONTENT AT BOTTOM */
.blog-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 3;

  display: flex;
  flex-direction: column;

  padding: 30px;
  color: #fff;
}

/* META */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;

  margin-bottom: 12px;

  font-family: var(--font-mono);
  font-size: .68rem;
  color: rgba(255, 255, 255, .72);

  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* TITLE */
.blog-body h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 10px;
}

/* DESCRIPTION */
.blog-body p {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 520px;
}

/* READ MORE */
.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  color: #fff;
  font-weight: 700;
  font-size: .85rem;

  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .25);

  transition: color .3s ease;
}

.blog-readmore i {
  font-size: .72rem;
  transition: transform .35s var(--ease);
}

.blog-card:hover .blog-readmore {
  color: var(--primary);
}

.blog-card:hover .blog-readmore i {
  transform: translateX(6px);
}

/* ================= HERO BANNER ================= */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--bg);
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-swiper {
  width: 100%;
  height: 100%;
}

.video-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-banner-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.30) 32%,
      rgba(0, 0, 0, 0.70) 78%,
      rgba(0, 0, 0, 0.90) 100%),
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.60) 0%,
      rgba(0, 0, 0, 0) 45%);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-dim);
  flex-shrink: 0;
}

.hero-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 34px;
  max-width: 640px;
}

.hero-banner-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btn-outline {
  background: rgba(6, 26, 51, .35);
  border: 1px solid rgba(255, 255, 255, .4);
  color: var(--text);
  backdrop-filter: blur(6px);
  padding: 8px 26px;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: var(--text);
  transform: translateY(-2px);
}

.hero-banner-right {
  padding-left: clamp(0px, 3vw, 40px);
}

.hero-banner-desc {
  color: #fff;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 26px;
}

.hero-banner-divider {
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  margin-bottom: 24px;
}

.hero-banner-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-banner-trust .trust-badge-avatars {
  flex-shrink: 0;
}

.hero-banner-trust p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 220px;
  margin: 0;
}

.hero-banner-trust p strong {
  color: var(--primary-dim);
  font-size: 1.05rem;
}

.hero-banner-watch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.hero-banner-watch-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.hero-banner-watch:hover .hero-banner-watch-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  transform: scale(1.06);
}

.hero-banner-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px) 28px;
}

.hero-banner-controls .video-pagination {
  position: static;
  margin: 0;
}

@media (max-width: 991.98px) {
  .hero-banner-right {
    padding-left: 0;
  }

  .hero-banner-desc,
  .hero-banner-divider {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-banner {
    min-height: auto;
    padding-bottom: 20px;
  }

  .hero-banner-inner {
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .hero-banner-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 26px;
  }

  .hero-banner-controls {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.bg {
  background-color: var(--bg);
}

.dark2 {
  background-color: var(--dark2);
}

/* =========================================================
   INNER PAGE HERO (About / Services / etc.)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 190px 0 110px;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(41, 174, 203, 0.18), transparent 55%);
  pointer-events: none;
}

/* banner image variant */
.page-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 51, 0.88) 0%, rgba(6, 26, 51, 0.82) 45%, var(--bg) 100%),
    radial-gradient(circle at 80% 10%, rgba(41, 174, 203, 0.25), transparent 55%);
}

.page-hero>.container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  margin: 10px 0 16px;
}

.page-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-hero-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.page-hero-breadcrumb a:hover {
  color: var(--primary);
}

.page-hero-breadcrumb i {
  font-size: 0.7rem;
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 140px 0 60px;
  }
}

/* =========================================================
   MISSION & VISION (About page)
   ========================================================= */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mv-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 174, 203, 0.16), transparent 70%);
}

.mv-card .icon-circle-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-elevated-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 26px;
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--text);
}

.mv-card p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CORE VALUES (About page)
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--dark2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.value-card .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.value-card h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================================================
   STORY SECTION (About page)
   ========================================================= */
.story-media {
  position: relative;
}

.story-media .image-box {
  border-radius: 20px;
  overflow: hidden;
}

.story-media .image-box img {
  width: 100%;

  object-fit: cover;
}

.story-experience-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--gradient-brand);
  color: #0B2038;
  border-radius: 16px;
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-experience-badge h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.story-experience-badge p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
  .story-experience-badge {
    left: 16px;
    bottom: -20px;
    padding: 16px 20px;
  }
}

/* =========================================================
   STAT STRIP (shared: About / Services / Portfolio)
   ========================================================= */
.stat-strip {
  background: var(--dark2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-strip-item {
  text-align: center;
  padding: 46px 20px;
  border-right: 1px solid var(--line);
}

.stat-strip-item:last-child {
  border-right: none;
}

.stat-strip-item h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-strip-item h3 span {
  color: var(--primary);
}

.stat-strip-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip-item {
    border-bottom: 1px solid var(--line);
  }

  .stat-strip-item:nth-child(2n) {
    border-right: none;
  }
}

/* =========================================================
   SERVICE DETAIL CARDS (Services page)
   ========================================================= */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 34px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}

.service-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-elevated-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-detail-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 12px;
}

.service-detail-card>p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.service-detail-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex-grow: 1;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-detail-list li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.78rem;
}

.service-detail-card .service-link {
  margin-top: auto;
}

@media (max-width: 991.98px) {
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================================================
   PORTFOLIO GRID (Portfolio page)
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  color: var(--text);
}

.portfolio-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.08);
}

.portfolio-card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 26, 51, 0.75);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
}

.portfolio-card-body {
  padding: 26px 26px 30px;
}

.portfolio-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.portfolio-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.portfolio-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.portfolio-card-arrow i {
  transition: transform .3s var(--ease);
}

.portfolio-card:hover .portfolio-card-arrow i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================================================
   TIMELINE (About page milestones)
   ========================================================= */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 70px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 1;
}

.timeline-item h4 {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item .timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

/* =========================================================
   PRACTICE AREA CARDS (About page)
   ========================================================= */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 32px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.practice-card .service-detail-icon {
  margin-bottom: 22px;
}

.practice-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TRAINING FORMAT STRIP (Training page)
   ========================================================= */
.format-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.format-item {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
}

.format-item .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.format-item h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.format-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 767.98px) {
  .format-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   TRAINING CURRICULUM ACCORDION (Training page)
   ========================================================= */
.curriculum-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.curriculum-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 22px 26px;
  box-shadow: none !important;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-elevated-2);
  color: var(--primary);
}

.curriculum-accordion .accordion-button::after {
  filter: invert(63%) sepia(80%) saturate(400%) hue-rotate(150deg);
}

.curriculum-accordion .accordion-body {
  color: var(--text-muted);
  padding: 6px 26px 26px;
  font-size: 0.92rem;
}

.curriculum-accordion .accordion-body ul {
  margin: 0;
  padding-left: 20px;
}

.curriculum-accordion .accordion-body li {
  margin-bottom: 8px;
}
/* =========================================================
   LEGAL PAGES (Privacy Policy / Terms & Conditions)
   ========================================================= */
.legal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .legal-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.legal-toc {
  position: sticky;
  top: 110px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}

@media (max-width: 991.98px) {
  .legal-toc {
    position: relative;
    top: 0;
  }
}

.legal-toc-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal-toc-counter;
}

.legal-toc li {
  counter-increment: legal-toc-counter;
  margin-bottom: 4px;
}

.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.legal-toc a::before {
  content: counter(legal-toc-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--bg-elevated-2);
  color: var(--text);
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(41, 174, 203, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.legal-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 0;
}

.legal-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 38px;
  margin-bottom: 22px;
  scroll-margin-top: 110px;
}

@media (max-width: 575.98px) {
  .legal-block {
    padding: 26px 22px;
  }
}

.legal-block h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.legal-block h2 span.legal-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.legal-block h3 {
  font-size: 1.02rem;
  color: var(--text);
  margin: 22px 0 10px;
}

.legal-block p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.legal-block ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.legal-block ul li::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.8rem;
}

.legal-block ul li:last-child {
  margin-bottom: 0;
}

.legal-callout {
  display: flex;
  gap: 16px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 18px 0;
}

.legal-callout i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.legal-callout p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.legal-contact-card {
  background: var(--gradient-brand);
  border-radius: 18px;
  padding: 38px;
  color: #06263A;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-contact-card h3 {
  color: #06263A;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.legal-contact-card p {
  color: rgba(6, 38, 58, 0.78);
  margin: 0;
  max-width: 420px;
}

.legal-contact-card .btn-premium {
  background: #06263A;
  color: var(--text);
  border: none;
}

.legal-contact-card .btn-premium:hover {
  background: #04182A;
}
