/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --purple: #5c64ff;
  --black: #162440;
  --text-dark: #111825;
  --grey: #596374;
  --light: #f9fafb;
  --cblue: #0877f4;
  --yellow: #e9fea3;
  --gradient-blue: linear-gradient(to right, #037af5, #2b61f0);

  --sidebar-width: 321px;
  --content-width: 1119px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--light);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

/* ===== LAYOUT ===== */
.page-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  width: var(--sidebar-width);
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 16px 32px 42px;
  overflow: hidden;
  background-color: var(--light);
  position: sticky;

}

.main-content {
  min-height: 100vh;
  position: relative;
}

@media (min-width: 1440px) {
  .main-content {
    width: 1119px;
    margin: auto;
  }
}

/* ===== SIDEBAR ===== */
.sidebar-logo {
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--black);
  letter-spacing: 0.64px;
  width: 123px;
  cursor: pointer;
}

.sidebar-logo a {
  color: var(--black);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--grey);
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: var(--purple);
}

.nav-item.active {
  color: var(--purple);
  font-weight: 500;
}

.nav-category {
  display: flex;
  align-items: center;
  padding-top: 12px;
  font-family: 'Gabarito', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-subitems {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-subitem {
  display: flex;
  align-items: center;
  padding: 12px 0 12px 20px;
  font-family: 'Gabarito', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--grey);
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: normal;
}

.nav-subitem:hover {
  color: var(--purple);
}

.nav-subitem.active {
  color: var(--purple);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn {
  font-family: 'Gabarito', sans-serif;
  font-size: 18px;
  letter-spacing: 0.36px;
  padding: 4px 12px;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.lang-btn.active {
  font-weight: 700;
  color: var(--purple);
  opacity: 1;
}

.lang-btn:not(.active) {
  font-weight: 400;
  color: var(--black);
  opacity: 0.5;
}

.lang-divider {
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  color: var(--black);
  opacity: 0.5;
  letter-spacing: 0.32px;
}

/* ===== TYPOGRAPHY ===== */
.heading-hero {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: var(--text-dark);
  letter-spacing: 1.28px;
  line-height: normal;
}

.heading-h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--black);
  letter-spacing: 0.96px;
  line-height: normal;
}

.heading-h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--black);
  letter-spacing: 0.72px;
  line-height: normal;
}

.heading-h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--black);
  letter-spacing: 0.64px;
  line-height: normal;
}

.heading-h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  letter-spacing: 0.48px;
  line-height: normal;
}

.text-xl {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--text-dark);
  letter-spacing: 0.48px;
  line-height: normal;
}

.text-body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--black);
  letter-spacing: 0.36px;
  line-height: 28px;
}

.text-small {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 0.32px;
  line-height: normal;
}

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(107, 114, 128, 0.33);
  border-radius: 34px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-dark);
  letter-spacing: 0.72px;
  white-space: nowrap;
}

.tag-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: var(--yellow);
  border-radius: 34px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 0.32px;
  white-space: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--gradient-blue);
  border-radius: 42px;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #f9fafa;
  letter-spacing: 0.48px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 122, 245, 0.3);
}

.btn-primary svg {
  width: 24px;
  height: 24px;
  fill: #f9fafa;
}

/* ===== PURPLE CARD ===== */
.purple-card {
  background-color: var(--purple);
  padding: 80px 32px;
  overflow: hidden;
  width: 100%;
}

.purple-card .card-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #e6fba1;
  letter-spacing: 0.36px;
  line-height: normal;
  margin-bottom: 8px;
}

.purple-card .card-text {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--light);
  letter-spacing: 0.48px;
  line-height: normal;
}

/* ===== CASE STUDY COMMON LAYOUT ===== */
.cs-hero {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding-left: 32px;
  padding-top: 104px;
  padding-right: 32px;
  position: relative;
}

.cs-hero-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex: 1;
}

.cs-hero-title-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 603px;
}

.cs-hero-title-col .cs-label {
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--purple);
  letter-spacing: 0.48px;
}

.cs-hero-title-col .cs-title {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 48px;
  color: #162440;
  letter-spacing: 0.96px;
  width: 100%;
}

.cs-hero-title-col .cs-desc {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #162440;
  letter-spacing: 0.36px;
  line-height: 28px;
  width: 100%;
}

.cs-hero-role-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  overflow: hidden;
}

.cs-hero-role-col .role-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  letter-spacing: 0.48px;
  text-align: center;
}

