/* ========== Slider Section ========== */

.slider-section {
  background-color: var(--exa-white);
  overflow: hidden;
  position: relative;
  padding-top: 100px;
}

.short-image {
  width: 478.2px;
  height: 366px;
  object-fit: cover;
}
.long-image {
  width: 478.2px;
  height: 560px;
  object-fit: cover;
}
.slider-box {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  animation: scroll 40s linear infinite;
  width: max-content;
  will-change: transform;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50%));
  }
}

.slider-box:hover {
  animation-play-state: paused;
}

.slide {
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* Slider Badge Styles */

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.slider-logo {
  padding: 120px 0px;
}

.slider-logo .slider-box {
  gap: 96px;
}

.slider-logo .slide img {
  width: 160px;
  height: 80px;
  object-fit: contain;
}

.case-studies {
  padding: 96px 0;
  background: linear-gradient(
    149deg,
    rgba(255, 255, 255, 0.51) 0%,
    rgba(163, 215, 255, 0.21) 100%
  );
}
.title {
  font-family: "Gilroy", "Urbanist", sans-serif;	
  text-align: center;
}
.industry-expertise .maintitle,
.industry-expertise .maintitle-blue {
  font-family: "Gilroy", "Urbanist", sans-serif;
  font-size: 48px;
  line-height: 1.4;
}
.industry-expertise .maintitle {
  font-weight: 400 !important;
}
.industry-expertise .maintitle-blue {
  font-weight: 700 !important;
}

.maintitle {
  font-family: "Gilroy", "Urbanist", sans-serif;
  color: #333;
  font-size: 48px;
  font-weight: 400 !important;
  line-height: 1.4;
  display: inline;
}
.maintitle-blue{
	font-family: "Gilroy", "Urbanist", sans-serif;
  color: var(--exa-5);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  display: inline;
}
.projects{
    padding-top: 32px !important;
}

/* Featured Card */
.featured-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

/* Cards rendered from posts are the link themselves, so the child layout stays as above */
a.featured-card,
a.card {
  color: inherit;
  text-decoration: none;
}

a.card {
  display: block;
}

.featured-image {
  flex: 0 0 65%;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.featured-content {
  flex: 0 0 35%;
}

/* Project card text (featured and small): chip tag → headline → services, from the type system.
   Headlines are Title Case, Gilroy 700 28px on both featured and small cards. */
.featured-content,
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--exa-space-12);
}

/* Project foretitle chip: a dark shade of the brand scale instead of the default exa-1 tint */
.exa-eyebrow.case-tag {
  background-color: var(--exa-8);
  color: var(--exa-white);
  font-size: var(--exa-text-body-s-size); /* one step below the default 16px chip */
}

.case-title {
  margin: 0;
  color: var(--exa-color-text-primary);
}

/* Featured and secondary project titles share the 28px step (Gilroy 700, the quote/heading-mobile size) */
.case-title--featured,
.card-content .case-title {
  font-family: var(--exa-font-heading);
  font-size: var(--exa-text-quote-size);
  font-weight: var(--exa-font-weight-bold);
  line-height: var(--exa-text-quote-line-height);
  letter-spacing: var(--exa-text-quote-tracking);
}

.case-title a {
  color: inherit;
  text-decoration: none;
}

.case-title a:hover {
  color: var(--exa-color-brand);
}

.case-services {
  margin: 0;
}

/* Small Cards Grid */
.small-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  border-radius: 24px;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  margin-bottom: 20px;
}

.card-content {
  padding: 0 8px;
}

/* ========== Industry Expertise Section ========== */

.industry-expertise {
  background: var(--exa-white);
}

.expertise-slider {
  position: relative;
  margin-top: 80px !important;
}

