/* DSIT branding: loaded only by index-3.html. */
:root {
  --theme: #239CEF;
  --dsit-navy: #10175B;
}

.dsit-logo {
  width: 160px;
  height: auto;
  display: block;
}

.dsit-logo.dsit-logo-footer {
  width: 220px;
  max-width: 100%;
}

/* Replace template colours that are hard-coded instead of using --theme. */

.header-main .navbar .navbar-nav .nav-item .has-homemenu .homemenu-items .homemenu .homemenu-thumb::before {
  background: linear-gradient(to bottom, rgba(35, 156, 239, 0) 0%, var(--theme) 100%);
}

.gt-team-one-image-outer::after {
  background: rgba(35, 156, 239, 0.5);
}

.faq-wrapper-2 .accordion-box .block .acc-btn .icon {
  background-color: rgba(35, 156, 239, 0.1);
}


/* Decorative bitmap accents have their own baked-in orange colour. */
img[src="assets/img/home-3/service-shape.png"],
img[src="assets/img/home-3/quote.png"] {
  filter: hue-rotate(175deg);
}

.dsit-services .array-button { flex: 0 0 auto; }
.dsit-services .array-button .swiper-dot { flex: 0 0 auto; }
.dsit-services .array-button .dot { display: flex; align-items: center; flex-wrap: nowrap; gap: 9px; width: max-content; }
.dsit-services .array-button .swiper-pagination-bullet { flex: 0 0 8px; margin: 0 !important; }

/* Section 1: DSIT hero. Retain the template's palette and button styling. */
.hero-3.dsit-hero {
  background-image: url('../img/dsit/hero-seo-amazon-google-ads-v5.png');
  background-position: center right;
  padding: 48px 40px;
}

