/* ========================================
   FONT DECLARATIONS
   ======================================== */
@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Thin.woff2') format('woff2'),
       url('../fonts/Recoleta/Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Light.woff2') format('woff2'),
       url('../fonts/Recoleta/Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Regular.woff2') format('woff2'),
       url('../fonts/Recoleta/Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Medium.woff2') format('woff2'),
       url('../fonts/Recoleta/Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/SemiBold.woff2') format('woff2'),
       url('../fonts/Recoleta/SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Bold.woff2') format('woff2'),
       url('../fonts/Recoleta/Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta/Black.woff2') format('woff2'),
       url('../fonts/Recoleta/Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */
:root {
  /* Colors */
  --color-primary: rgba(0, 99, 97, 1);
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-bg-light: rgba(246, 246, 239, 1);
  --color-bg-secondary: rgba(230, 242, 244, 1);
  --color-bg-tertiary: rgba(226, 240, 240, 1);
  --color-bg-accent: rgba(251, 232, 249, 1);
  --color-bg-neutral: rgba(249, 247, 232, 1);
  --color-bg-pink: rgba(241, 230, 232, 1);
  --color-bg-beige: rgba(244, 232, 215, 1);
  --color-border: rgba(225, 225, 225, 1);
  --color-border-light: rgba(168, 168, 168, 1);
  --color-border-fade: rgba(0, 0, 0, 0.20000000298023224);
  --color-text-primary: rgba(0, 0, 0, 1);
  --color-text-secondary: rgba(168, 168, 168, 1);
  
  /* Typography */
  --font-primary: 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Inter', Arial, sans-serif;
  --font-accent: 'Recoleta', serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 10px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 40px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;
  --spacing-5xl: 100px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-2xl: 54px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-base: 0 1px 2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-accordion: max-height 0.3s ease-in-out;
  
  /* Layout */
  --container-max-width: 1280px;
  --container-padding: 24px;
  --section-padding: 100px;
}

/* ========================================
   GLOBAL RESETS & BASE STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
  background-color: var(--color-white);
}

/* ========================================
   LAYOUT COMPONENTS - MAIN CONTAINERS
   ======================================== */

.page-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
 
.homepage {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* ========================================
   HEADER SECTION
   ======================================== */
 
.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  padding: 16px 0;
}

.header__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}
 
.header__logo {
  width: 248px;
  height: auto;
  flex-shrink: 0;
}
 
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-shrink: 0;
}
 
.header__nav-link {
  color: var(--color-black);
  text-decoration: none;
  line-height: 1.35;
  transition: var(--transition-base);
}

.header__nav-link:hover {
  opacity: 0.7;
}
 
.header__nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
 
.header__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

/* Header button styles now inherit from base .btn class */

/* ========================================
   HERO SECTION
   ======================================== */
 
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 120px 0 var(--section-padding);
  margin: 0 auto;
  max-width: 3840px;
  overflow: hidden;
}
 
.hero__bg-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: none;
  z-index: 0;
}
 
.hero__bg-img {
  width: 15vw;
  max-width: 200px;
  height: auto;
  position: absolute;
}

@media (min-width: 768px) {
  .hero__bg-img {
    width: 15vw;
    max-width: 150px;
  }
}

@media (min-width: 1024px) {
  .hero__bg-img {
    max-width: 160px;
  }
}

@media (min-width: 1280px) {
  .hero__bg-img {
    max-width: 160px;
  }
}

@media (min-width: 1440px) {
  .hero__bg-img {
    max-width: 160px;
  }
}

@media (min-width: 1920px) {
  .hero__bg-img {
    max-width: 180px;
  }
}

@media (min-width: 2560px) {
  .hero__bg-img {
    width: 10vw;
    max-width: 600px;
  }
}

/* Hero background image animations */
@keyframes heroImageSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Parallax keyframe animations - different speeds for each image */
@keyframes parallaxSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-30px); }
}

@keyframes parallaxMedium {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-50px); }
}

@keyframes parallaxFast {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-80px); }
}

@keyframes parallaxReverse {
  0% { transform: translateY(0px); }
  100% { transform: translateY(20px); }
}

.hero__bg-img--1 {
  top: 12%;
  left: 10%;
  animation: heroImageSlideIn 0.8s ease-out 0.1s both;
}

.hero__bg-img--2 {
  top: 77%;
  left: 21%;
  animation: heroImageSlideIn 0.8s ease-out 0.2s both;
}

.hero__bg-img--3 {
  top: 47%;
  left: 0%;
  animation: heroImageSlideIn 0.8s ease-out 0.3s both;
}