.expertise-slider.full-width {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.slides-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.expertise-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.expertise-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.expertise-slide.slide-out {
  transform: translateX(-100%);
}

.expertise-content {
  display: flex;
  align-items: center;
  gap: 0;
}

.expertise-image {
  flex: 0 0 50%;
  position: relative;
}

.expertise-image .desktop-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.expertise-image .mobile-image {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.expertise-slide .expertise-info {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 80px 40px 60px;
  box-sizing: border-box;

}

/* Slide heading uses the section heading type (Gilroy 700, 28 → 40px): grey number, ink name.
   The description is the lead type (18 → 20px) in secondary grey. */
.expertise-header {
  display: flex;
  align-items: baseline;
  gap: var(--exa-space-12);
  margin-bottom: 0;
}

.expertise-number,
.expertise-name {
  margin: 0;
  font-family: var(--exa-font-heading);
  font-size: var(--exa-text-heading-size);
  font-weight: var(--exa-font-weight-bold);
  line-height: var(--exa-text-heading-line-height);
  letter-spacing: var(--exa-text-heading-tracking);
}

.expertise-number {
  color: var(--exa-color-text-tertiary);
}

.expertise-name {
  color: var(--exa-color-text-primary);
}

@media (min-width: 768px) {
  .expertise-number,
  .expertise-name {
    font-size: var(--exa-text-heading-size-md);
    letter-spacing: var(--exa-text-heading-tracking-md);
  }

}

.expertise-info > .expertise-description {
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-lead-size);
  font-style: normal;
  font-weight: var(--exa-font-weight-regular);
  padding-top: var(--exa-space-24);
  padding-bottom: 0;
  margin-bottom: 32px;          /* ← description ↔ button gap = 32px */
  line-height: var(--exa-text-lead-line-height);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

@media (min-width: 768px) {
  .expertise-info > .expertise-description {
    font-size: var(--exa-text-lead-size-md);
    line-height: var(--exa-text-lead-line-height-md);
  }
}

/* Section Learn More Link */

.expertise-slider .expertise-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  width: 50%;
  margin-left: 0;
}

.expertise-dots.mobile-dots-fixed {
  display: none;
}

.expertise-dots .dot {
  width: 40px;
  height: 4px;
  background: rgba(0, 141, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.expertise-dots .dot.active {
  background: var(--exa-5);
}

.expertise-dots .dot:hover {
  background: #66B3FF;
}

/* ========== Common Padding Utility ========== */

.common-padding {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ========== Development Practices ========== */

.development-practice-img {
  margin-top: 72px;
}

.development-practice-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hide large/desktop image by default, show small/mobile (Mobile first) */
.development-practice-img img:first-child,
.development-practice-img .practice-img-desktop {
  display: none;
}

.development-practice-img img:last-child,
.development-practice-img .practice-img-mobile {
  display: block;
}

/* ========== Our Expertises Section ========== */
/* Base styles - Mobile first (< 768px) */

/* Spacing matches ExaLife's "Find Your Place" list at every width: 30px from the header,
   rows of 48px icon + 20px gap + text, separated by 16px + 1px hairline + 16px. */
.expertises-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--exa-space-30);
  margin-top: var(--exa-space-30);
}

.expertises-grid {
  display: flex;
  flex-direction: column;
}

.expertise-card {
  display: flex;
  align-items: flex-start;
  gap: var(--exa-space-20);
  text-align: left;
}

.expertise-card + .expertise-card {
  margin-top: var(--exa-space-16);
  border-top: 1px solid var(--exa-neutral-1);
  padding-top: var(--exa-space-16);
}

.expertise-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.expertise-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card type matches ExaLife's "Find Your Place" rows: .exa-text-title (Gilroy 700 20px) at a 1.4 line height,
   description .exa-text-body directly underneath. The description needs the longer selector to beat
   the industry slider's `.expertise-info > .expertise-description` (24px, 32px padding, 5-line clamp). */
.expertise-card .expertise-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.expertise-card .expertise-title {
  margin: 0;
  color: var(--exa-color-text-primary);
  line-height: 1.4;
}

.expertise-card .expertise-info > .expertise-description {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  margin: 0;
  padding: 0;
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-size);
  font-weight: var(--exa-font-weight-regular);
  line-height: var(--exa-text-body-line-height);
}

/* mobile-app.svg has no built-in padding, unlike the other 64x64 icons; match their optical size */
.expertise-icon img[src$="mobile-app.svg"] {
  padding: 13%;
}

/* Section heading (two-tone .exa-section-heading, as in ExaLife) and intro (.exa-text-lead) */
.expertises .section-eyebrow {
  margin-bottom: 25px;
}

/* The shared .title has a 48px bottom margin; this section uses ExaLife's 30px header-to-body gap instead */
.expertises .title {
  margin-bottom: 0;
}

.expertises-heading {
  margin: 0;
}



.expertises-process {
  display: none;
}

.expertises-process img {
  width: 100%;
  height: auto;
}

/* ========== Section Title & Lead ========== */
/* Home section headings: .exa-text-heading (Gilroy 700, 28 → 40px) in two tones, grey lead-in
   (.exa-text-tertiary) and ink highlights (.exa-text-primary), like ExaLife's SectionHeading.
   The intro under it is .exa-text-lead in secondary grey. */
.section-title {
  margin: 0;
}

.section-lead {
  max-width: 720px;
  margin: 25px auto var(--exa-space-40);
  text-wrap: balance;
}

/* ========== Section Eyebrow ========== */
/* The foretitle chip above every section title. The block wrapper puts the chip on its own line
   (titles here are inline) and inherits the section's alignment. ExaLife spaces it 20px from the heading.
   Markup: <p class="section-eyebrow"><span class="exa-eyebrow">Case Studies</span></p> */
.section-eyebrow {
  display: block;
  margin: 0 0 var(--exa-space-20);
}

/* ========== Navbar Styles ========== */
/* Matches the ExaLife header: translucent blurred bar (shadow once scrolled), Gilroy pill links,
   secondary "Contact Us" button. The blur sits on ::before because backdrop-filter on .navbar
   itself would trap the fixed mobile menu inside the bar. */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--exa-space-24) 0;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* ExaLife uses its page background here; this theme's pages are white, so the bar is white too. */
  background-color: color-mix(in oklch, var(--exa-color-surface) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--exa-duration-slow) var(--exa-ease-standard);
}