.hero-3.dsit-hero::before {
  background: linear-gradient(90deg, #101010 0%, rgba(16, 16, 16, .92) 28%, rgba(16, 16, 16, .45) 52%, rgba(16, 16, 16, 0) 76%);
}

.hero-3.dsit-hero .hero-title {
  max-width: 58%;
  margin-top: 100px;
  font-size: clamp(48px, 5vw, 90px);
  line-height: 1.06;
  overflow-wrap: break-word;
}

.dsit-hero-description {
  max-width: 570px;
  margin-top: 28px;
  margin-bottom: 0;
  line-height: 1.6;
}

.hero-3.dsit-hero .hero-info-items {
  margin-top: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

.dsit-hero-location {
  margin: 0;
  font-size: 14px;
}

.dsit-hero-location span {
  margin: 0 10px;
}

@media (max-width: 991px) {
  .hero-3.dsit-hero {
    padding: 32px 24px;
    background-size: auto 560px;
    background-repeat: no-repeat;
    background-position: top right;
  }

  .hero-3.dsit-hero .hero-title {
    max-width: 78%;
    margin-top: 150px;
    font-size: 56px;
  }

  .hero-3.dsit-hero::before {
    background: linear-gradient(180deg, rgba(16, 16, 16, .15), rgba(16, 16, 16, .65) 35%, #101010 75%);
  }
}

@media (max-width: 575px) {
  .hero-3.dsit-hero {
    padding: 24px 18px 32px;
    background-size: auto 350px;
  }

  .hero-3.dsit-hero .hero-list li {
    gap: 8px;
  }

  .hero-3.dsit-hero .hero-list li a {
    font-size: 10px;
    padding: 8px 10px;
  }

  .hero-3.dsit-hero .hero-title {
    max-width: 100%;
    margin-top: 205px;
    font-size: clamp(34px, 8.5vw, 48px);
    line-height: 1.12;
  }

  .dsit-hero-description {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-3.dsit-hero .theme-btn-main.style-2 {
    padding-left: 16px;
  }

  .hero-3.dsit-hero .theme-btn-main .theme-btn {
    font-size: 13px;
    margin-right: 12px;
  }

  .dsit-hero-location {
    font-size: 12px;
  }
}

/* Client artwork is framed to its visible bounds; card layout stays unchanged. */
.dsit-clients .brand-img-1 img {
  width: 164px;
  max-width: calc(100% - 28px);
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(.78);
}

.dsit-clients .brand-img-1:last-child img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(1800%) hue-rotate(177deg) brightness(100%) contrast(94%);
}

/* Preserve internal detail in the layered Prime Analyst artwork. */
.dsit-clients img[src$="prime-analyst-fitted.svg"] {
  filter: grayscale(1) brightness(1.5);
}

/* DSIT service cards retain the theme's carousel, cream panels and blue hover. */
.dsit-services .swiper-slide {
  display: flex;
  height: auto;
}

.dsit-services .service-box-items-3 {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.dsit-services .service-box-items-3 h3 {
  min-height: 3.9em;
  text-transform: none;
}

.dsit-services .service-box-items-3 p {
  flex: 1;
}

.dsit-services .feature-info-box {
  gap: 12px;
}

.dsit-services .feature-info-box ul {
  flex-wrap: wrap;
  gap: 6px;
}

.dsit-services .feature-info-box ul li {
  font-size: 13px;
  padding: 0 8px;
}

.dsit-services .feature-info-box .icon {
  flex-shrink: 0;
}

/* Subtle circuit traces replace the template's oversized loop artwork. */
#services .service-box-items-3 .shape-1 {
  width: 110px;
  height: 120px;
  overflow: hidden;
  border-top-right-radius: 10px;
  pointer-events: none;
  z-index: -1;
}

#services .service-box-items-3 .shape-1 img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Why DSIT: editorial blue photography with business-focused content. */
.dsit-why .about-left-items .about-bottom-content {
  padding: 26px 30px;
  gap: 24px;
}

.dsit-why .about-left-items .dsit-partner-note {
  flex: 0 0 155px;
}

.dsit-why .about-left-items .dsit-partner-note .sub-text {
  margin-bottom: 22px;
}

.dsit-why .dsit-partner-note h3 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.6px;
  color: #101010;
  margin-bottom: 12px;
}

.dsit-why .about-left-items .about-bottom-content .about-line {
  height: 190px;
  flex-shrink: 0;
}

.dsit-why .about-left-items .about-thumb img.dsit-work-visual {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.dsit-why .about-left-items .about-thumb {
  position: relative;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #101010;
}

.dsit-why-intro {
  margin-top: 20px;
  max-width: 560px;
}

.dsit-why .choose-icon-items {
  align-items: flex-start;
}

.dsit-why .choose-icon-items .icon-items {
  flex: 1;
  max-width: none;
}

.dsit-quality-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(35, 156, 239, .35);
  border-radius: 50%;
  background: rgba(35, 156, 239, .08);
  color: var(--theme);
  font-size: 30px;
}

@media (max-width: 575px) {
  .dsit-why .about-left-items .about-thumb {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .dsit-why .about-left-items .about-bottom-content {
    padding: 24px;
  }

  .dsit-why .about-left-items .about-bottom-content .content {
    max-width: none;
  }

  .dsit-why .choose-icon-items {
    flex-direction: column;
  }
}

/* Stretch both columns together and anchor their lower panels to one baseline. */
.dsit-why .choose-us-wrapper-3 > .row > .col-lg-6 {
  display: flex;
}

.dsit-why .about-left-items,
.dsit-why .choose-us-content {
  width: 100%;
  min-width: 0;
}

.dsit-why .choose-us-content {
  display: flex;
  flex-direction: column;
}

.dsit-why .choose-us-content .section-title h2 {
  font-size: clamp(36px, 3.7vw, 56px);
  line-height: 1.12;
}

.dsit-why .choose-us-content .choose-icon-items {
  gap: 24px;
  align-items: flex-start;
}

.dsit-why .choose-us-content .choose-icon-items .icon-items {
  flex: 1;
  max-width: none;
  min-width: 0;
}

.dsit-why .choose-us-content .choose-icon-items .icon-items .content .title {
  font-size: 22px;
}

.dsit-why .dsit-why-footer {
  margin-top: auto;
}

@media (min-width: 992px) {
  .dsit-why .about-left-items {
    display: flex;
    flex-direction: column;
  }

  .dsit-why .about-left-items .about-thumb {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    position: relative;
  }

  .dsit-why .about-left-items .about-thumb img {
    position: absolute;
    inset: 0;
  }

  .dsit-why .about-left-items .about-bottom-content {
    flex-shrink: 0;
    gap: 20px;
    padding: 24px;
  }

  .dsit-why .about-left-items .dsit-partner-note {
    flex-basis: 135px;
  }

  .dsit-why .about-left-items .about-bottom-content .content {
    min-width: 0;
    flex: 1;
    max-width: none;
  }

  .dsit-why .dsit-why-footer .about-small-image {
    max-width: none;
  }
}

@media (max-width: 991px) {
  .dsit-why .dsit-why-footer {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .dsit-why .choose-us-content .choose-icon-items {
    flex-direction: column;
  }
}

/* Keep the process introduction from shrinking its three-line heading. */
.work-process-section-3 .section-title-area {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.work-process-section-3 .section-title-area .text-items {
  min-width: 0;
  max-width: 450px;
}

@media (min-width: 992px) {
  #dsit-process-title {
    font-size: clamp(36px, 4.1vw, 64px);
  }
}

@media (max-width: 991px) {
  .work-process-section-3 .section-title-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .work-process-section-3 .section-title-area .text-items {
    max-width: 600px;
  }
}

/* Six portfolio cards: landscape sector photography with complete project context. */
.dsit-portfolio .project-box-items-3 li {
  align-items: flex-start;
  padding: 16px;
  gap: 20px;
}

.dsit-portfolio .project-box-items-3 li .thumb {
  flex: 0 0 35%;
  max-width: 240px;
  aspect-ratio: 392 / 323;
}

.dsit-portfolio .project-box-items-3 li .content {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.dsit-portfolio .project-box-items-3 li .content .dsit-project-sector {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
  color: #496273;
  margin-bottom: 8px;
}

.dsit-portfolio .project-box-items-3 li .content h3 {
  font-size: clamp(23px, 1.8vw, 28px);
  line-height: 1.15;
  text-transform: none;
  margin-bottom: 8px;
}

.dsit-portfolio .dsit-project-tags {
  color: #09669f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.dsit-portfolio .dsit-project-description {
  color: #4b4b4b;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}

.dsit-portfolio .section-title .dsit-portfolio-note {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 20px;
  opacity: .7;
}

@media (max-width: 767px) {
  .dsit-portfolio .project-box-items-3 li .thumb {
    max-width: none;
    aspect-ratio: 392 / 323;
  }
}

/* Three short project lines per client, without extra card padding. */
.dsit-portfolio .dsit-project-description p {
  position: relative;
  padding-left: 12px;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.dsit-portfolio .dsit-project-description p + p {
  margin-top: 6px;
}

.dsit-portfolio .dsit-project-description p::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--theme);
}

/* Let the portfolio introduction use its column instead of the template's 270px cap. */
.dsit-portfolio .project-wrapper-3 .section-title > p {
  width: 100%;
  max-width: 560px;
}

/* Digital growth: four service pillars beside a 722 × 771 editorial image. */
.dsit-growth .choose-us-wrapper-33 .choose-us-image {
  height: auto;
  aspect-ratio: 722 / 771;
}

.dsit-growth .choose-us-image > img {
  display: block;
}

.dsit-growth .choose-us-content .section-title h2 {
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.dsit-growth .choose-us-content .choose-list {
  max-width: none;
  margin-top: 24px;
}

.dsit-growth .choose-us-content .choose-list li {
  padding: 18px 20px;
  gap: 18px;
  align-items: flex-start;
}

.dsit-growth .choose-us-content .choose-list li .icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  font-size: 25px;
  color: var(--theme);
}

.dsit-growth .choose-us-content .choose-list li.active .icon {
  color: #fff;
}

.dsit-growth .choose-us-content .choose-list li .content {
  min-width: 0;
}

.dsit-growth .choose-us-content .choose-list li .content h3 {
  font-size: 23px;
  line-height: 1.2;
  text-transform: none;
}

.dsit-growth .choose-us-content .choose-list li .content p {
  max-width: none;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 575px) {
  .dsit-growth .choose-us-content .choose-list li {
    padding: 18px 14px;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .dsit-growth .choose-us-content .choose-list li .icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 21px;
  }

  .dsit-growth .choose-us-content .choose-list li .content h3 {
    font-size: 20px;
  }
}

/* Restore the original growth overlay with blue chart accents. */
.dsit-growth .choose-us-image .dsit-growth-banner {
  width: 39%;
  max-width: 282px;
}

.dsit-growth .choose-us-image .dsit-growth-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Existing generated imagery carries the blue palette into the lower page. */
.news-section-3 .news-left-items .thumb {
  aspect-ratio: 16 / 10;
}

.news-section-3 .news-left-items .thumb img {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Keep the template's translucent integration cards and two-row spacing. */
.dsit-integrations { position: relative; }
.dsit-integrations .dsit-tools-intro {
  max-width: 780px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.65;
  text-transform: none;
}
.dsit-integrations .marquee { --gap: 30px; }
.dsit-integrations .marquee .icon-box {
  flex: 0 0 123px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dsit-integrations .icon-box img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.dsit-integrations .icon-box img[src$="/tiktok.svg"] {
  filter: brightness(0) invert(1);
}
/* Tool names remain available to screen readers. */
.dsit-integrations .icon-box span,
.dsit-integrations .dsit-tools-pause:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.dsit-integrations .dsit-tools-pause:focus {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 2;
  padding: 8px 16px;
  background: #172b40;
  color: #fff;
  border: 1px solid #239cef;
  border-radius: 20px;
  outline: 2px solid #239cef;
  outline-offset: 4px;
}
.dsit-integrations:hover .marquee-group,
.dsit-integrations:focus-within .marquee-group,
.dsit-integrations.is-paused .marquee-group {
  animation-play-state: paused;
}
@media (max-width: 575px) {
  .dsit-integrations .dsit-tools-intro { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dsit-integrations .dsit-tools-pause { display: none; }
  .dsit-integrations .marquee { display: block; overflow: visible; }
  .dsit-integrations .marquee-group {
    animation: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(123px, 1fr));
    padding: 0 18px;
    gap: 30px !important;
  }
  .dsit-integrations .marquee .icon-box { width: 100%; }
  .dsit-integrations .marquee-group[aria-hidden="true"] { display: none; }
}

/* Show platform names beneath each logo for quick recognition. */
.dsit-integrations .marquee .icon-box {
  flex-direction: column;
  gap: 12px;
  line-height: 1;
}

.dsit-integrations .icon-box span {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  font-size: 12px;
  line-height: 1.2;
  color: #eee;
}

/* DSIT footer: office contacts and services on the existing light background. */
.dsit-footer .dsit-footer-intro {
  margin-top: 20px;
  max-width: 500px;
  color: #414141;
}
.dsit-footer .dsit-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  color: var(--dsit-navy);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dsit-footer .dsit-footer-email i { color: #147bbf; font-size: 20px; }
.dsit-footer-offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 23, 91, .15);
}
.dsit-footer-office h3 { font-size: 20px; color: var(--dsit-navy); margin-bottom: 12px; }
.dsit-footer-office address { font-style: normal; color: #414141; line-height: 1.65; margin-bottom: 14px; }
.dsit-footer-office > a { display: block; width: fit-content; color: #101010; font-weight: 600; }
.dsit-footer-office .dsit-footer-map { margin-top: 10px; color: #1269a4; font-size: 14px; }
.dsit-footer a:focus-visible { outline: 2px solid #147bbf; outline-offset: 5px; border-radius: 2px; }
.dsit-footer .footer-bottom-wrapper-5 { gap: 16px; }
.dsit-footer .footer-bottom-wrapper-5 p span { margin: 0 8px; }
@media (max-width: 991px) {
  .dsit-footer .footer-left-item { margin-bottom: 0; }
}
@media (max-width: 575px) {
  .dsit-footer-offices { grid-template-columns: 1fr; gap: 26px; }
  .dsit-footer .footer-bottom-wrapper-5 { text-align: center; }
}

/* Reference contact banner: oversized type, an inline image, and a centred pill. */
.dsit-call {
  padding-top: 110px;
  padding-bottom: 60px;
  background: #101010;
}
.dsit-call .cta-wrapper-3 h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 26px 0 42px;
  font-size: clamp(60px, 7.85vw, 150px);
  line-height: 1;
  letter-spacing: -.025em;
  color: #fff;
}
.dsit-call h2 > span { flex-shrink: 0; }
.dsit-call .dsit-call-words { white-space: nowrap; }
.dsit-call .cta-wrapper-3 h2 .img-1 {
  display: block;
  position: static;
  width: clamp(100px, 10.5vw, 200px);
  height: clamp(56px, 5.55vw, 106px);
}
.dsit-call .cta-wrapper-3 h2 .img-1 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.dsit-call .cta-wrapper-3 .theme-btn-main {
  margin-top: 0 !important;
  background: #2b2b2b;
  color: #fff;
}
.dsit-call .theme-btn-main .theme-btn { color: #fff; }
.dsit-call .cta-wrapper-3 .theme-btn-arrow-left,
.dsit-call .cta-wrapper-3 .theme-btn-arrow-right {
  background: var(--theme);
  color: #fff;
}
@media (max-width: 767px) {
  .dsit-call { padding-top: 70px; padding-bottom: 50px; }
  .dsit-call .cta-wrapper-3 h2 {
    flex-wrap: wrap;
    gap: 16px;
    font-size: clamp(54px, 10vw, 76px);
    margin: 24px 0 32px;
  }
  .dsit-call .dsit-call-words { flex-basis: 100%; }
}

/* Shared DSIT showcase dialog and inactive template links. */
.dsit-showreel { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 24px; border: 1px solid #ffffff30; border-radius: 14px; background: #101820; color: #fff; margin: auto; overflow: auto; }
.dsit-showreel::backdrop { background: #000d; backdrop-filter: blur(8px); }
.dsit-showreel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.dsit-showreel-heading h2 { font-size: 22px; line-height: 1.3; }
.dsit-showreel-close { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #ffffff30; border-radius: 50%; color: #fff; font-size: 20px; }
.dsit-showreel video { display: block; width: 100%; max-height: 70dvh; background: #080b0e; border-radius: 8px; }
.dsit-showreel p { font-size: 12px; color: #a6b7c4; line-height: 1.6; margin: 12px 0 0; }

.dsit-nav a[aria-disabled="true"], .team-section-3 a[aria-disabled="true"], .news-section-3 a[aria-disabled="true"] { cursor: default; }
