@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f8fc;
  --bg-soft: #edf5fb;
  --white: #ffffff;
  --blue-900: #1e355f;
  --blue-800: #294a80;
  --blue-700: #2f6fae;
  --teal-600: #2f82cb;
  --teal-500: #3d9ee5;
  --accent: #d7b77a;
  --text: #213a60;
  --muted: #42474e;
  --border: #d8e5f0;
  --shadow-sm: 0 8px 22px rgba(30, 53, 95, 0.1);
  --shadow-md: 0 16px 40px rgba(30, 53, 95, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Public Sans', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 5% 0%, rgba(61, 158, 229, 0.16), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(215, 183, 122, 0.1), transparent 20%),
    linear-gradient(180deg, #f8fbfe 0%, var(--bg) 50%, #f8fcff 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.kicker {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
  border: 1px solid #c6d8ea;
  background: #f1f8ff;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 700;
}

.brand-band {
  width: 100%;
  background:
    radial-gradient(circle at 85% 20%, rgba(216, 188, 132, 0.28), transparent 26%),
    radial-gradient(circle at 15% 84%, rgba(61, 158, 229, 0.24), transparent 30%),
    linear-gradient(120deg, #1e355f, #2b588f 58%, #3d9ee5 100%);
}

.brand-band .kicker {
  color: #d8ebff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.brand-band .section-title {
  color: #ffffff;
}

.brand-band .section-subtitle {
  color: #d9e9f8;
  margin-bottom: 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.95rem, 2.7vw, 2.7rem);
  line-height: 1.4;
  color: var(--blue-900);
  letter-spacing: -0.025em;
}

.section-subtitle {
  margin: 0 0 30px;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.06rem;
}

.home-page .section-title,
.home-page .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-list-page .section-title,
.services-list-page .section-subtitle,
.clients-page .section-title,
.clients-page .section-subtitle,
.portfolio-page .section-title,
.portfolio-page .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-page .kicker {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}


.not-found {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.not-found-code {
  margin: 0 0 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  font-size: clamp(4rem, 9vw, 6.5rem);
  color: rgba(30, 53, 95, 0.18);
}

.not-found-help {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar {
  background: linear-gradient(120deg, #1e355f, #2d609b 68%, #3d9ee5);
  color: #d8e8f7;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-strip {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fcff, #eef6fd);
}

.breadcrumb {
  margin: 0;
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue-800);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--teal-600);
}

.breadcrumb .sep {
  color: #9ab0c6;
}

.breadcrumb [aria-current='page'] {
  color: var(--blue-900);
  font-weight: 700;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(150deg, #0f365e, #17718d);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.84);
}

.brand-text h1 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.18rem;
  color: var(--blue-900);
}

.brand-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 95;
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown a:hover {
  color: var(--teal-600);
  background: #f2f9ff;
}

.nav-dropdown a.active-service {
  color: var(--teal-600);
  background: #ecf9f8;
  border: 1px solid #b7e4e1;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--blue-900);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--teal-600);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-900);
  padding: 7px 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 21px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.93rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #1e355f, #3d9ee5);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-accent {
  color: #fff;
  background: linear-gradient(130deg, var(--teal-600), var(--teal-500));
}

.nav-links .btn-accent {
  padding: 13px 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(130deg, #2d609b, #3d9ee5);
  box-shadow: 0 12px 26px rgba(30, 53, 95, 0.42), 0 0 0 1px rgba(30, 53, 95, 0.2);
  letter-spacing: 0.02em;
}

.nav-links .btn-accent:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: linear-gradient(130deg, #274f80, #3288ca);
  box-shadow: 0 16px 32px rgba(30, 53, 95, 0.42);
}

.nav-links .btn-accent:focus-visible {
  outline: 2px solid #1e355f;
  outline-offset: 2px;
}

.btn-video {
  color: var(--blue-900);
  border-color: #bfd4e8;
  background: #f6fbff;
}

.btn-video:hover {
  color: var(--teal-600);
  border-color: var(--teal-600);
}

.hero {
  padding: 0 0 44px;
}

.hero-slider {
  position: relative;
  min-height: clamp(520px, 72vh, 660px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow-md);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  isolation: isolate;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
   background: linear-gradient(90deg, rgba(6, 24, 43, 0.9) 0%, rgb(7 33 56 / 86%) 32%, rgb(7 30 49 / 11%) 54%, rgb(7 30 49 / 0%) 74%, rgba(7, 30, 49, 0) 100%), linear-gradient(180deg, rgb(5 19 34 / 0%) 0%, rgb(5 19 34 / 0%) 100%)
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding-top: 78px;
  padding-right: 58px;
  padding-bottom: 118px;
  padding-left: max(18px, calc((100vw - min(1160px, 92vw)) / 2));
  color: #ecf5ff;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  color: #f0f8ff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.46);
  margin-bottom: 13px;
  font-weight: 700;
}

.hero h2 {
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.04rem, 4.15vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  font-size: 1.1rem;
  color: #dbe9f6;
  max-width: 94%;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  border: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
}

.hero-dot.active {
  width: 32px;
  background: #fff;
}

.cred-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cred-item {
  border-radius: 15px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #f4f9fd);
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.cred-item strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  color: var(--blue-900);
}

.cred-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-grid,
.card-grid,
.logo-grid,
.recognition-grid,
.video-grid,
.photo-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.why-grid,
.card-grid,
.video-grid,
.photo-grid {
  grid-template-columns: repeat(3, 1fr);
}

.logo-grid,
.recognition-grid {
  grid-template-columns: repeat(2, 1fr);
}

.client-segments-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-card,
.card,
.logo-item,
.recognition-card,
.gallery-item,
.video-card,
.photo-card,
.form-wrap {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow-sm);
}

.why-card,
.card,
.recognition-content,
.gallery-item {
  padding: 22px;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.why-image {
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

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

.why-content {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.why-point {
  padding-bottom: 12px;
  border-bottom: 1px dashed #c6d8e9;
}

.why-point:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.why-point h3 {
  margin: 0 0 6px;
  font-family: 'Manrope', sans-serif;
  color: var(--blue-900);
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-point h3::before {
  content: "\2713";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #123f67, #1a8394);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(18, 63, 103, 0.24);
}

.why-point p {
  margin: 0;
  color: var(--muted);
}

.why-card h3,
.card h3,
.video-meta h3,
.gallery-item h4 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-services .card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.featured-service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.featured-services .card .btn {
  margin-top: auto;
}

.featured-services-cta {
  margin-top: 18px;
  text-align: center;
}

.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #123f67, #1a8394);
  box-shadow: 0 6px 14px rgba(18, 63, 103, 0.25);
  flex-shrink: 0;
}

.why-card p,
.card p,
.card li,
.video-meta p,
.recognition-content p,
.gallery-item p {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.logo-item {
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
}

.logo-marquee {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow-sm);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 0 16px;
  animation: logo-scroll-ltr 24s linear infinite;
}

.logo-pill {
  min-width: 270px;
  border: 1px solid #c8daea;
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(145deg, #ffffff, #eff8ff);
}

.logo-pill img {
  display: block;
  margin: 0 auto;
}

.logo-pill-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  background: linear-gradient(135deg, #1e355f, #3d9ee5);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 18px rgba(15, 66, 111, 0.22);
  flex-shrink: 0;
}

@keyframes logo-scroll-ltr {
  from {
    transform: translateX(0);
  }

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

.recognition-card {
  overflow: hidden;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-preview-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow-sm);
}

.project-preview-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.project-preview-content {
  padding: 18px;
}

.project-preview-content h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
}

.project-preview-content p {
  margin: 0;
  color: var(--muted);
}

.portfolio-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-event-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #f4f9fd);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.portfolio-event-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 171, 171, 0.24), transparent 34%),
    linear-gradient(120deg, #1e355f, #3d9ee5);
}

.portfolio-logo-badge {
  width: 88px;
  min-width: 88px;
  height: 88px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #d9e6f2;
  box-shadow: 0 6px 14px rgba(9, 30, 66, 0.12);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.portfolio-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.portfolio-label {
  margin: 0 0 2px;
  color: #cde8f8;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.portfolio-event-head h3 {
  margin: 0;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  line-height: 1.3;
}

.portfolio-event-body {
  padding: 16px 18px 18px;
}

.portfolio-event-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.portfolio-event-body p:last-child {
  margin-bottom: 0;
}

.recognition-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.recognition-content h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 1.08rem;
}

.recognition-content p {
  margin: 0;
  color: var(--muted);
}

.video-card {
  overflow: hidden;
}

.video-thumb {
  min-height: 170px;
  padding: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  color: #eaf6ff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.06rem;
  background:
    linear-gradient(0deg, rgba(9, 32, 58, 0.8), rgba(9, 32, 58, 0.2)),
    radial-gradient(circle at 80% 20%, rgba(37, 180, 179, 0.4), transparent 30%),
    linear-gradient(130deg, #15466f, #1a6d87);
}

.video-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-meta {
  padding: 18px;
}

.photo-card {
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
}

.media-gallery-title,
.media-gallery-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.media-tab {
  border: 0;
  background: transparent;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 2px;
}

.media-tab.is-active {
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.media-tab-sep {
  color: #90a9bf;
  font-size: 0.92rem;
}

.media-tabs {
  justify-content: center;
  text-align: center;
}

.photo-card.is-hidden {
  display: none;
}

.photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.media-video-title {
  margin: 0;
  padding: 12px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.94rem;
  color: var(--blue-900);
}

.media-video-link {
  display: block;
  position: relative;
}

.media-video-link img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.media-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  padding: 0;
}

.photo-meta {
  padding: 16px 18px 18px;
}

.photo-meta h4 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
}

.photo-meta p {
  margin: 0;
  color: var(--muted);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.video-modal.is-open {
  display: block;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 36, 0.72);
}

.video-modal-dialog {
  position: relative;
  width: min(960px, 92vw);
  margin: 7vh auto 0;
  background: #071a2f;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.video-modal-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-modal-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

.image-modal.is-open {
  display: block;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 36, 0.82);
}

.image-modal-dialog {
  position: relative;
  width: min(1080px, 94vw);
  margin: 5vh auto 0;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 10px;
}

.image-modal-frame-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d0e1ef;
  background: #0f1f30;
}

.image-modal-frame-wrap img {
  width: 100%;
  height: min(84vh, 780px);
  object-fit: contain;
  display: block;
}

.image-modal-close,
.image-modal-nav {
  border: 1px solid #c3d8e8;
  background: #f6fbff;
  color: var(--blue-900);
  cursor: pointer;
}

.image-modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
}

.image-modal-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo-card img[data-gallery-image] {
  cursor: zoom-in;
}

.testimonial {
  border-left: 4px solid var(--accent);
}

.testimonial .name {
  margin-top: 12px;
  font-weight: 700;
  color: var(--blue-900);
}

.cta-band {
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 34px;
  color: #e1f4fc;
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 188, 132, 0.26), transparent 24%),
    linear-gradient(120deg, #1e355f, #3d9ee5);
}

.cta-band h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.72rem;
  font-family: 'Manrope', sans-serif;
}

.cta-band p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-hero {
  padding-top: 60px;
  padding-bottom: 54px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 0.75fr;
  gap: 10px;
  align-items: center;
}

.about-hero-content .section-subtitle {
  margin-bottom: 20px;
}

.about-hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.about-hero-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  padding: 10px 10px;
  border: 1px solid #c8ddef;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.84rem;
  background: #f1f8ff;
}