.navbar.is-scrolled::before {
  box-shadow: var(--exa-shadow-sm);
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--exa-space-20);
  position: relative;
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo a {
  display: inline-flex;
}

.navbar-logo img {
  display: block;
  width: auto;
  height: 32px;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
  display: none;
}

/* Nav Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--exa-space-4);
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--exa-space-4);
  border-radius: var(--exa-radius-full);
  padding: var(--exa-space-6) var(--exa-space-8) var(--exa-space-4);
  color: var(--exa-color-text-primary);
  font-family: var(--exa-font-heading);
  font-size: var(--exa-text-eyebrow-size);
  font-weight: var(--exa-font-weight-medium);
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--exa-duration-base) var(--exa-ease-standard),
    background-color var(--exa-duration-base) var(--exa-ease-standard);
}

.nav-link:hover {
  color: var(--exa-color-brand);
}

.nav-link[aria-current] {
  background-color: var(--exa-color-surface-soft);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: var(--exa-focus-ring);
}

.nav-link-chevron {
  display: none;
}

.dropdown-icon {
  transition: transform var(--exa-duration-slow) var(--exa-ease-standard);
}

.navbar-cta-mobile,
.navbar-backdrop {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-nav {
    gap: 15px;
  }

  .nav-link {
    padding-inline: var(--exa-space-14);
  }
}

/* ========== Dropdown Menu Styles ========== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 380px;
  margin-top: 10px;
  border-radius: var(--exa-radius-card);
  background-color: var(--exa-color-surface);
  box-shadow: var(--exa-shadow-md), var(--exa-shadow-ring);
  padding: var(--exa-space-12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--exa-duration-moderate) var(--exa-ease-standard),
    margin var(--exa-duration-moderate) var(--exa-ease-standard),
    visibility var(--exa-duration-moderate);
  z-index: 1000;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 15px;
}

.dropdown.active .dropdown-icon,
.dropdown:hover .dropdown-icon,
.dropdown:focus-within .dropdown-icon {
  transform: rotate(180deg);
}

/* The whole row is the click target: the title link stretches over it (::after below), so the icon,
   description and padding all navigate, with one tab stop and the heading kept as the link text. */
.dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--exa-space-14);
  border-radius: var(--exa-radius);
  padding: var(--exa-space-12);
  cursor: pointer;
  transition: background-color var(--exa-duration-base) var(--exa-ease-standard);
}

.dropdown-item:hover {
  background-color: var(--exa-color-surface-soft);
}

.dropdown-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.dropdown-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Theme submenu glyphs are full-bleed drawings, so a rounded clip cuts the artwork. */
.dropdown-icon-box img.dropdown-theme-icon {
  border-radius: 0;
}

.dropdown-icon-box .default-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.dropdown-icon-box .default-icon svg {
  width: 24px;
  height: 24px;
}

