/* Agenteeka brand overrides, loaded after the template stylesheets. */

/* The logo lockup is wider than the template's original mark, so size it by
   height and let the width follow. */
.main-header .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
  width: auto;
  max-width: 100%;
  max-height: 46px;
}

.sticky-header .logo img {
  max-height: 40px;
}

.footer-logo img {
  width: auto;
  max-height: 62px;
}

@media only screen and (max-width: 1399px) {
  .main-header .logo img {
    max-height: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .main-header .logo img,
  .mobile-menu .nav-logo img {
    max-height: 34px;
  }

  .footer-logo img {
    max-height: 46px;
  }
}

/* Preloader: brand logo on the white loading screen. */
.preloader:after {
  width: 280px;
  height: 56px;
  margin-left: -140px;
  margin-top: -48px;
  left: 50%;
  background-image: url(../images/logo/agenteeka-logo-dark.png);
  background-size: contain;
}

@media only screen and (max-width: 575px) {
  .preloader:after {
    width: 220px;
    height: 44px;
    margin-left: -110px;
  }
}

/* Hero headline: "Growth Isn't Random" / "[It's] Engineered."
   Line 1 (--hero-fs1) always stays on one line; line 2 (--hero-fs2) is the
   punchline, set ~1.3x larger so both lines end up about the same width and
   read as one block. Sizes are per breakpoint so the block clears the hero
   image; line 1 is ~11em wide, line 2 ~8.3em with the pill (~7.7em without). */
.hero-1 .hero-content {
  --hero-fs1: calc((100vw - 40px) / 11.2);
  --hero-fs2: calc((100vw - 40px) / 7.9);
}

.hero-1 .hero-content .hero-title {
  font-size: var(--hero-fs1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-1 .hero-content .hero-title-2 {
  font-size: var(--hero-fs2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: calc(var(--hero-fs2) * 0.08);
}

.hero-1 .hero-content .hero-title-2 .text-1 {
  font-size: inherit;
  letter-spacing: -0.02em;
}

@media (min-width: 576px) {
  .hero-1 .hero-content { --hero-fs1: 46px; --hero-fs2: 65px; }
}

@media (min-width: 768px) {
  .hero-1 .hero-content { --hero-fs1: 60px; --hero-fs2: 85px; }
}

@media (min-width: 992px) {
  .hero-1 .hero-content { --hero-fs1: 80px; --hero-fs2: 105px; }

  .hero-1 .hero-content .hero-title-2 {
    display: flex;
    gap: calc(var(--hero-fs2) * 0.267);
    margin-top: calc(var(--hero-fs2) * 0.2);
  }

  .hero-1 .hero-content .hero-title-2 .text-1 {
    font-size: calc(var(--hero-fs2) * 0.415);
    width: calc(var(--hero-fs2) * 1.953);
    height: calc(var(--hero-fs2) * 0.819);
    line-height: calc(var(--hero-fs2) * 0.819);
  }

  .hero-1 .hero-content .hero-title-2 .text-1::before {
    top: calc(var(--hero-fs2) * -0.054);
    width: calc(var(--hero-fs2) * 2.147);
    height: calc(var(--hero-fs2) * 0.927);
  }
}

/* Side by side with the hero image from here up. */
@media (min-width: 1200px) {
  .hero-1 .hero-content { --hero-fs1: 52px; --hero-fs2: 68px; }

  .hero-1 .hero-content .content {
    margin-left: calc(var(--hero-fs2) * 2.22);
  }

  /* Move the floating 3D shape below the headline so it doesn't cover it. */
  .hero-1 .hero-image .shape-1 {
    top: 300px;
  }
}

@media (min-width: 1400px) {
  .hero-1 .hero-content { --hero-fs1: 68px; --hero-fs2: 90px; }
}

/* Hero marquee: nine services instead of four, so slow the loop down to keep
   the original scrolling speed. */
.marquee-section .marquee-two {
  --duration: 65s;
}

/* "What we bring to the table" list: one short description per row in place
   of the template's two bullet tags. */
.feature-list-items li {
  gap: 30px;
}

.feature-list-items li .title {
  flex: 0 0 38%;
}

.feature-list-items li .feature-desc {
  flex: 1 1 0;
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.7);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.32px;
}

@media (max-width: 1199.98px) {
  .feature-list-items li .feature-desc {
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .feature-list-items li .feature-desc {
    margin-top: 12px;
  }
}

/* Header on small laptops / tablets in landscape (992-1199px): the template
   keeps a 160px logo-to-menu gap here, which pushed the menu onto two lines. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header-1 .header-left {
    gap: 32px;
  }

  .main-header .main-menu .navigation > li {
    margin-right: 20px;
  }

  .header-1 .ui-btn-outer .ui-btn-search .header-btn {
    white-space: nowrap;
  }
}

/* Project cards (home "Our Projects" + /projects). The artwork is 648x500
   with the project name on the left, so show it at its own ratio instead of
   the template's fixed-height crop, and give the description room. */
.project-card .image {
  height: auto;
  aspect-ratio: 648 / 500;
}

.project-card .image img {
  height: 100%;
}

.project-card .content {
  align-items: flex-start;
  gap: 24px;
}

.project-card .content .title-area {
  flex: 1 1 auto;
}

.project-card .content .text {
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.project-card .content .arrow-icon {
  flex: 0 0 auto;
  margin-top: 26px;
}

.projects-grid .case-block {
  width: 100%;
  margin-left: 0;
  margin-bottom: 60px;
}

/* Skills grid: marketing channel icons drawn as app-style tiles. */
.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: #fff;
  font-size: 28px;
  transition: all 900ms ease;
}

.skill-left-items .skill-box:hover .skill-icon {
  transform: rotateY(360deg);
}

.skill-icon img {
  width: 34px;
  height: 34px;
}

.skill-icon--social { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%); }
.skill-icon--email { background: linear-gradient(135deg, #4facfe 0%, #1e5bd8 100%); }
.skill-icon--youtube { background: #ff0000; }
.skill-icon--design { background: linear-gradient(135deg, #a259ff 0%, #f24e8b 100%); }
.skill-icon--automation { background: linear-gradient(135deg, #e7b6c7 0%, #a85c79 100%); }
.skill-icon--google { background: #fff; }

.skill-left-items .skill-box .title {
  max-width: 124px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  line-height: 1.25;
}

/* "Watch The Video": the template's script font is never loaded, so it fell
   back to the browser's serif. Use the brand heading font instead. */
.about-image-video .watch-title {
  font-family: var(--heading-font-family);
  font-weight: 500;
}

/* About badge: "9+" with a "Years" label inside the pink circle. */
.about-image-items1 .about-circle-box .experience .num {
  top: 42%;
  font-size: 52px;
  line-height: 1;
}

.about-image-items1 .about-circle-box .experience .experience-label {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--theme-color-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .about-image-items1 .about-circle-box .experience .num {
    font-size: 40px;
  }

  .about-image-items1 .about-circle-box .experience .experience-label {
    font-size: 12px;
  }
}

/* The ring text is spread with textLength, so drop the template spacing. */
.about-image-items1 .about-circle-box .circle-text textPath {
  font-size: 15px;
  letter-spacing: 0;
}

/* Extra skill tiles (they replaced the three photo circles). */
.skill-icon--seo { background: linear-gradient(135deg, #43c46b 0%, #1d8a4b 100%); }
.skill-icon--ai { background: linear-gradient(135deg, #6a7bff 0%, #2d2f9e 100%); }
.skill-icon--ads { background: linear-gradient(135deg, #ffb347 0%, #ff6a2b 100%); }

/* "We Use AI Where It Makes Sense" card: third heading line. */
.feature-block-card .content .title .title-note {
  display: inline-block;
  margin-top: 8px;
  color: var(--theme-color1);
  font-style: italic;
  font-weight: 400;
}

/* Markets list under the "Markets We Work Across" counter. */
.award-one .right-content .markets-list {
  margin: 10px 0 0;
  color: rgba(var(--theme-color-white-rgb), 0.75);
  font-size: 16px;
  line-height: 1.7;
}

.award-one .right-content .markets-list span {
  color: var(--theme-color1);
  margin: 0 6px;
}

/* Client testimonials are long, so use a reading size instead of the
   template's 34px display size. */
.testimonial-block.client-testimonial .text {
  font-size: 20px;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .testimonial-block.client-testimonial .text {
    font-size: 17px;
  }
}

.testimonial-block-two.client-testimonial {
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.testimonial-block-two.client-testimonial .text {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.75;
  padding-top: 0;
}

/* No client photos: show initials in the avatar circle. */
.client-testimonial .infu .image .initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--theme-color1);
  color: var(--theme-color-black);
  font-size: 20px;
  font-weight: 600;
}

/* "Platforms We Work With" logo slider. */
.platforms-section .platforms-title {
  padding: 90px 15px 50px;
  margin-bottom: 0;
}

.platforms-section .brand-image1 {
  padding: 70px 0;
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-color-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.platform-mark {
  display: inline-flex;
  font-size: 34px;
}

.platform-mark svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 767.98px) {
  .platforms-section .platforms-title {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .platforms-section .brand-image1 {
    padding: 45px 0;
  }

  .platform-logo {
    font-size: 18px;
  }

  .platform-mark {
    font-size: 26px;
  }
}

/* Service cards are deep-linked from the menu (/services#slug); keep them
   clear of the sticky header when scrolled into view. */
.service-block-two[id] {
  scroll-margin-top: 140px;
}

/* Footer: the services list is longer than the quick links, so top-align the
   two columns so their headings line up. */
.footer-widget-wrapper .footer-list-area {
  align-items: flex-start;
  gap: 30px;
}

/* Testimonial arrows sat on top of the (longer) client role on phones;
   put them below the quote instead. */
@media (max-width: 575.98px) {
  .testimonial-one .slider-box .array-button {
    position: relative;
    bottom: auto;
    right: auto;
    left: 0;
    margin-top: 24px;
  }
}

/* ---------------------------------------------------------------------- */
/* Industry pages (/industries and /industries/[slug])                    */
/* ---------------------------------------------------------------------- */

.industry-hero {
  position: relative;
  padding: 210px 0 130px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.industry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(var(--theme-color1-rgb), 0.28) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.6) 100%);
}

.industry-hero .auto-container {
  position: relative;
}

.industry-breadcrumb {
  justify-content: flex-start;
  margin-bottom: 40px;
}

.industry-hero__content {
  max-width: 900px;
}

.industry-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.5);
  border-radius: 40px;
  background: rgba(var(--theme-color1-rgb), 0.12);
  color: var(--theme-color1);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.industry-hero__title {
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 28px;
}

.industry-hero__intro {
  max-width: 760px;
  margin-bottom: 44px;
  color: rgba(var(--theme-color-white-rgb), 0.78);
  font-size: 18px;
  line-height: 1.75;
}

@media (max-width: 1199.98px) {
  .industry-hero__title { font-size: 50px; }
}

@media (max-width: 767.98px) {
  .industry-hero { padding: 160px 0 90px; }
  .industry-hero__title { font-size: 36px; }
  .industry-hero__intro { font-size: 16px; }
}

/* Long CTA labels: let the pill grow with the text. */
.industry-hero .theme-btn-main .theme-btn,
.industry-cta .theme-btn-main .theme-btn {
  white-space: normal;
  text-align: left;
}

.industry-section {
  position: relative;
}

.industry-section .section-title {
  margin-bottom: 60px;
}

.industry-lead,
.industry-proof {
  margin-top: 22px;
  color: rgba(var(--theme-color-white-rgb), 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.industry-proof {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.industry-sticky {
  position: sticky;
  top: 140px;
}

/* Challenge cards */
.industry-card {
  height: 100%;
  padding: 44px 38px;
  border: 1px solid var(--border-color1-rgba);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.industry-card:hover {
  border-color: rgba(var(--theme-color1-rgb), 0.6);
  transform: translateY(-6px);
}

.industry-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--theme-color1);
  color: var(--theme-color-black);
  font-size: 18px;
  font-weight: 600;
}

.industry-card__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 16px;
}

.industry-card__text {
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.7);
  font-size: 16px;
  line-height: 1.7;
}

/* Help list reuses .feature-list-items; tune the title column for longer titles. */
.industry-help-list li .title {
  flex: 0 0 40%;
  font-size: 22px;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .industry-help-list li .title { font-size: 20px; }
}

/* Approach */
.industry-approach {
  padding: 70px 64px;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.35);
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(var(--theme-color1-rgb), 0.18) 0%, rgba(0, 0, 0, 0) 70%),
    #0b0b0b;
}

@media (max-width: 767.98px) {
  .industry-approach { padding: 44px 26px; }
}

.industry-approach__title {
  margin: 14px 0 24px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .industry-approach__title { font-size: 30px; }
}

.industry-approach__text {
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.industry-approach__label {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(var(--theme-color-white-rgb), 0.9);
}

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

.industry-service-list li + li {
  margin-top: 12px;
}

.industry-service-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--border-color1-rgba);
  border-radius: 40px;
  color: var(--theme-color-white);
  font-weight: 500;
  transition: all 0.25s ease;
}

.industry-service-list a > i:first-child {
  width: 22px;
  color: var(--theme-color1);
  text-align: center;
}

.industry-service-list__arrow {
  margin-left: auto;
  rotate: -45deg;
  transition: rotate 0.25s ease;
}

.industry-service-list a:hover {
  border-color: var(--theme-color1);
  background: rgba(var(--theme-color1-rgb), 0.1);
  color: var(--theme-color-white);
}

.industry-service-list a:hover .industry-service-list__arrow {
  rotate: 0deg;
}

/* FAQ */
.industry-faq {
  padding: 0;
}

/* Final CTA */
.industry-cta {
  padding: 80px 40px;
  border-radius: 40px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(var(--theme-color1-rgb), 0.35) 0%, rgba(0, 0, 0, 0) 75%),
    #0b0b0b;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.35);
}

.industry-cta__title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 20px;
}

.industry-cta__text {
  max-width: 720px;
  margin: 0 auto 40px;
  color: rgba(var(--theme-color-white-rgb), 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.industry-cta .theme-btn-main {
  justify-content: center;
}

@media (max-width: 767.98px) {
  .industry-cta { padding: 54px 22px; }
  .industry-cta__title { font-size: 32px; }
  .industry-cta__text { font-size: 16px; }
}

.industry-others {
  margin-top: 70px;
  text-align: center;
}

.industry-others__title {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 500;
}

.industry-others__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-others__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border-color1-rgba);
  border-radius: 40px;
  color: rgba(var(--theme-color-white-rgb), 0.85);
  transition: all 0.25s ease;
}

.industry-others__list a i {
  color: var(--theme-color1);
}

.industry-others__list a:hover {
  border-color: var(--theme-color1);
  color: var(--theme-color-white);
}

/* Industries overview tiles */
.industry-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 44px 38px;
  border: 1px solid var(--border-color1-rgba);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  color: var(--theme-color-white);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.industry-tile:hover {
  border-color: rgba(var(--theme-color1-rgb), 0.7);
  color: var(--theme-color-white);
  transform: translateY(-6px);
}

.industry-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: var(--theme-color1);
  color: var(--theme-color-black);
  font-size: 28px;
}

.industry-tile__name {
  margin-bottom: 12px;
  color: var(--theme-color1);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.industry-tile__headline {
  margin-bottom: 16px;
  font-family: var(--heading-font-family);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
}

.industry-tile__summary {
  flex: 1 1 auto;
  margin-bottom: 28px;
  color: rgba(var(--theme-color-white-rgb), 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.industry-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.industry-tile__more i {
  color: var(--theme-color1);
  rotate: -45deg;
  transition: rotate 0.25s ease;
}

.industry-tile:hover .industry-tile__more i {
  rotate: 0deg;
}

/* Keep the client's sentence-case titles (template capitalises every word). */
.industry-help-list li .title {
  text-transform: none;
}

/* ---------------------------------------------------------------------- */
/* Projects overview + case studies (/projects, /projects/[slug])         */
/* ---------------------------------------------------------------------- */

.projects-intro {
  margin-bottom: 70px;
}

/* Featured project */
.featured-project {
  margin-bottom: 90px;
  overflow: hidden;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.35);
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(var(--theme-color1-rgb), 0.18) 0%, rgba(0, 0, 0, 0) 70%),
    #0b0b0b;
}

.featured-project__image {
  display: block;
  height: 100%;
  overflow: hidden;
}

.featured-project__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 648 / 500;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-project:hover .featured-project__image img {
  transform: scale(1.04);
}

.featured-project__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 56px 50px;
}

.featured-project__tag {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 40px;
  background: var(--theme-color1);
  color: var(--theme-color-black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.featured-project__title {
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
}

.featured-project__title a {
  color: var(--theme-color-white);
}

.featured-project__title a:hover {
  color: var(--theme-color1);
}

.featured-project__meta {
  margin-bottom: 20px;
  color: var(--theme-color1);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.featured-project__text {
  margin-bottom: 34px;
  color: rgba(var(--theme-color-white-rgb), 0.75);
  font-size: 17px;
  line-height: 1.75;
}

@media (max-width: 991.98px) {
  .featured-project__content { padding: 40px 28px; }
  .featured-project__title { font-size: 30px; }
}

/* Case study page */
.case-study .project-details__img.case-study__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 16 / 7;
  border-radius: 40px;
  background-color: #0b0b0b;
}

/* Blurred copy of the artwork fills the wide frame behind the sharp original. */
.case-study__media::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: var(--case-image);
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.45);
}

.case-study .project-details__img.case-study__media img {
  position: relative;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
  .case-study .project-details__img.case-study__media {
    aspect-ratio: 648 / 500;
    border-radius: 24px;
  }

  .case-study__media::before { display: none; }

  .case-study .project-details__img.case-study__media img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: none;
  }
}

.case-study .project-details__details-list {
  justify-content: flex-start;
  gap: 0;
}

.case-study .project-details__details-list li {
  flex: 1 1 0;
  max-width: none;
  padding-right: 30px;
}

.case-study .project-details__details-list li:after {
  right: 30px;
  height: 60px;
}

.case-study .project-details__name a {
  color: var(--theme-color1);
  word-break: break-word;
}

.case-study .project-details__name a:hover {
  color: var(--theme-color-white);
}

@media (max-width: 991.98px) {
  .case-study .project-details__details-list li {
    flex: 0 0 50%;
    padding: 12px 20px 12px 0;
  }
}

@media (max-width: 575.98px) {
  .case-study .project-details__details-list li { flex-basis: 100%; }
}

.case-study__intro {
  margin: 70px 0 50px;
}

.case-study__intro .title {
  max-width: 900px;
}

.case-study__row {
  padding: 36px 0;
  border-top: 1px solid var(--border-color1-rgba);
}

.case-study__label {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 500;
}

.project-details__content .case-study__text {
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.75);
  font-size: 18px;
  line-height: 1.8;
}

.project-details__content .case-study__delivered {
  align-items: flex-start;
  justify-content: flex-start;
}

.project-details__content .case-study__delivered ul {
  max-width: 50%;
  margin: 0;
  padding: 0;
}

.project-details__content .case-study__delivered ul li {
  align-items: flex-start;
  margin-bottom: 16px;
  color: rgba(var(--theme-color-white-rgb), 0.85);
  font-size: 17px;
  line-height: 1.5;
}

.project-details__content .case-study__delivered ul li .icon {
  margin-top: 3px;
}

@media (max-width: 575.98px) {
  .project-details__content .case-study__delivered ul { max-width: none; }
}

.case-study__value {
  margin-top: 30px;
  padding: 60px 56px;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.35);
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(var(--theme-color1-rgb), 0.2) 0%, rgba(0, 0, 0, 0) 70%),
    #0b0b0b;
}

.case-study__value .project-title-big-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.15;
}

.case-study__value-text {
  margin-bottom: 32px;
  color: rgba(var(--theme-color-white-rgb), 0.85);
  font-size: 20px;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .case-study__value { padding: 40px 26px; }
  .case-study__value .project-title-big-title { font-size: 32px; line-height: 1.2; }
  .case-study__value-text { font-size: 17px; }
}

.case-study__quote {
  margin-top: 40px;
}

.case-study__quote .text {
  font-size: 19px;
}

/* Template pagination is styled for a light theme; adapt it to the dark site. */
.case-study__pagination {
  margin-top: 80px;
  border-top: 1px solid var(--border-color1-rgba);
  border-bottom: 1px solid var(--border-color1-rgba);
}

.case-study__pagination .project-details__pagination li a {
  color: var(--theme-color-white);
  font-size: 18px;
  font-weight: 500;
}

.case-study__pagination .project-details__pagination li.next i,
.case-study__pagination .project-details__pagination li.previous i {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--theme-color-white);
}

.case-study__pagination .project-details__pagination li a:hover {
  color: var(--theme-color1);
}

.case-study__pagination .project-details__pagination li a:hover i {
  border-color: var(--theme-color1);
  background-color: var(--theme-color1);
  color: var(--theme-color-black);
}

.case-study__pagination-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(var(--theme-color-white-rgb), 0.55);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .case-study__pagination .project-details__pagination li a { font-size: 15px; }
  .case-study__pagination .project-details__pagination li.next i,
  .case-study__pagination .project-details__pagination li.previous i {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.case-study__cta {
  margin-top: 90px;
}

/* Case study: the template gives every .title inside the content a 50px top
   margin, and bootstrap rows overhang the container; keep both in line. */
.project-details__content .case-study__intro .title {
  margin-top: 8px;
}

.case-study__row {
  margin-left: 0;
  margin-right: 0;
}

.case-study__row > :first-child {
  padding-left: 0;
}

.case-study__row > :last-child {
  padding-right: 0;
}

@media (max-width: 991.98px) {
  .case-study__row > * {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ---------------------------------------------------------------------- */
/* Service pages (/services/[slug]) and the About page                    */
/* ---------------------------------------------------------------------- */

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

.service-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(var(--theme-color1-rgb), 0.6);
  color: var(--theme-color-white);
  font-weight: 500;
}

.service-hero__link i {
  color: var(--theme-color1);
}

.service-hero__link:hover {
  color: var(--theme-color1);
}

/* Service switcher under the hero */
.industry-others__list.service-nav {
  justify-content: flex-start;
  margin-top: 50px;
}

.industry-others__list.service-nav a {
  padding: 9px 18px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.industry-others__list.service-nav a.current {
  border-color: var(--theme-color1);
  background: var(--theme-color1);
  color: var(--theme-color-black);
}

.service-intro {
  margin: 0;
  color: rgba(var(--theme-color-white-rgb), 0.92);
  font-size: 22px;
  line-height: 1.6;
}

.service-copy {
  color: rgba(var(--theme-color-white-rgb), 0.72);
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 767.98px) {
  .service-intro { font-size: 19px; }
  .service-copy { font-size: 16px; }
}

.service-help {
  padding: 44px 40px;
}

.service-help__office {
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color1-rgba);
}

.service-help__office i {
  margin-top: 6px;
  color: var(--theme-color1);
}

@media (max-width: 767.98px) {
  .service-help { padding: 32px 24px; }
}

/* Deliverables */
.service-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-deliverables li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--border-color1-rgba);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(var(--theme-color-white-rgb), 0.9);
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 0.25s ease;
}

.service-deliverables li:hover {
  border-color: rgba(var(--theme-color1-rgb), 0.6);
}

.service-deliverables li i {
  flex: 0 0 auto;
  color: var(--theme-color1);
  rotate: -45deg;
}

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

/* Process steps */
.service-step {
  height: 100%;
  padding: 36px 30px;
  border-top: 3px solid var(--theme-color1);
  border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, rgba(var(--theme-color1-rgb), 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.service-step__num {
  display: block;
  margin-bottom: 22px;
  color: var(--theme-color1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Metrics */
.service-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-metric {
  display: flex;
  align-items: center;
  min-height: 110px;
  padding: 24px 28px;
  border-left: 3px solid var(--theme-color1);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .service-metrics { grid-template-columns: 1fr; }
  .service-metric { min-height: 0; font-size: 18px; }
}

/* Keyword chips (also used for the About page journey stages and markets) */
.service-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-keywords li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.4);
  border-radius: 40px;
  color: rgba(var(--theme-color-white-rgb), 0.85);
  font-size: 15px;
}

.service-keywords li i,
.service-keywords li span {
  color: var(--theme-color1);
}

.service-keywords__notice {
  margin: 22px 0 0;
  color: rgba(var(--theme-color-white-rgb), 0.5);
  font-size: 14px;
}

/* About page */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 40px;
}

.about-lead {
  max-width: 820px;
}

.about-quote {
  max-width: 900px;
  margin: 60px 0 0;
  padding: 18px 0 18px 30px;
  border-left: 3px solid var(--theme-color1);
  font-family: var(--heading-font-family);
  font-size: 30px;
  font-style: italic;
  line-height: 1.45;
  color: var(--theme-color-white);
}

@media (max-width: 767.98px) {
  .about-quote { font-size: 22px; }
}

.about-mission {
  height: 100%;
}

.about-mission .industry-approach__title {
  font-size: 34px;
}

.about-stages {
  margin-top: 28px;
}

.about-stages li span {
  font-size: 12px;
  font-weight: 600;
}

.about-infinity {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  border: 1px solid rgba(var(--theme-color1-rgb), 0.45);
  border-radius: 40px;
  background: radial-gradient(circle at 55% 50%, #533044 0%, #231923 45%, #111014 76%);
  color: var(--theme-color1);
  font-size: 270px;
  line-height: 1;
  text-shadow: 0 0 65px rgba(var(--theme-color1-rgb), 0.45);
}

@media (max-width: 991.98px) {
  .about-infinity { height: 280px; font-size: 190px; }
}

.about-work .case-block {
  margin-bottom: 50px;
}

/* Footer address */
.footer-contact-items .footer-address a {
  display: inline-flex;
  gap: 10px;
  max-width: 360px;
  color: rgba(var(--theme-color-white-rgb), 0.75);
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-contact-items .footer-address i {
  margin-top: 5px;
  color: var(--theme-color1);
}

.footer-contact-items .footer-address a:hover {
  color: var(--theme-color1);
}

.service-metric {
  color: var(--theme-color-white);
}