.cs-hero-role-col .role-tags {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-scroll-indicator {
  text-align: center;
  color: #1041e1;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  margin-top: 40px auto;
}

.cs-scroll-arrow-indicator {
  background: #ebebfd;
  margin-bottom: 32px;
  border-radius: 50px;
  padding: 16px;
  color: var(--purple);
}

.cs-scroll-pill {
  width: 49px;
  height: 76px;
  border-radius: 100px;
  background: rgba(210, 221, 237, 0.5);
  margin: 16px auto 0;
  position: relative;
}

.cs-scroll-pill::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(92, 100, 255, 0.6);
  position: absolute;
  top: calc(50% - 19px);
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

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

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

/* ===== CASE STUDY SECTIONS ===== */
.cs-section {
  padding: 104px 32px;
}

.cs-card-section {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 104px 32px;
}

.cs-card-section.cs3-approach {
  padding: 0px 32px;
}

.cs-card-section .col-1 {
  width: 600px;
  flex-shrink: 0;
}

.cs-card-section .col-2 {
  flex: 1;
}

.cs-card-section .section-title {
  margin-bottom: 32px;
}

.col ul,
.cs-card-section .section-content ul {
  list-style: disc;
  padding-left: 27px;
}


.cs-card-section .section-content ul li {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.36px;
  color: var(--black);
}

/* ===== USERS SECTION ===== */
.cs-users-section {
  padding: 104px 32px;
  max-width: 1055px;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

.cs-users-section .title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-users-section .users-grid {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.cs-users-section .user-group {
  flex: 1;
}

.user-group .user-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.user-group .user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 100px;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.user-group .user-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
  letter-spacing: 0.48px;
}

.user-group .user-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--purple);
  letter-spacing: 0.36px;
}

.user-group ul {
  list-style: disc;
  padding-left: 24px;
}

.user-group ul li {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 0.32px;
  line-height: normal;
  margin-bottom: 4px;
}

/* ===== KEY PROBLEMS ===== */
.cs-problems {
  padding: 104px 32px;
}

.cs-problems ul {
  list-style: disc;
  padding-left: 27px;
  margin-top: 40px;
}

.cs-problems ul li {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.36px;
  color: var(--black);
  margin-bottom: 4px;
}

.cs-problems ul li .problem-key {
  font-weight: 700;
  color: var(--purple);
}

/* ===== CORE FEATURES TITLE ===== */
.cs-feature-title {
  padding: 32px 32px;
  position: relative;
}

.cs-feature-title h2 {
  position: relative;
  z-index: 1;
}

.cs-feature-title .highlight-bar {
  position: absolute;
  bottom: 32px;
  left: 32px;
  height: 17px;
  background: var(--yellow);
  border-radius: 200px;
  mix-blend-mode: darken;
}

/* ===== FEATURE SECTION ===== */
.cs-feature-section {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 104px 32px;
  overflow: hidden;
}