.dropdown-content {
  flex: 1;
}

/* A title with a description sits at the top of the icon; a lone title is centred on it (above). */
.dropdown-item:has(.dropdown-content p) {
  align-items: flex-start;
}

.dropdown-item:has(.dropdown-content p) .dropdown-content {
  padding-top: var(--exa-space-2);
}

.dropdown-content h4 {
  margin: 0 0 var(--exa-space-2);
  font-family: var(--exa-font-heading);
  font-size: var(--exa-text-title-s-size);
  font-weight: var(--exa-font-weight-bold);
  line-height: 1.4;
}

.dropdown-content h4:last-child {
  margin-bottom: 0;
}

.dropdown-content h4 a {
  color: var(--exa-color-text-primary);
  text-decoration: none;
  transition: color var(--exa-duration-base) var(--exa-ease-standard);
}

/* Stretch the link over the whole .dropdown-item */
.dropdown-content h4 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--exa-radius);
  z-index: 10;
}

.dropdown-content h4 a:focus-visible {
  outline: none;
}

.dropdown-content h4 a:focus-visible::after {
  box-shadow: var(--exa-focus-ring);
}

/* Hovering anywhere on the row highlights the title, not only the title text */
.dropdown-item:hover .dropdown-content h4 a,
.dropdown-content h4 a[aria-current] {
  color: var(--exa-color-brand);
}

.dropdown-content p {
  margin: 0;
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
  line-height: var(--exa-text-body-s-line-height);
  word-wrap: break-word;
}

.dropdown-menu .no-items span {
  display: block;
  padding: var(--exa-space-12);
  color: var(--exa-color-text-tertiary);
  font-size: var(--exa-text-body-s-size);
}

/* ========== Hero Banner Styles ========== */
/* Matches the ExaLife hero: display title (.exa-text-display), lead subtitle, primary L button. */

.hero-banner {
  padding: var(--exa-space-60) 0 var(--exa-space-40);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin: 0;
  color: var(--exa-color-text-primary);
  text-wrap: balance;
}

/* The highlighted phrase always starts its own line */
.hero-title .exa-text-gradient {
  display: block;
}

.text-blue {
  color: var(--exa-5);
  font-weight: 600;
}

.hero-subtitle {
  max-width: 600px;
  margin: 25px 0 0;
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-lead-size);
  line-height: var(--exa-text-lead-line-height);
  text-wrap: balance;
}

.hero-cta {
  margin-top: var(--exa-space-40);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--exa-text-lead-size-md);
    line-height: var(--exa-text-lead-line-height-md);
  }
}

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

/* Hide expertises-process image on tablets and smaller (481px - 991px) */
@media (min-width: 481px) and (max-width: 991px) {
  .expertises-process {
    display: none;
  }
}

/* Small devices (≥576px) */

/* Medium devices (≥768px) */
@media (min-width: 768px) {
  .common-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }


  /* Industry Expertise - Tablet */
  .expertise-content {
    flex-direction: row;
    gap: 32px;
  }

  .expertise-image {
    flex: 0 0 50%;
  }

  .expertise-image .desktop-image {
    display: block;
  }

  .expertise-image .mobile-image {
    display: none;
  }

  .expertise-slide .expertise-info {
    flex: 0 0 50%;
    padding: 30px 40px 30px 30px;
  }


  /* .expertise-info > .expertise-description {
    font-size: 18px;
    padding-top: 16px;
    padding-bottom: 24px;
  } */

  /* Hide mobile dots, show desktop dots */
  .expertise-dots.mobile-dots-fixed {
    display: none !important;
  }

  .expertise-dots.desktop-dots {
    display: flex;
  }

  /* Show large/desktop image, hide small/mobile image on tablets and above */
  .development-practice-img img:first-child,
  .development-practice-img .practice-img-desktop {
    display: block;
  }

  .development-practice-img img:last-child,
  .development-practice-img .practice-img-mobile {
    display: none;
  }

  /* Development Practices - Medium devices */

  /* Case Studies - Medium devices */
  .case-studies {
    padding: 64px 0;
  }

  .projects {
    padding-top: 48px;
  }

  .featured-card {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .featured-image {
    flex: 0 0 100%;
    width: 100%;
  }

  .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }

  .featured-content {
    flex: 0 0 100%;
  }

  .small-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .card-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
  }


  .expertises-process {
    display: none;
  }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
  .common-padding {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .navbar-menu {
    display: flex !important;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 20px;
  }

  .dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
  }


  .featured-card {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .featured-image {
    flex: 0 0 65%;
    width: auto;
    height: auto;
  }

  .featured-image img {
    width: 100%;
    height: auto;
  }

  .featured-content {
    flex: 0 0 35%;
  }

  .small-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

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

  /* Industry Expertise - Large devices */
  .expertise-slide .expertise-info {
    padding: 40px 80px 40px 60px;
  }


  /* .expertise-info > .expertise-description {
    font-size: 22px;
    padding-top: 16px;
    padding-bottom: 24px;
  } */

  /* Development Practices - Large devices */

  /* Our Expertises - Desktop (992px+): list and illustration side by side, 30px apart */
  .expertises-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }


  .expertises-process {
    display: block;
    flex: 0 0 50%;
  }
}