.about-image-stack {
  position: relative;
  min-height: 380px;
}

.about-image-large,
.about-image-small {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.about-image-large {
  width: 100%;
  min-height: 360px;
}

.about-image-small {
  width: 46%;
  position: absolute;
  right: -10px;
  bottom: -26px;
  min-height: 180px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-intro-card ul {
  margin: 0;
  padding-left: 18px;
}

.about-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.about-stat-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px;
  background: linear-gradient(145deg, #ffffff, #f2f9ff);
  box-shadow: var(--shadow-sm);
}

.about-stat-card strong {
  display: block;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.about-stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-vision-band {
  background:
    radial-gradient(circle at 8% 22%, rgba(37, 178, 176, 0.16), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(216, 188, 132, 0.16), transparent 24%),
    linear-gradient(180deg, #eef7ff, #e8f4fd);
  border-top: 1px solid #d8e8f4;
  border-bottom: 1px solid #d8e8f4;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-vision-card {
  border-radius: 18px;
  border: 1px solid #cfe1f0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.about-vision-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
}

.about-vision-card p {
  margin: 0;
  color: var(--muted);
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.service-list-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border-radius: 18px;
  border: 1px solid #d2e2ef;
  background: linear-gradient(148deg, #ffffff, #f4f9fd);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.service-list-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-list-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(130deg, #1f3e67, #2b86be);
  box-shadow: 0 8px 16px rgba(31, 62, 103, 0.24);
}

.service-list-icon svg {
  width: 23px;
  height: 23px;
}

.service-list-head h3 {
  margin: 0;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem;
  line-height: 1.32;
}

.service-list-card p {
  margin: 0;
}

.service-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.service-list-link {
  color: var(--blue-800);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-list-link:hover {
  color: var(--teal-600);
}

.service-list-actions .service-list-link:last-child {
  margin-left: auto;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.service-detail-main {
  display: grid;
  gap: 18px;
}

.service-hero-card {
  border-radius: 5px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f5fbff);
  box-shadow: var(--shadow-sm);
}

.service-hero-visual {
  width: 100%;
  height: 250px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(61, 158, 229, 0.36), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(27, 184, 163, 0.28), transparent 36%),
    linear-gradient(132deg, #183860, #2d6ca6);
}

.service-hero-content {
  padding: 20px;
}

.service-hero-visual .section-title {
  margin: 0;
  color: #ffffff;
  text-align: center;
  max-width: 90%;
}

.service-hero-content .section-subtitle {
  margin-bottom: 0;
}

.service-content-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
}

.service-content-card p {
  margin: 0 0 12px;
}

.service-content-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 16px;
}

.service-sidebar-card h3 {
  margin: 0 0 12px;
}

.service-side-links {
  display: grid;
  gap: 8px;
}

.service-side-links a {
  border: 1px solid #ccdeec;
  border-radius: 10px;
  padding: 5px 12px;
  color: var(--blue-900);
  font-weight: 500;
  background: #f6fbff;
}

.service-side-links a:hover,
.service-side-links a.active {
  border-color: #2f82cb;
  color: #2f82cb;
  background: #eaf4fe;
}

.service-side-links a.active {
  border-width: 2px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(15, 127, 138, 0.16);
}

.service-side-links a.is-current {
  border-left: 4px solid #2f82cb;
  border-color: #2f82cb;
  background: linear-gradient(145deg, #e7f2fd, #f3f8ff);
  color: #2f82cb;
  padding-left: 10px;
  box-shadow: 0 10px 18px rgba(47, 130, 203, 0.24);
}

.service-form-card {
  padding: 22px;
}

.about-team-card {
  text-align: left;
}

.about-team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #1e355f, #3d9ee5);
}

.about-team-role {
  margin: 0 0 10px;
  color: var(--teal-600);
  font-weight: 700;
}

.about-team-photo {
  width: 100%;
  height: 345px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.about-team-card .btn {
  margin-top: 6px;
}

.team-row-list {
  display: grid;
  gap: 18px;
}

.team-row-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  overflow: hidden;
}

.team-row-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.team-row-content {
  padding: 20px 22px;
}

.team-row-content h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: 'Manrope', sans-serif;
}

.team-row-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

.team-row-content p:last-child {
  margin-bottom: 0;
}

.team-read-more {
  display: none;
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.team-summary-mobile {
  display: none;
}

.team-expanded-first {
  display: none;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  border-bottom: 1px dashed #c1d7e8;
  padding: 10px 0;
}

.whatsapp-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #1fae58;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid #1a9b4d;
  box-shadow: 0 6px 14px rgba(31, 174, 88, 0.26);
}

.whatsapp-chat-btn:hover {
  background: #189246;
  color: #ffffff;
}

.calendar-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #1e355f, #3d9ee5);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid #2c5f93;
  box-shadow: 0 6px 14px rgba(30, 53, 95, 0.24);
}

.calendar-booking-btn:hover {
  background: linear-gradient(120deg, #1a2f51, #2f86c9);
  color: #ffffff;
}

.gallery-item {
  min-height: 188px;
  background:
    radial-gradient(circle at top right, rgba(16, 159, 158, 0.16), transparent 40%),
    linear-gradient(150deg, #f8fcff, #eef6fd);
}

.form-wrap {
  padding: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin: 0 0 6px;
  color: var(--blue-900);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c3d8ea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-feedback {
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.form-feedback.is-success {
  background: #e8f8ef;
  color: #166d3b;
  border: 1px solid #b9e8c9;
}

.form-feedback.is-error {
  background: #fff0f0;
  color: #8d1b1b;
  border: 1px solid #f0c5c5;
}

.form-client-errors ul {
  margin: 0;
  padding-left: 18px;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  display: none;
  background: #e8f8ef;
  color: #166d3b;
}

.footer {
  margin-top: 72px;
  background: linear-gradient(120deg, #1e355f, #2a578e);
  color: #c8d9ea;
  padding: 38px 0 20px;
}

.footer h4 {
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  margin: 0 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1fr;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1e355f, #3d9ee5);
  border: 1px solid rgba(255, 255, 255, 0.36);
  position: relative;
  flex-shrink: 0;
}

.footer-brand-mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.84);
}

.footer-brand-text h4 {
  margin: 0;
}

.footer-brand-text img {
  background-color: #ffffff;
  border-radius: 10px;
}

.footer-brand-text p {
  margin: 0;
  color: #bcd4ec;
  font-size: 0.82rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links li {
  color: #d2e0ef;
  font-size: 0.93rem;
}

.footer-links a {
  color: #d2e0ef;
}

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

.footer-contact span {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #2d4b6b;
  font-size: 0.92rem;
}

.floating-enquiry,
.floating-whatsapp {
  position: fixed;
  z-index: 70;
  border-radius: 999px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.floating-enquiry {
  right: 18px;
  bottom: 82px;
  background: linear-gradient(120deg, #1e355f, #3d9ee5);
  padding: 12px 18px;
}

.floating-whatsapp {
  left: 18px;
  right: auto;
  bottom: 22px;
  background: #1fae58;
  padding: 11px 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none;
  }

  .btn {
    transition: none;
  }

  .logo-marquee-track {
    animation: none;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 120;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-item-has-dropdown {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 10px;
    min-width: 100%;
    margin-top: 6px;
    background: #f8fbff;
    border-color: #d7e6f1;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .cred-strip,
  .about-hero-grid,
  .about-intro-grid,
  .about-stats,
  .about-vision-grid,
  .about-gallery-grid,
  .why-layout,
  .why-grid,
  .card-grid,
  .portfolio-event-grid,
  .project-preview-grid,
  .logo-grid,
  .recognition-grid,
  .video-grid,
  .photo-grid,
  .gallery-grid,
  .form-row,
  .split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-slider {
    min-height: clamp(560px, 74vh, 680px);
  }

  .hero-content {
    padding-top: 66px;
    padding-right: 22px;
    padding-bottom: 104px;
    padding-left: max(18px, calc((100vw - min(1160px, 92vw)) / 2));
    max-width: 92%;
  }

  .hero h2 {
    font-size: clamp(1.88rem, 4.8vw, 2.7rem);
  }

  .hero p {
    font-size: 1.02rem;
  }

  .about-image-small {
    right: 6px;
    bottom: -18px;
  }

  .team-row-card {
    grid-template-columns: 170px 1fr;
    align-items: start;
    column-gap: 16px;
    padding: 14px;
  }

  .team-row-photo {
    width: 150px;
    min-width: 150px;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin: 0;
  }

  .team-row-content {
    padding: 0;
  }

  .team-row-content p {
    margin-bottom: 10px;
  }

  .team-row-content .team-more-content {
    display: none;
  }

  .team-row-card.is-expanded .team-more-content {
    display: block;
  }

  .team-read-more {
    display: inline-flex;
  }

  /* Team page: keep full details on tablet, collapse only on mobile. */
  .team-page .team-summary-desktop {
    display: block;
  }

  .team-page .team-summary-mobile {
    display: none;
  }

  .team-page .team-row-content .team-more-content {
    display: block;
  }

  .team-page .team-read-more {
    display: none;
  }

  .client-segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 0 0 40px;
  }

  .breadcrumb {
    font-size: 0.84rem;
    gap: 7px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .topbar .container {
    justify-content: center;
    padding: 8px 0;
  }

  .topbar-left {
    display: none;
  }

  .topbar-right {
    white-space: nowrap;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .cred-strip,
  .about-hero-grid,
  .about-intro-grid,
  .about-stats,
  .about-vision-grid,
  .about-gallery-grid,
  .why-layout,
  .why-grid,
  .card-grid,
  .portfolio-event-grid,
  .project-preview-grid,
  .logo-grid,
  .recognition-grid,
  .video-grid,
  .photo-grid,
  .gallery-grid,
  .form-row,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: clamp(560px, 78svh, 640px);
    border-radius: 0;
  }

  .about-hero-badges {
    grid-template-columns: 1fr;
  }

  .why-image img {
    min-height: 280px;
  }

  .hero-content {
    padding-top: 44px;
    padding-right: 18px;
    padding-bottom: 92px;
    padding-left: 18px;
    max-width: 100%;
  }

  .hero h2 {
    font-size: clamp(1.58rem, 7vw, 2.16rem);
    line-height: 1.14;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 0.96rem;
    max-width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-controls {
    bottom: 14px;
    left: 16px;
    right: 16px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .cta-band {
    padding: 24px;
  }

  .video-modal-dialog {
    width: 94vw;
    margin-top: 11vh;
  }

  .image-modal-dialog {
    grid-template-columns: 1fr;
    width: 94vw;
    margin-top: 8vh;
  }

  .image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    z-index: 2;
  }

  .image-modal-nav.prev {
    left: 8px;
  }

  .image-modal-nav.next {
    right: 8px;
  }

  .about-hero {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .about-image-stack {
    min-height: 0;
  }

  .about-image-large,
  .about-image-small {
    position: static;
    width: 100%;
    min-height: 220px;
  }

  .media-tabs {
    gap: 6px;
  }

  .media-tab,
  .media-tab-sep {
    font-size: 0.82rem;
  }

  .team-row-card {
    grid-template-columns: 170px 1fr;
    align-items: start;
  }

  .team-page .team-row-card {
    grid-template-columns: 132px 1fr;
    column-gap: 12px;
    padding: 12px;
    align-items: start;
  }

  .team-page .team-row-photo {
    width: 120px;
    min-width: 120px;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    border-radius: 10px;
  }

  .team-page .team-row-content {
    padding: 0;
  }

  .team-page .team-summary-desktop {
    display: none;
  }

  .team-page .team-summary-mobile {
    display: block;
  }

  .team-page .team-row-content .team-more-content {
    display: none;
  }

  .team-page .team-row-card.is-expanded .team-more-content {
    display: block;
  }

  .team-page .team-row-card.is-expanded .team-summary-mobile {
    display: none;
  }

  .team-page .team-row-card.is-expanded .team-expanded-first {
    display: block;
  }

  .team-page .team-read-more {
    display: inline-flex;
    margin-top: 2px;
  }

  /* On mobile expand, place full details below the image for better space usage. */
  .team-page .team-row-card.is-expanded {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .team-page .team-row-card.is-expanded .team-row-photo {
    margin: 0;
  }

  .team-page .team-row-card.is-expanded .team-row-content {
    grid-column: 1;
  }

  .logo-marquee {
    padding: 16px 0;
  }

  .logo-pill {
    min-width: 230px;
    font-size: 0.95rem;
  }

  .logo-pill-mark {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
  }

  .client-segments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-slider {
    min-height: clamp(540px, 80svh, 610px);
  }

  .hero-content {
    padding-top: 38px;
    padding-bottom: 84px;
  }

  .pill {
    font-size: 0.76rem;
    padding: 7px 12px;
  }
}