.cs-feature-section .feature-text {
  flex: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.cs-feature-section .feature-text h3 {
  margin-bottom: 32px;
}

.cs-feature-section .feature-text ul {
  list-style: disc;
  padding-left: 27px;
}

.cs-feature-section .feature-text ul li {
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  letter-spacing: 0.36px;
}

.cs-feature-section .feature-image {
  width: 502px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-feature-section .feature-image img {
  max-width: 100%;

}

/* ===== FROM/TO SHIFT ===== */
.cs-shift {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.cs-shift .shift-box {
  flex: 1;
  background: var(--yellow);
  border-radius: 32px;
  padding: 16px;
  text-align: center;
}

.cs-shift .shift-box .shift-label {
  font-weight: 700;
  font-size: 16px;
  color: #162440;
  letter-spacing: 0.32px;
  margin-bottom: 4px;
}

.cs-shift .shift-box .shift-value {
  font-size: 18px;
  color: var(--black);
  letter-spacing: 0.36px;
  line-height: 28px;
}

.cs-shift .shift-arrow {
  font-size: 32px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ===== OUTCOMES ===== */
.cs-outcomes {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 104px 32px;
  overflow: hidden;
}

.cs-outcomes .outcomes-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-outcomes .outcomes-text h3 {
  margin-bottom: 32px;
}

.cs-outcomes .outcomes-text ul {
  list-style: disc;
  padding-left: 27px;
}

.cs-outcomes .outcomes-text ul li {
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  letter-spacing: 0.36px;
}

.cs-outcomes .outcomes-image {
  width: 502px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-outcomes .outcomes-image img {
  max-width: 100%;
  border-radius: 16px;
}

/* ===== KEY TAKEAWAYS ===== */
.cs-takeaways {
  padding: 104px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cs-takeaways ul {
  list-style: disc;
  padding-left: 27px;
  margin-top: 32px;
}

.cs-takeaways ul li {
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  letter-spacing: 0.36px;
  margin-bottom: 8px;
}

.cs-takeaways-cols {
  display: flex;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}

.cs-takeaways-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border-left: 4px solid #e3e3e8;
  padding: 24px;
}

/* ===== WHAT NEXT ===== */
.cs-whatnext {
  padding: 104px 32px;
}

.cs-whatnext ul {
  list-style: disc;
  padding-left: 27px;
  margin-top: 32px;
}

.cs-whatnext ul li {
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  letter-spacing: 0.36px;
  margin-bottom: 8px;
}

.cs-whatnext-cols {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 40px 0px;
  overflow: hidden;
}


/* ===== CLOSING THOUGHT ===== */
.cs-closing {
  padding: 104px 32px;
}

.cs-closing .closing-text {
  flex: 1;
  margin-top: 32px;
}

.cs-closing p {
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
  letter-spacing: 0.36px;
  margin-bottom: 8px;
}

/* ===== FOOTER NAV ===== */
.footer-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 32px;
  width: 100%;
}

.arrow-footer {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--purple);
  border-style: outset;
  border-radius: 40px;
  color: var(--purple);
  margin: inherit;
}

.footer-nav:hover .arrow-footer {
  background: var(--purple);
  color: var(--light);
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  width: var(--sidebar-width);
}

.footer-nav-item .footer-arrow {
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.footer-nav-item .footer-arrow:hover {
  transform: translateX(-4px);
}

.footer-nav-item .footer-arrow.next:hover {
  transform: translateX(4px);
}

.footer-nav-item .footer-link-text {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--purple);
  letter-spacing: 0.32px;
}

.footer-nav-right {
  margin-left: auto;
  text-align: right;
}

/* ===== GRADIENT ELLIPSES ===== */
.gradient-ellipse {
  position: absolute;
  width: 752px;
  height: 752px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.gradient-ellipse-1 {
  background: radial-gradient(circle, rgba(233, 254, 163, 0.25) 0%, rgba(249, 250, 251, 0) 70%);
  top: 0;
  right: -100px;
}

.gradient-ellipse-2 {
  background: radial-gradient(circle, rgba(200, 230, 170, 0.2) 0%, rgba(249, 250, 251, 0) 70%);
  top: -30px;
  right: 100px;
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8eaff 0%, #f0f4ff 50%, #e8eaff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 14px;
  font-style: italic;
}

/* ===== FULL-WIDTH IMAGE SECTIONS ===== */
.cs-full-image {
  padding: 32px;
}

.cs-full-image img {
  width: 100%;

}

/* ===== SECTIONS FULL IMAGE===== */

.cs-full-section-image {
  padding: 64px;
  margin: auto;
  background: #E0E2F0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-full-sectionimage img {
  width: 80%;

}

/* ===== SHARED NEED / INSIGHT ===== */
.cs-shared-insight {
  padding: 16px 0px;
  display: flex;
  align-items: center;
}

.text-body.insight-key,
.cs-shared-insight p .insight-key {
  font-weight: 700;
  color: var(--purple);
}

/* ===== WELCOME PAGE ===== */
.welcome-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.welcome-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: flex-start;
  padding-left: 32px;
  padding-top: 104px;
  width: 864px;
  position: relative;
  z-index: 1;
}

.welcome-title-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.welcome-greeting {
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--purple);
  letter-spacing: 0.64px;
  width: 432px;
  white-space: pre-wrap;
}

.welcome-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.welcome-cta {
  margin-top: 0;
}

.text-bold {
  font-weight: 700;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: end;
  justify-content: end;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding: 32px;
  width: 647px;
}

.contact-photo {
  width: 120px;
  height: 150px;
  border-radius: 8765px;
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-details .text-bold {
  font-weight: 700;
}

/* ===== CS HERO flex-direction fix ===== */
.cs-hero {
  flex-direction: column;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.hamburger {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 114, 128, 0.15);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: background 0.3s ease;
  border: none;
}

.hamburger:hover {
  background: rgba(249, 250, 251, 1);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay menu */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 36, 64, 0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--light);
  z-index: 160;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .sidebar-logo {
  margin-bottom: 40px;
}

.mobile-menu .sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu .nav-item {
  padding: 14px 0;
  font-size: 18px;
}

.mobile-menu .nav-category {
  padding-top: 16px;
  font-size: 13px;
}

.mobile-menu .nav-subitem {
  padding: 12px 0 12px 16px;
  font-size: 15px;
  letter-spacing: 1.2px;
  line-height: 1.4;
}

.mobile-menu .lang-switcher {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(107, 114, 128, 0.15);
}

.cs-card-section .section-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== RESPONSIVE: TABLET & MOBILE (max-width: 1024px) ===== */
/* Sidebar hidden, hamburger active for ALL screens below 1024px */
@media (max-width: 1024px) {

  /* Hide sidebar, show hamburger */
  .hamburger {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .sidebar {
    display: none !important;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    margin-top: 100px;
  }

  /* Typography scale-down */
  .heading-hero {
    font-size: 48px;
  }

  .heading-h1 {
    font-size: 40px;
  }

  .heading-h2 {
    font-size: 30px;
  }

  .heading-h3 {
    font-size: 26px;
  }

  .text-xl {
    font-size: 20px;
  }

  /* Welcome */
  .welcome-hero-inner {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .welcome-greeting {
    font-size: 26px;
    width: auto;
  }

  /* Case study hero */
  .cs-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cs-hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .cs-hero-title-col {
    width: 100%;
  }

  .cs-hero-title-col .cs-title {
    font-size: 36px;
  }

  /* Sections */
  .cs-card-section {
    flex-direction: column;
    padding: 72px 24px;
    gap: 24px;
  }

  .cs-card-section .col-1 {
    width: 100%;
  }

  .cs-section {
    padding: 72px 24px;
  }

  .cs-feature-section {
    flex-direction: column !important;
    padding: 72px 24px;
    gap: 24px;
  }

  .cs-feature-section .feature-image {
    width: 100%;
  }

  .cs-users-section {
    padding: 72px 24px;
  }

  .cs-users-section .users-grid {
    gap: 32px;
  }

  .cs-problems {
    padding: 72px 24px;
  }

  .cs-whatnext {
    padding: 72px 24px;
  }

  .cs-takeaways {
    padding: 72px 24px;
  }

  .cs-outcomes {
    flex-direction: column;

  }

  .cs-takeaways-cols {
    flex-direction: column;
  }

  .cs-closing {
    padding: 48px 24px 72px;
  }

  .cs-feature-title {
    padding: 24px 24px;
  }

  .cs-feature-title .highlight-bar {
    left: 24px;
    bottom: 24px;
  }

  /* Footer nav */
  .footer-nav {
    padding: 24px;
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav-item {
    width: 100%;
  }

  .footer-nav-right {
    margin-left: 0;
    text-align: left;
  }

  .footer-nav-right .footer-arrow.next {
    margin-left: 0 !important;
  }

  /* Contact */
  .contact-content {
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
  }

  /* Shift boxes */
  .cs-shift {
    flex-direction: column;
    gap: 16px;
  }

  .cs-shift .shift-arrow {
    transform: rotate(90deg);
  }

  /* Buttons – touch-friendly min height */
  .btn-primary {
    min-height: 44px;
  }
}

/* ===== RESPONSIVE: MOBILE (max-width: 768px) ===== */
/* Additional refinements for phone-sized screens */
@media (max-width: 768px) {

  /* Typography – further scale-down */
  .heading-hero {
    font-size: 36px;
    letter-spacing: 0.72px;
  }

  .heading-h1 {
    font-size: 32px;
    letter-spacing: 0.64px;
  }

  .heading-h2 {
    font-size: 26px;
    letter-spacing: 0.52px;
  }

  .heading-h3 {
    font-size: 22px;
    letter-spacing: 0.44px;
  }

  .heading-h4 {
    font-size: 20px;
  }

  .text-xl {
    font-size: 18px;
    line-height: 28px;
  }

  .text-body {
    font-size: 16px;
    line-height: 26px;
  }

  .text-small {
    font-size: 14px;
  }

  /* Tags */
  .tag {
    font-size: 14px;
    padding: 6px 10px;
    letter-spacing: 0.56px;
  }

  .tag-role {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* Buttons – full width on phone */
  .btn-primary {
    font-size: 18px;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }

  /* Welcome page */
  .welcome-hero-inner {
    padding: 0 20px;
    gap: 40px;
  }

  .welcome-greeting {
    font-size: 22px;
  }

  .welcome-tags {
    gap: 6px;
  }

  /* Case study hero */
  .cs-hero {
    padding: 0 20px;
  }

  .cs-hero-content {
    gap: 24px;
  }

  .cs-hero-title-col {
    gap: 20px;
  }

  .cs-hero-title-col .cs-label {
    font-size: 18px;
  }

  .cs-hero-title-col .cs-title {
    font-size: 28px;
    letter-spacing: 0.56px;
  }

  .cs-hero-title-col .cs-desc {
    font-size: 16px;
    line-height: 26px;
  }

  .cs-hero-role-col {
    gap: 16px;
  }

  .cs-hero-role-col .role-title {
    font-size: 18px;
  }

  .cs-hero-role-col .role-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cs-scroll-indicator {
    margin-top: 24px;
    font-size: 14px;
  }

  .cs-scroll-pill {
    width: 36px;
    height: 56px;
  }

  /* Sections – tighter padding */
  .cs-card-section {
    padding: 56px 20px;
    gap: 20px;
  }

  .cs-card-section .section-title {
    margin-bottom: 20px;

  }

  .cs-card-section .section-content ul li {
    font-size: 16px;
    line-height: 26px;
  }

  .cs-section {
    padding: 56px 20px;
  }

  /* Purple cards */
  .purple-card {
    padding: 24px;
  }

  .purple-card .card-label {
    font-size: 16px;
  }

  .purple-card .card-text {
    font-size: 18px;
  }

  /* Users section */
  .cs-users-section {
    padding: 56px 20px;
    max-width: 100%;
  }

  .cs-users-section .users-grid {
    flex-direction: column;
    gap: 32px;
    margin-top: 28px;
  }

  .user-group .user-avatar {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .user-group .user-name {
    font-size: 20px;
  }

  .user-group .user-header {
    margin-bottom: 20px;
  }

  /* Problems */
  .cs-problems {
    padding: 56px 20px;
  }

  .cs-problems ul li {
    font-size: 16px;
    line-height: 26px;
  }

  /* Features */
  .cs-feature-title {
    padding: 20px;
  }

  .cs-feature-title .highlight-bar {
    left: 20px;
    bottom: 20px;
  }

  .cs-feature-section {
    padding: 56px 20px;
  }

  .cs-feature-section .feature-text h3 {
    margin-bottom: 20px;
  }

  .cs-feature-section .feature-text ul li {
    font-size: 16px;
    line-height: 26px;
  }



  /* Shift boxes */
  .cs-shift {
    gap: 12px;
  }

  .cs-shift .shift-arrow {
    font-size: 24px;
  }

  .cs-shift .shift-box {
    border-radius: 20px;
    padding: 16px;
  }

  .cs-shift .shift-box .shift-value {
    font-size: 16px;
    line-height: 24px;
  }

  /* Takeaways */
  .cs-takeaways {
    padding: 56px 20px;
  }

  .cs-takeaways ul li {
    font-size: 16px;
    line-height: 26px;
  }

  /* outcomes */
  .cs-outcomes .outcomes-image {
    width: 100%;
  }

  /* Closing */
  .cs-closing {
    padding: 40px 20px 56px;
  }

  /* Footer nav */
  .footer-nav {
    padding: 20px;
    gap: 20px;
  }

  .footer-nav-item {
    gap: 12px;
  }

  .footer-nav-item .footer-link-text {
    font-size: 14px;
  }

  .footer-nav-item .footer-arrow {
    width: 32px;
    height: 32px;
  }

  /* Placeholder images */
  .placeholder-img {
    height: 260px;
  }

  /* Contact page */
  .contact-page {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 40px;
  }

  .contact-content {
    padding: 0 20px;
    gap: 40px;
  }

  .contact-photo {
    width: 140px;
    height: 150px;
  }

  .contact-info-block {
    gap: 20px;
  }

  .contact-details {
    gap: 12px;
  }

  .contact-details .text-body {
    word-break: break-word;
  }

  /* Gradient ellipses – scale down */
  .gradient-ellipse {
    width: 400px;
    height: 400px;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE (max-width: 380px) ===== */
@media (max-width: 380px) {
  .heading-hero {
    font-size: 28px;
  }

  .heading-h1 {
    font-size: 26px;
  }

  .cs-hero-title-col .cs-title {
    font-size: 24px;
  }

  .welcome-hero-inner {
    gap: 32px;
  }

  .welcome-greeting {
    font-size: 20px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 12px 20px;
  }


}