/* Extra large devices (≥1440px) */

/* ========== Footer ========== */
/* Matches the ExaLife footer: white card with rounded top, brand block (email, logo, address) → link columns → social links,
   then legal links and a centered copyright, separated by hairlines. Content comes from the Customizer. */

.footer {
  position: relative;
  z-index: 10;
}

.footer-card {
  border-top: 1px solid var(--exa-color-hairline);
  border-radius: var(--exa-radius-card) var(--exa-radius-card) 0 0;
  background-color: var(--exa-color-surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--exa-space-32);
  max-width: var(--exa-content-max);
  margin-inline: auto;
  padding: var(--exa-space-48) var(--exa-space-32) 84px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--exa-space-40);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--exa-neutral-1);
}

/* Brand block */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--exa-space-20);
  width: 100%;
  text-align: center;
}

.footer-contact {
  margin: 0;
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
  font-style: normal;
  line-height: var(--exa-text-body-s-line-height);
  text-wrap: pretty;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo .exa-logo {
  height: 32px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--exa-space-12);
}

.footer-email-link,
.footer-links a,
.footer-legal a,
.footer-text-content a {
  color: var(--exa-color-text-secondary);
  text-decoration: none;
  transition: color var(--exa-duration-base) var(--exa-ease-standard);
}

.footer-email-link:hover,
.footer-links a:hover,
.footer-legal a:hover,
.footer-text-content a:hover {
  color: var(--exa-color-text-primary);
}

/* Link columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--exa-space-32) var(--exa-space-48);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--exa-space-12);
}

.footer-heading {
  margin: 0;
  color: var(--exa-color-text-primary);
  font-family: var(--exa-font-heading);
  font-size: var(--exa-text-title-s-size);
  font-weight: var(--exa-font-weight-medium);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--exa-space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--exa-space-8);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
  line-height: var(--exa-text-body-s-line-height);
}

.footer-links img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.footer-text-content {
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
  line-height: var(--exa-text-body-s-line-height);
}

.footer-text-content p {
  margin: 0 0 var(--exa-space-12);
}

.footer-text-content p:last-child {
  margin-bottom: 0;
}

/* Legal links and copyright */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--exa-space-8) var(--exa-space-10);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
}

.footer-legal-separator {
  width: 1px;
  height: 12px;
  background-color: var(--exa-neutral-4);
}

/* Icon stays inline with the text so a wrapped line stays centered */
.footer-copyright {
  color: var(--exa-color-text-secondary);
  font-family: var(--exa-font-body);
  font-size: var(--exa-text-body-s-size);
  line-height: var(--exa-text-body-s-line-height);
  text-align: center;
}

.footer-copyright .exa-icon {
  margin-right: var(--exa-space-6);
  vertical-align: -2px;
}

.footer-copyright p {
  display: inline;
  margin: 0;
}