.hero__bg-img--4 {
  top: 72%;
  right: 20%;
  animation: heroImageSlideIn 0.8s ease-out 0.5s both;
}

.hero__bg-img--5 {
  top: 28%;
  right: 0%;
  animation: heroImageSlideIn 0.8s ease-out 0.6s both;
}

.hero__bg-img--6 {
  top: 8%;
  right: 40%;
  animation: heroImageSlideIn 0.8s ease-out 0.8s both;
}
 
.hero__content {
  max-width: 680px;
  width: 100%;
  text-align: center;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  padding: 0 var(--container-padding);
}
 
.hero__title {
  margin: 0;
}
 
.hero__description {
  font-size: 20px;
  margin: 0;
  line-height: 140%;
  color: rgba(0, 0, 0, 0.8);
}
 
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Hero button styles now inherit from base .btn class */

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn {
  gap: var(--spacing-sm);
  display: flex;
  padding: 14px 24px;
  align-items: center;
  border-radius: var(--radius-md);
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
  font-family: var(--font-primary);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

.btn__inner {
  gap: var(--spacing-sm);
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.btn__icon {
  width: 20px;
  height: 20px;
}

.btn__text {
  color: inherit;
  height: auto;
  font-size: 16px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 100%;
  font-stretch: normal;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
  padding: 14px var(--spacing-lg) 14px 20px;
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ========================================
   SECTION COMPONENTS
   ======================================== */
section {
  background-color: var(--color-white);
}

.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding) 0;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.section__header {
  gap: 24px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}

.section__header--with-nav {
  gap: 136px;
  display: flex;
  flex-direction: row;
  align-self: stretch;
  align-items: end;
  flex-shrink: 0;
  justify-content: space-between;
}

.section__header-content {
  gap: 24px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.section__subtitle {
  color: rgba(0, 0, 0, 1);
  height: auto;
  text-align: center;
  line-height: 110%;
}

.section__subtitle_left {
  color: rgba(0, 0, 0, 1);
  width: 311px;
  height: auto;
  text-align: left;
  line-height: 110.00000238418579%;
}

.section__title {
  color: rgba(0, 0, 0, 1);
  height: auto;
  text-align: center;
  line-height: 110.00000238418579%;
}

.section__title_left {
  color: rgba(0, 0, 0, 1);
  height: auto;
  align-self: stretch;
  text-align: left;
  line-height: 110%;
  max-width: 850px;
}

.section__description {
  color: rgba(0, 0, 0, 1);
  height: auto;
  align-self: stretch;
  text-align: center;
  line-height: 139.9999976158142%;
}

.section__nav {
  gap: 15px;
  display: flex;
  align-items: center;
}

/* ========================================
   HOW IT WORKS SECTION - PROCESS STEPS CAROUSEL
   ======================================== */

/* Process Steps Container */
.process-steps-carousel {
  width: 100%;
  margin: 64px 0; /* Add vertical spacing like the original layout */
  position: relative;
  /* Removed max-width to allow full viewport width */
}

/* ========================================
   PROCESS CAROUSEL NAVIGATION
   ======================================== */

.process-carousel__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  height: 60px;
  width: calc(100% - 96px);
  max-width: 1280px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.process-carousel__arrow {
  width: 46px;
  height: 46px;
  border-radius: 77.733px;
  border: 0.785px solid #000;
  background: #FFF;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  pointer-events: all;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-carousel__arrow:hover {
  transform: scale(1.05);
}

/* ========================================
   SPLIDE CAROUSEL OVERRIDES
   ======================================== */

.splide__track {
  width: 100%;
  /* overflow: visible; */
}

.splide__list {
  overflow: visible;
}

.splide__slide {
  opacity: 1;
  transition: opacity 0.3s ease;
  width: auto; /* Allow natural width */
  flex-shrink: 0;
  box-shadow: 0 0 0 100px transparent; /* Extends visual bounds */
}

/* ========================================
   PROCESS STEP CAROUSEL SPECIFIC STYLING
   ======================================== */

/* Override base process-step styling for carousel */
.splide .process-step {
  height: 393px; /* Match original height */
  min-width: 200px; /* Base width for all steps */
  width: 200px; /* Fixed width for steps 1, 4, 5 */
  gap: 10px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  flex-direction: column;
}

/* Steps 2 and 3 get extra width due to sub-content */
.splide__slide:nth-child(2) .process-step,
.splide__slide:nth-child(3) .process-step {
  width: 280px; /* Wider for steps with sub-content */
  min-width: 280px;
  gap: 4px; /* Tighter gap for steps with sub-content */
}

.process-steps {
  gap: 16px;
  width: auto;
  height: 393px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.process-step {
  gap: 10px;
  height: 393px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  flex-direction: column;
  min-width: 200px; /* Base width for all steps */
  width: 200px; /* Fixed width for steps 1, 4, 5 */
}

/* Steps 2 and 3 get extra width due to sub-content */
.splide__slide:nth-child(2) .process-step,
.splide__slide:nth-child(3) .process-step {
  width: 280px; /* Wider for steps with sub-content */
  min-width: 280px;
}

.process-step__header {
  gap: 10px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
}

.process-step__number {
  color: rgba(0, 0, 0, 1);
  height: auto;
  text-align: center;
  line-height: 110.00000238418579%;
}

.process-step__arrow {
  width: 40px;
  height: 40px;
}

.process-step__content {
  gap: 10px;
  display: flex;
  padding: 16px;
  flex-grow: 1;
  align-self: stretch;
  align-items: center;
  border-color: rgba(168, 168, 168, 1);
  border-style: dashed;
  border-width: 2px;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(246, 246, 239, 1);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.process-step__content--highlight {
  border-radius: 8px;
  border: 1px solid #E1E1E1;
  background-color: var(--color-primary);
}

.process-step__icon {
  width: 84px;
  height: 84px;
}

.process-step__title {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
}

.process-step__title--white {
  color: rgba(255, 255, 255, 1);
}

.process-step__description {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
}

.process-step__description--white {
  color: rgba(255, 255, 255, 1);
}

.process-step__sub-content {
  gap: 10px;
  display: flex;
  padding: 12px;
  align-self: stretch;
  align-items: center;
  border-color: rgba(168, 168, 168, 1);
  border-style: dashed;
  border-width: 2px;
  border-radius: 8px;
  flex-direction: column;
  background-color: rgba(246, 246, 239, 1);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

/* Step 3 has a special layout with multiple sub-items */

.process-step__sub-item {
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.process-step__sub-title {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
}

.process-step__sub-description {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
}

.process-step__divider {
  width: 239px;
  height: 1px;
  align-self: stretch;
}

/* ========================================
   WHY PACKAGING MATTERS SECTION
   ======================================== */

.section--packaging-matters {
  gap: 8px;
  width: 100%;
  max-width: var(--container-max-width);
  display: flex;
  padding: 0 48px;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

.content-with-image {
  position: relative;
  height: 700px; /* Increased height to accommodate overlapped content */
  padding: 0; /* Remove padding to allow precise positioning */
  overflow: visible;
  align-self: stretch;
}

.content-with-image__image {
  position: absolute;
  top: 0;
  left: 24px; /* Base offset for smaller viewports */
  width: 561px;
  height: 500px;
  border-radius: 16px;
  z-index: 0;
}

.content-with-image__content {
  position: absolute;
  top: 140px; /* 500px - 360px = 140px to maintain -360px overlap effect */
  right: 24px; /* Base offset for smaller viewports */
  gap: 8px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  z-index: 1; /* Ensure content appears above the image */
}

/* Mobile layout for screens below 638px */
@media (max-width: 638px) {
  .content-with-image__image {
    left: 16px;
    width: 110vw; /* Image extends beyond viewport */
    height: auto; /* Maintain aspect ratio */
    min-height: 400px; /* Ensure minimum height for overlap */
  }
  
  .content-with-image__content {
    right: 16px;
    width: calc(100vw - 64px); /* Full width minus 64px total margin */
  }
  
  .content-with-image__content .content-block {
    width: 100%; /* Make content block responsive instead of fixed 591px */
    max-width: none; /* Remove any max-width constraints */
  }
  
  .content-with-image__content .content-block__inner {
    height: auto; /* Allow height to grow with content instead of fixed 387px */
    min-height: auto; /* Remove any minimum height constraints */
  }
}

/* Responsive offsets for different viewport sizes */
@media (min-width: 768px) {
  .content-with-image__image {
    left: calc(24px + (100vw - 768px) * 0.15625); /* Gradual increase from 24px at 768px to 104px at 1280px */
  }
  
  .content-with-image__content {
    right: calc(24px + (100vw - 768px) * 0.15625); /* Gradual increase from 24px at 768px to 104px at 1280px */
  }
}

@media (min-width: 1280px) {
  .content-with-image__image {
    left: 104px; /* Fixed at 104px for viewports 1280px and above - reduces overlap to ~160px */
  }
  
  .content-with-image__content {
    right: 104px; /* Fixed at 104px for viewports 1280px and above - reduces overlap to ~160px */
  }
}

.content-block {
  gap: 32px;
  width: 591px;
  max-width: 100%; /* Ensure it doesn't overflow on smaller screens */
  display: flex;
  padding: 48px;
  align-items: flex-start;
  flex-shrink: 0;
  border-radius: 16px;
  flex-direction: column;
}

.content-block--secondary {
  background-color: rgba(230, 242, 244, 1);
}

.content-block__inner {
  gap: 32px;
  height: auto; /* Allow height to grow with content */
  min-height: 387px; /* Maintain minimum height for design consistency */
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-shrink: 0;
  flex-direction: column;
}

.content-block__text {
  gap: 32px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.content-block__header {
  gap: 24px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.content-block__subtitle {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 14px;
  font-style: normal;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 110%;
  font-stretch: normal;
  text-decoration: none;
}

.content-block__title {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 22px;
  align-self: stretch;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 140%;
  font-stretch: normal;
  text-decoration: none;
}

.content-block__description {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
}

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

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.section--why-choose-us {
  gap: 8px;
  display: flex;
  padding: 100px 48px 52px;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
}

.feature-grid {
  gap: 40px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-shrink: 0;
}

.feature-card {
  gap: 16px;
  display: flex;
  padding: 24px;
  flex-grow: 1;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
}

.feature-card__icon {
  gap: 8px;
  width: 108px;
  height: 108px;
  display: flex;
  padding: 10px 37px;
  align-items: center;
  flex-shrink: 0;
  border-radius: 54px;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(244, 232, 215, 1);
}

.feature-card__icon-text {
  color: #000;
  text-align: center;
  font-family: Recoleta;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 50.4px */
}

@media (min-width: 1025px) {
  .feature-card__icon-text {
    font-size: 52px;
  }
}

.feature-card__title {
  color: rgba(0, 0, 0, 1);
  max-width: 350px;
  height: auto;
  text-align: center;
  line-height: 139.9999976158142%;
}

.feature-card__description {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 16px;
  align-self: center;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 139.9999976158142%;
  font-stretch: normal;
  text-decoration: none;
  max-width: 350px;
  margin: 0 auto;
}

/* ========================================
   PRODUCT SHOWCASE SECTION
   ======================================== */

.product-showcase {
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
  overflow: hidden;
}

.scrolling-gallery {
  width: 100vw;
  height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.scrolling-gallery__group {
  display: flex;
  align-items: center;
  gap: 0px;
  animation: marqueeScroll 80s linear infinite;
  flex-shrink: 0;
  min-width: 100vw;
}

.scrolling-gallery__image {
  height: 280px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Pure CSS infinite scroll animation */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover */
/* .scrolling-gallery:hover .scrolling-gallery__group {
  animation-play-state: paused;
} */

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.section--case-studies {
  gap: 40px;
  display: flex;
  /* padding: 100px 48px; */
  overflow: hidden;
  position: relative;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
  background-color: rgba(246, 246, 239, 1);
}

.container-case-studies {
  width: 100%;
  max-width: var(--container-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 0 48px;
}

.case-study-carousel {
  width: 100%;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
.case-study-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, rgba(246, 246, 239, 1) 0%, rgba(246, 246, 239, 0) 100%);
  pointer-events: none;
  z-index: 10;
}
}

.case-studies {
  width: 100%;
  overflow: hidden;
}

.case-studies .splide__track {
  overflow: visible;
}

.case-studies .splide__list {
  overflow: visible;
}

.case-studies .splide__slide {
  width: auto;
  margin-right: 0;
  flex-shrink: 0;
}

.case-study {
  width: min(1080px, calc(100vw - 200px));
  max-width: 1080px;
  min-width: 300px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  flex-direction: column;
  height: 100%;
}

.case-study__card {
  display: flex;
  padding: 24px;
  gap: 16px;
  align-self: stretch;
  align-items: stretch;
  flex-shrink: 0;
  border-radius: 16px;
  background-color: rgba(0, 99, 97, 1);
  height: 100%;
}

/* New wrapper for responsive layout */
.case-study__bottom-sections {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex: 2; /* Takes 2/3 of the width in desktop view */
}

/* Header meta wrapper for subtitle and logo */
.case-study__header-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.case-study__section {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
}

.case-study__section--header {
  background-color: rgba(0, 99, 97, 1);
  justify-content: space-between;
  align-items: flex-start;
  flex: 1; /* Takes 1/3 of the width in desktop view */
  padding-left: 0;
}

.case-study__section--request {
  background-color: rgba(226, 240, 240, 1);
  justify-content: flex-start;
  align-items: flex-start;
}

.case-study__section--testimonial {
  background-color: transparent;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
}

.case-study__title {
  color: rgba(255, 255, 255, 1);
  height: auto;
  text-align: left;
  line-height: 110.00000238418579%;
  margin: 0;
}

.case-study__subtitle {
  color: rgba(255, 255, 255, 1);
  height: auto;
  text-align: left;
  line-height: 139.9999976158142%;
  margin: 0;
}

.case-study__logo {
  width: 99px;
  height: 8px;
  margin-top: auto;
}

.case-study__section-title {
  color: rgba(0, 0, 0, 1);
  height: auto;
  text-align: left;
  line-height: 139.9999976158142%;
  margin: 0;
}

.case-study__section-text {
  color: rgba(0, 0, 0, 1);
  height: auto;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 120.00000476837158%;
  font-stretch: normal;
  text-decoration: none;
  margin: 0;
}

.case-study__divider {
  width: 100%;
  height: 1px;
  align-self: stretch;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin: 16px 0;
}

.case-study__points {
  gap: 16px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.case-study__point {
  gap: 16px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-shrink: 0;
}

.case-study__point-icon {
  width: 20px;
  height: 20px;
  gap: 8px;
  display: flex;
  padding: 2px 0 0;
  align-items: center;
  flex-shrink: 0;
}

.case-study__point-text {
  color: rgba(0, 0, 0, 1);
  height: auto;
  flex-grow: 1;
  text-align: left;
  line-height: 139.9999976158142%;
  margin: 0;
}

.case-study__image {
  gap: 10px;
  height: 200px;
  display: flex;
  position: relative;
  align-self: stretch;
  align-items: flex-start;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.case-study__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}

.testimonial-card {
  gap: 8px;
  display: flex;
  padding: 24px;
  align-self: stretch;
  align-items: flex-start;
  border-radius: 16px;
  flex-direction: column;
  background-color: rgba(251, 232, 249, 1);
  flex-grow: 1;
  justify-content: center;
}

.testimonial-card__text {
  color: rgba(0, 0, 0, 1);
  height: auto;
  font-size: 23px;
  align-self: stretch;
  text-align: left;
  font-family: Recoleta;
  font-weight: 400;
  line-height: 120.00000476837158%;
  font-stretch: normal;
  text-decoration: none;
  margin: 0;
}

@media (max-width: 1024px) {
  .testimonial-card__text {
    font-size: 18px;
  }
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section {
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-section--dual {
  padding: 48px;
}

/* Base CTA Card - Content determines height, image fills space */
.cta-card {
  display: flex;
  max-width: 1280px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: rgba(246, 246, 239, 1);
}

.cta-card__content {
  width: 50%;
  display: flex;
  padding: 72px 56px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* Content determines the card height */
}

.cta-card__text {
  gap: 24px;
  display: flex;
  width: 100%;
  max-width: 480px;
  align-items: flex-start;
  flex-direction: column;
}

.cta-card__title {
  color: rgba(0, 0, 0, 1);
  width: 100%;
  height: auto;
  text-align: left;
  line-height: 110.00000238418579%;
}

.cta-card__description {
  color: rgba(0, 0, 0, 1);
  width: 100%;
  height: auto;
  text-align: left;
  line-height: 139.9999976158142%;
}

.cta-card__image-container {
  width: 50%;
  display: flex;
  /* Image container takes exactly 50% width */
}

.cta-card__image {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Image fills the container completely */
}

/* Dual CTA Section - Side by side cards */
.cta-dual {
  gap: 32px;
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* Individual dual CTA cards - Separate from single CTA cards */
.dual-cta-card {
  gap: 8px;
  width: calc(50% - 16px);
  display: flex;
  padding: 48px;
  align-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  flex-direction: row;
  justify-content: center;
}

.dual-cta-card--yellow {
  background-color: rgba(249, 247, 232, 1);
}

.dual-cta-card--pink {
  background-color: rgba(241, 230, 232, 1);
}

.dual-cta-card__content {
  gap: 24px;
  display: flex;
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
}

.dual-cta-card__title {
  color: rgba(0, 0, 0, 1);
  width: 100%;
  height: auto;
  text-align: left;
  line-height: 110.00000238418579%;
}

.dual-cta-card__description {
  color: rgba(0, 0, 0, 1);
  width: 100%;
  height: auto;
  text-align: left;
  line-height: 139.9999976158142%;
}

.dual-cta-card__image {
  max-height: 155px;
  width: auto;
  object-fit: contain;
  object-position: end;
}

.cta-card__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.section--faq {
  gap: 8px;
  display: flex;
  padding: 100px 48px;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
}

.accordion {
  width: 100%;
  max-width: 933px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  flex-direction: column;
  padding: 0 48px;
  box-sizing: border-box;
}

.accordion__item {
  display: flex;
  align-self: stretch;
  align-items: center;
  border-color: rgba(0, 0, 0, 0.20000000298023224);
  border-style: solid;
  border-width: 1px 0 0;
  flex-direction: column;
  min-height: 64px;
}

.accordion__item--open {
  /* gap: 16px; */
  display: flex;
  padding: 0;
  align-self: stretch;
  align-items: flex-start;
  flex-shrink: 0;
  border-color: rgba(0, 0, 0, 0.20000000298023224);
  border-style: solid;
  border-width: 1px 0 0;
  min-height: auto;
}

.accordion__header {
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px;
}

.accordion__button {
  text-align: left;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.accordion__title {
  color: var(--color-black);
  height: auto;
  font-size: 22px;
  flex-grow: 1;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 120.00000476837158%;
  font-stretch: normal;
  text-decoration: none;
  margin-right: 16px;
}

.accordion__icon {
  width: 32px;
  height: 32px;
}

.accordion__content {
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
  padding: 0 16px;
}

.accordion__text {
  color: var(--color-black);
  height: auto;
  font-size: 16px;
  align-self: stretch;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 150%;
  font-stretch: normal;
  text-decoration: none;
  padding-bottom: 16px;
}

/* ========================================
   FOOTER SECTION
   ======================================== */

.footer {
  gap: 40px;
  display: flex;
  padding: 32px 48px;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
  background-color: rgba(0, 99, 97, 1);
}

.footer__logo-link {
  display: inline-block;
  transition: var(--transition-base);
}

.footer__logo-link:hover {
  opacity: 0.8;
}

.footer__logo {
  width: 172px;
  height: 14px;
}

.footer__content {
  gap: 24px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
  justify-content: space-between;
}

.footer__links {
  gap: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer__link {
  color: rgba(255, 255, 255, 1);
  height: auto;
  font-size: 14px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 100%;
  font-stretch: normal;
  text-decoration: none;
}

.footer__copyright {
  color: rgba(255, 255, 255, 1);
  height: auto;
  font-size: 14px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 100%;
  font-stretch: normal;
  text-decoration: none;
}

/* ========================================
   UTILITY CLASSES & REUSABLE COMPONENTS
   ======================================== */

/* Typography Utilities */

/* Layout Utilities */
.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--column {
  flex-direction: column;
}

.container-centered {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.container-fixed {
  width: var(--container-max-width);
  margin: 0 auto;
}

.grid {
  display: grid;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xxl);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Spacing Utilities */
.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }
.gap-xxl { gap: var(--spacing-xxl); }

.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

/* Background Color Utilities */
.bg-primary { background-color: var(--color-primary); }
.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-bg-light); }
.bg-secondary { background-color: var(--color-bg-secondary); }
.bg-tertiary { background-color: var(--color-bg-tertiary); }

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* Dual CTA cards responsive padding */
@media (max-width: 1000px) {
  .cta-section--dual {
    padding: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .hero__bg-img--6 {
    top: 2%;
    right: 35%;
  }
  
  .hero__content {
    padding-top: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .dual-cta-card {
    padding: 32px 24px;
  }

  /* Hero background image mobile positions */
  .hero__bg-img--1 {
    top: 14%;
    left: 5%;
  }

  .hero__bg-img--2 {
    top: 72%;
    left: 15%;
  }

  .hero__bg-img--3 {
    top: 40%;
    left: 0%;
  }

  .hero__bg-img--4 {
    top: 60%;
    right: 10%;
  }

  .hero__bg-img--5 {
    top: 15%;
    right: 0%;
  }

  .hero__bg-img--6 {
    top: 7%;
    right: 35%;
  }
}

@media (max-width: 767px) {
  .dual-cta-card {
    padding: 32px 24px;
  }

  /* Hero background image mobile positions */
  .hero__bg-img--1 {
    top: 14%;
    left: 5%;
  }

  .hero__bg-img--2 {
    top: 90%;
    left: 3%;
  }

  .hero__bg-img--3 {
    top: 40%;
    left: 0%;
  }

  .hero__bg-img--4 {
    top: 70%;
    right: 0%;
  }

  .hero__bg-img--5 {
    top: 15%;
    right: 0%;
  }

  .hero__bg-img--6 {
    top: 10%;
    right: 35%;
  }
}

@media (max-width: 768px) {
  .content-block__title {
    font-size: 20px;
  }
} 

/* ========================================
   RESPONSIVE HEADER
   ======================================== */

@media (max-width: 992px) {
  .header__nav {
    display: none;
  }
  
  .header__container {
    gap: var(--spacing-lg);
  }
}

/* Tablet and small desktop responsive adjustments */
@media (max-width: 1000px) {
  .feature-grid {
    gap: 24px; /* Reduce gap from 40px to 24px */
  }
  
  .feature-card {
    padding: 20px; /* Reduce padding slightly */
  }
  
  .feature-card__title {
    width: auto; /* Remove fixed width to allow flexibility */
    max-width: 220px; /* Set a max-width instead */
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --section-padding: 60px;
  }

  .header__container {
    padding: 0 var(--container-padding);
  }

  .header__nav {
    display: none;
  }

  .header__cta .btn--secondary {
    display: none;
  }

  .header__logo {
    width: 180px;
  }

  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .container {
    padding: 0 var(--container-padding);
  }

  .section {
    padding: var(--section-padding) 0;
  }

  .section__header--with-nav {
    flex-direction: column;
    gap: 32px;
    align-items: end;
  }

  .grid--3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps {
    gap: 32px;
  }

  .feature-grid {
    flex-direction: column;
    gap: 32px;
  }

  .case-study-carousel {
    flex-direction: column;
  }

  /* Dual CTA responsive */
  .cta-section--dual {
    padding: 16px;
  }
  
  .cta-dual {
    flex-direction: column;
    gap: 16px;
  }
  
  .dual-cta-card {
    width: 100%;
  }

  /* Single CTA card responsive */
  .cta-card {
    flex-direction: column-reverse;
    max-width: 100%;
    min-height: auto;
  }

  .cta-card__content {
    width: 100%;
    padding: 48px 32px;
  }

  .cta-card__image-container {
    width: 100%;
  }

  .cta-card__image {
    width: 100%;
    height: 300px;
    flex: none;
    border-radius: 16px 16px 0 0;
  }

  .accordion__title {
    font-size: 18px;
  }

  .accordion {
    padding: 0 24px;
  }

  /* Process Carousel Responsive */
  .process-carousel__nav {
    width: calc(100% - 48px);
  }

  /* Footer Responsive */
  .footer {
    padding: 24px 16px;
  }

  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__links {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
  }
}

/* @media (min-width: 2560px) {
  .hero {
    max-width: 1600px;
  }
} */

@media (min-width: 768px) and (max-width: 1024px) {
  .hero__title {
    max-width: 490px;
  }

  .hero__description {
    max-width: 420px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --section-padding: 48px;
  }

  .hero {
    padding: 80px 0 48px;
  }

  .hero__title {
    max-width: 320px;
    padding-top: 40%;
  }

  .hero__description {
    max-width: 285px;
  }

  .process-step__content {
    padding: 16px;
  }

  .feature-card {
    padding: 24px 16px;
  }

  .accordion {
    padding: 0 16px;
  }

  .cta-card__content {
    padding: 32px 24px;
  }
  
  .dual-cta-card {
    padding: 32px 24px;
  }

  /* Process Carousel Responsive */
  .process-carousel__nav {
    width: calc(100% - 32px);
  }

  .process-carousel__arrow svg,
  .section__nav-btn svg {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   SVG STYLING & HOVER EFFECTS
   ======================================== */

/* Button icon styling */
.btn__icon {
  fill: currentColor;
  stroke: currentColor;
  transition: var(--transition-base);
}

/* Button hover effects for SVG icons */
.btn--primary:hover .btn__icon {
  fill: currentColor;
  stroke: currentColor;
}

.btn--secondary:hover .btn__icon {
  fill: currentColor;
  stroke: currentColor;
}

.btn--outline:hover .btn__icon {
  fill: currentColor;
  stroke: currentColor;
}

/* Process step icons */
.process-step__icon {
  fill: currentColor;
  stroke: currentColor;
  transition: var(--transition-base);
}

.process-step__arrow {
  stroke: currentColor;
  transition: var(--transition-base);
}

/* Process step hover effects */
.process-step__content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.process-step__sub-content:hover,
.process-step__sub-content--step3:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Process carousel arrow SVG sizing */
.process-carousel__arrow svg {
  width: 40px;
  height: 40px;
}

/* Decorative icon styling */
.section__decorative-icon {
  fill: currentColor;
  stroke: currentColor;
  transition: var(--transition-base);
}

/* CTA card icon styling */
.cta-card__icon {
  stroke: currentColor;
  transition: var(--transition-base);
}

/* Accordion icon styling */
.accordion__icon {
  fill: currentColor;
  transition: var(--transition-base);
}

.accordion__item:hover .accordion__icon {
  fill: var(--color-primary);
}

.accordion__item--open .accordion__icon {
  /* Icon rotation removed - using icon swapping instead */
}

/* Footer divider styling */
.footer__divider {
  stroke: currentColor;
}

/* General SVG hover effects */
svg {
  transition: var(--transition-base);
}

/* Specific color overrides for different contexts */
.process-step__content--highlight .process-step__icon {
  stroke: white;
  fill: white;
}

.case-study__card .case-study__logo {
  fill: white;
}

.footer .footer__logo {
  fill: white;
}

.footer .footer__divider {
  stroke: white;
}

/* Interactive states for clickable SVGs */
.btn:hover .btn__icon,
.process-carousel__arrow:hover,
.accordion__header:hover .accordion__icon {
  cursor: pointer;
}

/* Accessibility - reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .btn__icon,
  .process-step__icon,
  .process-step__arrow,
  .process-carousel__arrow,
  .section__decorative-icon,
  .cta-card__icon,
  .accordion__icon,
  svg {
    transition: none;
  }
  
  .process-step:hover .process-step__icon,
  .process-step:hover .process-step__arrow,
  .process-carousel__arrow:hover,
  .cta-card:hover .cta-card__icon,
  .accordion__item:hover .accordion__icon,
  .accordion__item--open .accordion__icon {
    /* Transform animations removed */
  }
}

/* Responsive layout for screens under 1100px */
@media (max-width: 1024px) {
  .container-case-studies {
    padding: 0 24px;
  }

  .case-study__card {
    flex-direction: column;
    gap: 16px;
    padding: 32px 16px 16px 16px;
    height: 100%;
  }
  
  .case-study__section--header {
    flex: none; /* Reset flex to auto */
    flex-direction: row; /* Make header horizontal */
    align-items: start; /* Center align vertically */
    gap: 24px; /* Add gap between title and meta */
    padding: 0 0 24px 0;
  }
  .case-study__section{
    gap: 8px;
  }

  .case-study__title {
    flex: 2;
  }
  
  .case-study__header-meta {
    margin-left: auto; /* Push to the right */
    align-items: flex-end; /* Right align the subtitle and logo */
    text-align: right; /* Right align text */
    flex: 1.5;
  }

  .case-study__subtitle {
    text-align: right;
  }
  
  .case-study__bottom-sections {
    flex: none; /* Reset flex to auto */
    flex-direction: row; /* Keep side by side */
    gap: 8px;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .container-case-studies {
    padding: 0 16px;
    gap: 16px;
  }

  .case-study {
    width: calc(100vw - 32px);
    height: 100%;
  }

  .case-study__bottom-sections {
    flex: none; /* Reset flex to auto */
    flex-direction: column; /* Keep side by side */
    flex: 1;
  }
}

/* Hamburger Menu Styles */
.header__hamburger {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  transition: transform 0.2s ease;
}

.header__hamburger:hover {
  transform: scale(1.1);
}

.header__hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.header__hamburger--active .header__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.header__hamburger--active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger--active .header__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay--active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 1200;
  padding: 80px 24px 24px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu--active {
  right: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.mobile-menu__nav-link {
  display: block;
  padding: 0;
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu__nav-link:hover {
  color: var(--color-primary);
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu__cta .btn {
  width: 100%;
  justify-content: center;
}

/* Close button */
.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-size: 24px;
  transition: color 0.2s ease;
}

.mobile-menu__close:hover {
  color: var(--color-primary);
}

/* Show hamburger at appropriate breakpoints */
@media (max-width: 992px) {
  .header__hamburger {
    display: flex;
  }
}

/* Hide contact button on very small screens */
@media (max-width: 430px) {
  .header__cta .btn--primary {
    display: none;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
  
  .mobile-menu--active {
    right: 0;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 60px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 0.5px solid var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.back-to-top svg {
  width: 40px;
  height: 40px;
  color: var(--color-black);
  transition: color 0.2s ease;
}

.back-to-top:hover svg {
  color: var(--color-primary);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  
  .back-to-top svg {
    width: 40px;
    height: 40px;
  }
}

/* Mobile anchor link offset for fixed header */
@media (max-width: 768px) {
  #why-choose-us,
  #case-studies,
  #faqs {
    scroll-margin-top: 64px;
  }
}