/* Large screens: brand, columns and socials spread across one row */
@media (min-width: 1024px) {
  .footer-inner {
    padding-inline: var(--exa-space-24);
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-brand {
    align-items: flex-start;
    width: auto;
    max-width: 448px;
    text-align: left;
  }

  .footer-divider--mobile {
    display: none;
  }

  .footer-logo .exa-logo {
    height: 48px;
  }

  .footer-columns {
    display: contents;
  }

  .footer-links {
    gap: var(--exa-space-16);
  }
}

/* Container styles moved to common.css */

/* Mobile Styles (< 992px) */
/* Matches the ExaLife mobile nav: 40px brand-tint menu button, bottom sheet with a drag handle,
   large Inter links with chevrons, full-width secondary button, dimmed backdrop. */
@media (max-width: 991px) {
  .navbar {
    padding: var(--exa-space-30) 0 var(--exa-space-10);
  }

  .navbar-logo,
  .hamburger {
    position: relative;
    z-index: 3;
  }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--exa-radius-sm);
    background-color: var(--exa-color-brand-subtle);
    color: var(--exa-color-brand);
    cursor: pointer;
    transition: background-color var(--exa-duration-base) var(--exa-ease-standard);
  }

  .hamburger:hover {
    background-color: color-mix(in oklch, var(--exa-color-brand-subtle) 70%, transparent);
  }

  .hamburger:focus-visible {
    outline: none;
    box-shadow: var(--exa-focus-ring);
  }

  .hamburger .hamburger-close,
  .hamburger[aria-expanded="true"] .hamburger-open {
    display: none;
  }

  .hamburger[aria-expanded="true"] .hamburger-close {
    display: inline-block;
  }

  .navbar-cta {
    display: none;
  }

  /* Bottom sheet */
  .navbar-menu {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--exa-space-20);
    max-height: 85vh;
    overflow-y: auto;
    border-top: 1px solid var(--exa-color-hairline);
    border-radius: var(--exa-radius-card) var(--exa-radius-card) 0 0;
    background-color: var(--exa-color-bg);
    padding: var(--exa-space-30) var(--exa-space-16) calc(var(--exa-space-32) + env(safe-area-inset-bottom));
    transform: translateY(100%);
    visibility: hidden;
    transition: transform var(--exa-duration-slow) var(--exa-ease-out), visibility var(--exa-duration-slow);
  }

  /* Drag handle */
  .navbar-menu::before {
    content: "";
    position: absolute;
    top: var(--exa-space-12);
    left: 50%;
    width: 48px;
    height: 6px;
    border-radius: var(--exa-radius-full);
    background-color: var(--exa-neutral-2);
    transform: translateX(-50%);
  }

  .navbar-menu.active {
    transform: translateY(0);
    visibility: visible;
  }

  .navbar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background-color: var(--exa-color-overlay-strong);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--exa-duration-slow) var(--exa-ease-out), visibility var(--exa-duration-slow);
  }

  .navbar-menu.active + .navbar-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: var(--exa-space-20);
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: var(--exa-space-6) var(--exa-space-14);
    font-family: var(--exa-font-body);
    font-size: 20px;
    font-weight: var(--exa-font-weight-semibold);
    line-height: 1.3;
  }

  .nav-link:hover {
    color: var(--exa-color-text-primary);
    background-color: var(--exa-color-pill);
  }

  .nav-link[aria-current] {
    background-color: var(--exa-color-surface-soft);
  }

  .nav-link-chevron {
    display: inline-block;
  }

  .navbar-cta-mobile {
    display: inline-flex;
    width: 100%;
  }

  /* Dropdown inside the sheet: expands in place */
  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--exa-duration-slow) var(--exa-ease-standard),
      opacity var(--exa-duration-slow) var(--exa-ease-standard);
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    margin-top: 0;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: var(--exa-space-8) 0 0 var(--exa-space-14);
  }

  .dropdown-item {
    gap: var(--exa-space-12);
    padding: var(--exa-space-10) var(--exa-space-8);
  }

  .dropdown-icon-box {
    width: 40px;
    height: 40px;
  }

  .dropdown-icon-box .default-icon svg {
    width: 20px;
    height: 20px;
  }

  .dropdown-content h4 {
    font-family: var(--exa-font-body);
    font-size: var(--exa-text-body-size);
    font-weight: var(--exa-font-weight-semibold);
  }
}

/* Large phones and tablets (481px - 768px) */
@media (max-width: 768px) {

  .short-image {
    width: 320px;
    height: 245px;
  }

  .long-image {
    width: 320px;
    height: 375px;
  }

  .slider-section {
    padding-top: 80px;
  }

  .slider-box {
    gap: 28px;
  }

  .slider-logo {
    padding: 80px 0;
  }

  .slider-logo .slider-box {
    gap: 84px;
  }

  .slider-logo .slide img {
    width: 140px;
    height: 68px;
    object-fit: contain;
  }

  .case-studies {
    padding: 60px 0;
  }

  .maintitle {
	  font-family: "Gilroy", "Urbanist", sans-serif;
    font-size: 36px;
  }

  .maintitle-blue {
    font-family: "Gilroy", "Urbanist", sans-serif;
	  font-size: 36px;
  }

  .projects {
    padding-top: 90px;
  }

  .featured-card {
    flex-direction: column;
    gap: 24px;
  }

  .featured-image {
    width: 100% !important;
    margin-bottom: 16px !important;
    height: auto !important;
  }

  .featured-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .featured-content {
    width: 100%;
  }

  /* .featured-content .tag {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  } */

  .small-cards .card {
    display: block !important;
  }

  .small-cards .card-image {
    width: 100% !important;
    margin-bottom: 16px !important;
    height: auto !important;
  }

  .small-cards .card-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .small-cards .card-content {
    padding: 0 !important;
    width: 100% !important;
  }

  .small-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Industry Expertise - Tablet */
  .expertise-slide .expertise-info {
    padding: 24px 20px;
  }

  .expertise-slider.full-width {
    padding: 0 16px;
  }
}

/* Small phones (320px - 480px) */
@media (max-width: 480px) {

  .short-image {
    width: 186.156px;
    height: 142.479px;
  }

  .long-image {
    width: 186.156px;
    height: 218px;
  }

  .slider-section {
    padding-top: 60px;
  }

  .slider-box {
    gap: 16px;
  }

  .slider-logo {
    padding: 60px 0;
  }

  .slider-logo .slider-box {
    gap: 72px;
  }

  .slider-logo .slide img {
    width: 98.16px;
    height: 48px;
    object-fit: contain;
  }

  .case-studies {
    padding: 40px 0;
  }


  .maintitle {
	  font-family: "Gilroy", "Urbanist", sans-serif;
    font-size: 22px;
  }

  .maintitle-blue {
	  font-family: "Gilroy", "Urbanist", sans-serif;
    font-size: 22px;
  }
  .projects {
    padding-top: 80px;
  }

  .featured-card {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
  }

  .featured-image {
    width: 100% !important;
    margin-bottom: 16px !important;
    height: auto !important;
  }

  .featured-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .featured-content {
    width: 100%;
  }

  /* .featured-content .tag {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  } */

  .small-cards .card {
    display: block !important;
    margin-bottom: 24px;
  }

  .small-cards .card-image {
    width: 100% !important;
    margin-bottom: 16px !important;
    height: auto !important;
  }

  .small-cards .card-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 24px !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .small-cards .card-content {
    padding: 0 !important;
    width: 100% !important;
  }

  .small-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Industry Expertise */


  .expertise-slider {
    margin-top: 32px;
  }

  .expertise-content {
    flex-direction: column;
    gap: 0;
    
  }

  .expertise-image {
    flex: 0 0 100%;
    order: 1;
  }

  .expertise-image .desktop-image {
    display: none;
  }

  .expertise-image .mobile-image {
    display: block;
  }

  .expertise-slide .expertise-info {
    flex: 0 0 100%;
    order: 3;
    margin-top: 24px;
    padding: 20px 16px;
  }


  /* .expertise-info > .expertise-description {
    font-size: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
  } */

  .expertise-slider.full-width {
    padding: 0;
  }

  .slides-wrapper {
    min-height: auto;
  }

  /* Show mobile dots, hide desktop dots */
  .expertise-dots.mobile-dots-fixed {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 0;
    gap: 16px;
  }

  .expertise-dots.desktop-dots {
    display: none;
  }

  .expertise-slider .expertise-dots {
    width: 100%;
    margin-left: 0;
  }

  .expertise-dots.mobile-dots-fixed .dot {
    width: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .expertise-dots.mobile-dots-fixed .dot::after {
    content: attr(data-number);
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 141, 255, 0.4);
    margin-top: 10px;
  }

  .expertise-dots.mobile-dots-fixed .dot.active::after {
    color: var(--exa-5);
    font-weight: 700;
  }

  /* Development Practices */

  /* Our Expertises - already in base styles, nothing extra needed for mobile */
  .expertises-process {
    display: none;
  }
}

/* ========== Page Templates Styles ========== */

/* About Page */

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--exa-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.value-title {
	font-family: "Gilroy", "Urbanist", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.team-card {
  text-align: center;
  background: var(--exa-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.team-info {
  padding: 20px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--exa-5);
  margin-bottom: 12px;
}

.model-card {
  background: var(--exa-white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.model-title {
	font-family: "Gilroy", "Urbanist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.model-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--exa-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}


/* Contact Page */

/* Case Study Single */
.case-study-hero {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--exa-white) 100%);
}

.case-study-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.case-study-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.case-study-industry {
  background: var(--exa-black);
  color: var(--exa-white);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.case-study-year {
  background: #f0f0f0;
  color: #666;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
}

.case-study-title {
	font-family: "Gilroy", "Urbanist", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.case-study-excerpt {
  font-size: 18px;
  color: #666;
}

.case-study-image {
  padding: 40px 0;
}

.case-study-featured-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.case-study-main .case-study-section {
  margin-bottom: 48px;
}

.case-study-main h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--exa-5);
  display: inline-block;
}

.case-study-content {
  font-size: 16px;
  color: #555;
}

.case-study-content p {
  margin-bottom: 16px;
}

.case-study-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.sidebar-card .client-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.sidebar-card .client-name {
  font-size: 14px;
  color: #666;
}

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

.project-details-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.project-details-list li:last-child {
  border-bottom: none;
}

.project-details-list .label {
  font-size: 14px;
  color: #666;
}

.project-details-list .value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.project-details-list .value a {
  color: var(--exa-5);
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list .tag {
  background: var(--exa-white);
  color: #333;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.tag-list .tag:hover {
  background: var(--exa-5);
  color: var(--exa-white);
  border-color: var(--exa-5);
}

.case-study-testimonial {
  background: linear-gradient(135deg, var(--exa-5) 0%, #0066CC 100%);
  padding: 80px 0;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card blockquote {
  font-size: 24px;
  font-weight: 400;
  color: var(--exa-white);
  font-style: italic;
  margin: 0 0 30px;
}

.testimonial-card cite {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

/* Archive Pages */
.archive-hero {
  text-align: center;
}

.archive-filters {
  padding: 20px 0 40px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filter-tab {
  padding: 10px 24px;
  border: 2px solid #ddd;
  border-radius: 9999px;
  background: var(--exa-white);
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--exa-5);
  border-color: var(--exa-5);
  color: var(--exa-white);
}

.archive-pagination {
  margin-top: 60px;
  text-align: center;
}

.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--exa-5);
  color: var(--exa-white);
}

.industry-cta {
  background: linear-gradient(135deg, var(--exa-5) 0%, #0066CC 100%);
  padding: 80px 0;
  text-align: center;
}

.industry-cta .cta-content h2 {
  font-size: var(--exa-text-heading-size-md);
  font-weight: var(--exa-font-weight-bold);
  color: var(--exa-color-text-inverse);
  margin-bottom: var(--exa-space-16);
}

.industry-cta .cta-content p {
  font-size: var(--exa-text-title-s-size);
  color: color-mix(in oklch, var(--exa-color-text-inverse) 90%, transparent);
  margin-bottom: var(--exa-space-30);
}


/* Industry Single */
.industry-hero {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.industry-hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
}

.industry-hero-content {
  color: var(--exa-white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.industry-icon img {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.industry-title {
	font-family: "Gilroy", "Urbanist", sans-serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 16px;
}

.industry-tagline {
  font-size: 20px;
  opacity: 0.9;
}

.industry-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
}

/* Related Case Studies Section */
.related-case-studies h2.section-title {
  font-family: "Gilroy", "Urbanist", sans-serif;
	font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

/* Responsive Styles for Page Templates */
@media (max-width: 991px) {

  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-study-sidebar {
    position: static;
  }

  .case-study-title {
	  font-family: "Gilroy", "Urbanist", sans-serif;
    font-size: 32px;
  }
}

@media (max-width: 767px) {

  .cta-content h2 {
    font-size: 28px;
  }

  .industry-title {
	  font-family: "Gilroy", "Urbanist", sans-serif;
    font-size: 32px;
  }

  .testimonial-card blockquote {
    font-size: 18px;
  }
}
