/* ClashDisplay Font Faces */
@font-face {
  font-family: 'ClashDisplay';
  src: url('../public/fonts/ClashDisplay_Complete/Fonts/WEB/fonts/ClashDisplay-Extralight.woff2') format('woff2'),
       url('../public/fonts/ClashDisplay_Complete/Fonts/WEB/fonts/ClashDisplay-Extralight.woff') format('woff');
  font-weight: 200;
  font-display: swap;
  font-style: normal;
}

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

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

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

@font-face {
  font-family: 'ClashDisplay';
  src: url('../public/fonts/ClashDisplay_Complete/Fonts/WEB/fonts/ClashDisplay-Semibold.woff2') format('woff2'),
       url('../public/fonts/ClashDisplay_Complete/Fonts/WEB/fonts/ClashDisplay-Semibold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

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

:root {
  --background: #ffffff;
  --foreground: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --black-opacity-10: rgba(0, 0, 0, 0.1);
  --black-opacity-60: rgba(0, 0, 0, 0.6);
  --black-opacity-70: rgba(0, 0, 0, 0.7);
  --black-opacity-80: rgba(0, 0, 0, 0.8);
  --black-opacity-90: rgba(0, 0, 0, 0.9);
  --white-opacity-20: rgba(255, 255, 255, 0.2);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: 'ClashDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 6rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--black-opacity-10);
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  gap: 2rem;
  position: relative;
}

.logo-wrapper {
  display: flex;
  justify-content: flex-start;
}

.nav-button-wrapper {
  display: none;
  justify-content: flex-end;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-button-wrapper {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-button-wrapper {
    display: flex;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  height: 1.5rem;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo-icon {
    height: 1.75rem;
  }
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}


@media (min-width: 768px) {
  .logo-text {
    font-size: 1.25rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    gap: 3rem;
  }
}

.nav-link {
  color: var(--black-opacity-80);
  transition: color 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover {
  color: black;
}

@media (min-width: 768px) {
  .nav-link {
    font-size: 1rem;
  }
}

.nav-button {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 5rem;
  transition: background 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
  word-spacing: 0.1em;
}

.nav-button:hover {
  background: var(--gray-200);
}

@media (min-width: 768px) {
  .nav-button {
    font-size: 1rem;
  }
}

.mobile-menu {
  display: block;
  color: black;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 51;
  pointer-events: auto;
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-menu {
    display: block;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    right: 6rem;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
 
}

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

.mobile-menu-content {
  position: absolute;
  top: 3rem;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 90% !important;
  max-width: 400px !important;
  min-width: auto !important;
  height: auto !important;
  max-height: 80vh !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 0.5rem 2rem;
  padding-top: 0.5rem !important;
  padding-bottom: 1rem !important;
  transform: translateX(-50%) scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-y: visible !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  margin-top: 0;
  padding-top: 0;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-menu-link {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  display: block;
  position: relative;
  transform: translateX(0);
}

.mobile-menu-link:hover {
  color: black !important;
  transform: translateX(8px) scale(1.08) !important;
}

.mobile-menu-button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.mobile-menu-cta-button {
  background: black;
  border: 1px solid black;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  word-spacing: 0.1em;
  position: relative;
  transform: scale(1);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.mobile-menu-cta-button:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.9) !important;
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem 6rem;
  }
}

.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.waveform-container {
  position: relative;
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  height: 60px;
  z-index: 0;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .waveform-container {
    width: calc(100% + 6rem);
    margin-left: -3rem;
    margin-right: -3rem;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .waveform-container {
    width: calc(100% + 12rem);
    margin-left: -6rem;
    margin-right: -6rem;
    height: 100px;
  }
}

.hero-badge {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 5rem;
  padding: 0.5rem 1rem;
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: black;
}

.badge-disk {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-image: url('public/dial-8.png');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  animation: rotateDisk 10s linear infinite;
  flex-shrink: 0;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.badge-text {
  font-size: 0.875rem;
  color: black;
  font-weight: 500;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.hero-title {
  position: relative;
  z-index: 10;
  font-size: 1.75rem;
  font-weight: 600 !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: black;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  word-spacing: 0.2em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
    font-weight: 600 !important;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
    font-weight: 600 !important;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3rem;
    font-weight: 600 !important;
  }
}

.hero-subtitle {
  position: relative;
  z-index: 10;
  font-size: 0.875rem;
  color: var(--black-opacity-60);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-cta {
  position: relative;
  z-index: 10;
}

.cta-button {
  background: black;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  transition: all 0.2s;
}

.cta-button:hover {
  background: var(--black-opacity-90);
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .cta-button {
    font-size: 1.125rem;
  }
}

.hero-stats {
  position: relative;
  z-index: 10;
  margin-top: 2rem;
  margin-bottom: 3rem;
  color: var(--black-opacity-60);
  font-size: 0.875rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .hero-stats {
    font-size: 1rem;
  }
}

.waveform-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.25;
}

.waveform-contact {
  opacity: 0.2;
}

/* Section Styles */
.section {
  padding: 5rem 1.5rem;
  background: white;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 3rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 10rem 6rem;
  }
}

/* Reduce spacing between About and FAQ sections */
#about.section {
  padding-bottom: 2rem;
  margin-top: -15rem;
}

@media (min-width: 768px) {
  #about.section {
    padding-bottom: 15rem;
  }
}

@media (min-width: 1024px) {
  #about.section {
    padding-bottom: 15rem;
  }
}

/* Reduce top padding for FAQ section when it follows About */
#about.section + .section {
  padding-top: 2rem;
}

@media (min-width: 768px) {
  #about.section + .section {
    padding-top: 6rem;
  }
}

@media (min-width: 1024px) {
  #about.section + .section {
    padding-top: 4rem;
  }
}

/* Contact Section Override */
.contact-section.section {
  background: black;
}

.cross-platforms-section {
  padding-bottom: 0.01rem;
}

@media (min-width: 768px) {
  .cross-platforms-section {
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cross-platforms-section {
    padding-bottom: 2rem;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: black;
  letter-spacing: -0.02em;
  word-spacing: 0.2em;
  text-align: left;
}

.contact-container .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
    margin-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-title-centered {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 4rem !important;
  width: 100% !important;
  display: block !important;
}

.cross-platforms-title {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  word-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .cross-platforms-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .cross-platforms-title {
    font-size: 2rem;
    word-spacing: 0.1em;
  }
}

@media (min-width: 1024px) {
  .cross-platforms-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .cross-platforms-title {
    font-size: 3rem;
  }
}

/* Cross-Platforms Sticky Container */
.platforms-sticky-container {
  position: relative;
  height: calc(9 * 100vh);
  margin: 2rem -1.5rem 0;
  width: calc(100% + 3rem);
  min-height: 400px;
}

@media (min-width: 768px) {
  .platforms-sticky-container {
    margin: 2rem -3rem 0;
    width: calc(100% + 6rem);
  }
}

@media (min-width: 1024px) {
  .platforms-sticky-container {
    margin: 2rem -6rem 0;
    width: calc(100% + 12rem);
  }
}

.platforms-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 5rem 1.5rem 0;
}

@media (min-width: 768px) {
  .platforms-wrapper {
    padding: 6rem 3rem 0;
  }
}

@media (min-width: 1024px) {
  .platforms-wrapper {
    padding: 7rem 6rem 0;
  }
}

.platforms-title-container {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  z-index: 10;
  flex-shrink: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platforms-title-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 768px) {
  .platforms-title-container {
    margin-bottom: 3rem;
  }
}

.platforms-title-container .section-title-divider {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .platforms-title-container .section-title-divider {
    margin-bottom: 2rem;
  }
}

.platforms-title-container .cross-platforms-title {
  margin-bottom: 0;
}

.platform-item {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  will-change: transform, opacity;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .platform-item {
    top: 58%;
  }
}

@media (min-width: 768px) {
  .platform-item {
    gap: 3rem;
  }
}

.platform-name {
  font-family: 'ClashDisplay', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin: 0;
  white-space: nowrap;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (min-width: 768px) {
  .platform-name {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .platform-name {
    font-size: 4rem;
  }
}

.platform-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (min-width: 768px) {
  .platform-icon {
    width: 80px;
    height: 80px;
  }
  
  /* Reduce font size and icon for Ray-Ban Meta Display at 768px */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 2.25rem !important;
  }
  
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 60px !important;
    height: 60px !important;
  }
}

@media (min-width: 1024px) {
  .platform-icon {
    width: 100px;
    height: 100px;
  }
}

.platform-item.active {
  opacity: 1;
  z-index: 100;
}

.platform-item.overlapped {
  opacity: 0.6;
  z-index: 50;
}

.platform-item.hidden {
  opacity: 0;
  z-index: 1;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-divider {
  width: 80px;
  height: 1px;
  background: black;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .section-title-wrapper {
    margin-bottom: 5rem;
  }
  
  .section-title-divider {
    margin-bottom: 2rem;
  }
}


.section-description {
  font-size: 1rem;
  color: var(--black-opacity-60);
  margin-bottom: 3rem;
  max-width: 42rem;
  line-height: 1.625;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.section-description-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
  word-spacing: 0.1em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.section-description-centered strong {
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.125rem;
    margin-bottom: 4rem;
  }
}

/* Services */
.services-sticky-container {
  position: relative;
  height: calc(5 * 100vh);
  margin: 4rem -1.5rem;
  width: calc(100% + 3rem);
  min-height: 400px; /* Ensure minimum height for visibility */
}

/* Override for 320px - must come after base styles */
/* This is now handled in the main 320px media query below */

@media (min-width: 768px) {
  .services-sticky-container {
    margin: 4rem -3rem;
    width: calc(100% + 6rem);
  }
}

@media (min-width: 1024px) {
  .services-sticky-container {
    margin: 4rem -6rem;
    width: calc(100% + 12rem);
  }
}

.services-cards-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .services-cards-wrapper {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .services-cards-wrapper {
    padding: 0 6rem;
  }
}

.services-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-card.sticky-card {
  margin-bottom: 0;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 50px));
  z-index: 1;
  will-change: transform, opacity;
}

.services-card.sticky-card:first-of-type {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
  z-index: 100;
}

.services-card.sticky-card.active {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}

.services-card.sticky-card.overlapped {
  opacity: 0.85;
  pointer-events: none;
}

.services-card.sticky-card.hidden {
  opacity: 0.7;
  z-index: 50;
}

@media (min-width: 768px) {
  .services-card {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 600px;
  }
  
  .services-sticky-container {
    height: calc(6 * 100vh);
    margin-bottom: 6rem;
  }
}

.service-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .service-card-content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .service-card-content {
    padding: 4rem;
  }
}

.service-card-divider {
  width: 60px;
  height: 1px;
  background: black;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .service-card-divider {
    margin-bottom: 2rem;
  }
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'ClashDisplay', sans-serif;
}

@media (min-width: 768px) {
  .service-card-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

.service-card-text {
  font-size: 0.9375rem;
  color: var(--black-opacity-70);
  margin-bottom: 2rem;
  line-height: 1.625;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .service-card-text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

.service-card-button {
  background: var(--gray-200);
  border: 1px solid var(--gray-300);
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.service-card-button:hover {
  background: var(--gray-300);
}

.service-card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .service-card-image {
    height: 100%;
  }
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .service-card-image img[src$=".svg"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
  }
}

.services-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .services-grid {
    gap: 6rem;
  }
}

.service-item {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.service-image {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-image-gradient-1 {
  background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.2), rgba(88, 28, 135, 0.2));
}

.service-image-gradient-2 {
  background: linear-gradient(to bottom right, rgba(154, 52, 18, 0.2), rgba(153, 27, 27, 0.2));
}

.service-image-gradient-3 {
  background: linear-gradient(to bottom right, rgba(133, 77, 14, 0.2), rgba(154, 52, 18, 0.2));
}

.service-image-gradient-4 {
  background: linear-gradient(to bottom right, rgba(20, 83, 45, 0.2), rgba(30, 58, 138, 0.2));
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: var(--white-opacity-20);
}

.service-emoji {
  position: relative;
  z-index: 10;
  font-size: 4rem;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .service-emoji {
    font-size: 6rem;
  }
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: black;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .service-content h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .service-content h3 {
    font-size: 2.25rem;
  }
}

.service-content p {
  font-size: 1rem;
  color: var(--black-opacity-70);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .service-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

.service-link {
  color: black;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--black-opacity-80);
}

.service-link span {
  transition: transform 0.3s;
}

.service-link:hover span {
  transform: translateX(0.25rem);
}

@media (min-width: 768px) {
  .service-link {
    font-size: 1rem;
  }
}

.service-order-2 {
  order: 2;
}

@media (min-width: 768px) {
  .service-order-1 {
    order: 1;
  }
}

/* Service Features Section - Full Screen Sticky */
.service-features-section {
  background: white;
  position: relative;
}

.service-features-sticky-container {
  position: relative;
  height: calc(3 * 100vh);
  background: black;
  width: 100%;
  min-height: 400px;
}

@media (min-width: 768px) {
  .service-features-sticky-container {
    height: calc(3 * 100vh);
  }
}

.service-features-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.service-features-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'ClashDisplay', sans-serif;
  text-align: center;
}

.service-features-heading .feature-line {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'ClashDisplay', sans-serif;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .service-features-heading .feature-line {
    font-size: 3rem;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
}

@media (min-width: 1024px) {
  .service-features-heading .feature-line {
    font-size: 4rem;
  }
}

@media (min-width: 768px) {
  .service-features-heading {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center !important;
  }
}

@media (min-width: 1024px) {
  .service-features-heading {
    font-size: 4rem;
    margin-bottom: 5rem;
  }
}

.service-features-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service-features-text {
    gap: 2rem;
  }
}

.feature-line {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  text-align: center;
  transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .feature-line {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .feature-line {
    font-size: 1.125rem;
  }
}

.feature-line.highlighted {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* About Sticky Container */
.about-sticky-container {
  position: relative;
  height: calc(3 * 100vh); /* Space for scroll animation */
  margin: 6rem -1.5rem 0;
  width: calc(100% + 3rem);
  min-height: 400px;
  overflow: visible;
}

@media (min-width: 768px) {
  .about-sticky-container {
    margin: 7rem -3rem 0;
    width: calc(100% + 6rem);
    height: calc(3 * 100vh);
  }
}

@media (min-width: 1024px) {
  .about-sticky-container {
    margin: 8rem -6rem 0;
    width: calc(100% + 12rem);
    height: calc(3 * 100vh);
  }
}

.about-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
  padding: 6rem 1.5rem 0;
}

@media (min-width: 768px) {
  .about-wrapper {
    padding: 7rem 3rem 0;
  }
}

@media (min-width: 1024px) {
  .about-wrapper {
    padding: 8rem 6rem 0;
  }
}

/* Case Studies */
.case-studies-section {
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .case-studies-section {
    padding-bottom: 3rem;
  }
}

/* Reduce spacing between Case Studies and About sections */
.case-studies-section + #about.section {
  padding-top: 0.1rem;
}

@media (min-width: 768px) {
  .case-studies-section + #about.section {
    padding-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .case-studies-section + #about.section {
    padding-top: 2rem;
  }
}

/* Past Work Section */
.past-work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.past-work-title-section .section-title {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .past-work-header {
    margin-bottom: 5rem;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .past-work-header {
    margin-bottom: 6rem;
    gap: 4rem;
  }
}

.past-work-title-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.past-work-divider {
  width: 80px;
  height: 1px;
  background: black;
  margin-bottom: 1.5rem;
}

.past-work-title-section .section-title {
  margin-top: 0;
  margin-bottom: 0;
}

.past-work-description-wrapper {
  flex: 1;
  min-width: 200px;
  max-width: 500px;
  align-self: flex-start;
}

.past-work-description {
  font-family: 'ClashDisplay', sans-serif;
  font-size: 0.875rem;
  color: var(--black-opacity-70);
  margin: 0;
  margin-top: 1.5rem;
  line-height: 1.6;
  text-align: left;
  padding-top: 0;
}

.see-more-button {
  background: black;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  transition: all 0.3s ease;
  font-family: 'ClashDisplay', sans-serif;
  cursor: pointer;
  border: none;
  margin-left: 0.5rem;
}

.see-more-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .past-work-description {
    font-size: 1rem;
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  .past-work-description {
    font-size: 1.125rem;
    padding-top: 0;
  }
}

.past-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 767px) {
  .past-work-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .past-work-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .past-work-grid {
    gap: 3rem;
  }
}

.past-work-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.past-work-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--gray-100);
}

.past-work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.past-work-banner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  font-family: 'ClashDisplay', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(-2deg);
  z-index: 10;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .past-work-banner {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .past-work-banner {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

.past-work-services {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.875rem;
  color: var(--black-opacity-70);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .past-work-services {
    font-size: 1rem;
  }
}

.case-study-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  z-index: 1;
  will-change: transform, opacity;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .case-study-content {
    width: calc(100% - 8rem);
    gap: 3rem;
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {
  .case-study-content {
    width: calc(100% - 12rem);
    gap: 4rem;
    padding: 0 6rem;
  }
}

.case-study-image-wrapper {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .case-study-image-wrapper {
    width: 400px;
    height: 500px;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .case-study-image-wrapper {
    width: 450px;
    height: 550px;
    padding: 2rem;
  }
}

.case-study-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.5rem;
}

.case-study-see-more-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: black;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 5rem;
  font-family: 'ClashDisplay', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  z-index: 200;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .case-study-see-more-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .case-study-see-more-btn {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
  }
}

.case-study-see-more-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.case-study-text-wrapper {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .case-study-text-wrapper {
    width: 400px;
    height: 500px;
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .case-study-text-wrapper {
    width: 450px;
    height: 550px;
    padding: 3rem;
  }
}

.case-study-text-wrapper h2 {
  font-family: 'ClashDisplay', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: black;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .case-study-text-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .case-study-text-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.case-study-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: black;
  margin: 0;
}

@media (min-width: 768px) {
  .case-study-text {
    font-size: 1.125rem;
    line-height: 1.7;
  }
}

@media (min-width: 1024px) {
  .case-study-text {
    font-size: 1.25rem;
  }
}

/* Animation states - handled by JavaScript transforms */

.work-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
  width: 100%;
}

.work-card-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .work-card-content {
    padding: 2rem;
  }
}

.work-gradient-1 { background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.3), rgba(37, 99, 235, 0.3)); }
.work-gradient-2 { background: linear-gradient(to bottom right, rgba(236, 72, 153, 0.3), rgba(220, 38, 38, 0.3)); }
.work-gradient-3 { background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3)); }
.work-gradient-4 { background: linear-gradient(to bottom right, rgba(234, 88, 12, 0.3), rgba(234, 179, 8, 0.3)); }
.work-gradient-5 { background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.3), rgba(236, 72, 153, 0.3)); }
.work-gradient-6 { background: linear-gradient(to bottom right, rgba(5, 150, 105, 0.3), rgba(16, 185, 129, 0.3)); }

.work-artist {
  font-size: 0.75rem;
  color: var(--black-opacity-70);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .work-artist {
    font-size: 0.875rem;
  }
}

.work-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: black;
}

@media (min-width: 768px) {
  .work-title {
    font-size: 1.5rem;
  }
}

.work-services {
  font-size: 0.75rem;
  color: var(--black-opacity-60);
}

@media (min-width: 768px) {
  .work-services {
    font-size: 0.875rem;
  }
}

.work-link {
  margin-top: 1.5rem;
  color: black;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.work-link:hover {
  color: var(--black-opacity-80);
}

.work-link:hover span {
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .work-link {
    font-size: 1rem;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    gap: 5rem;
  }
}

.about-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-item {
    gap: 2rem;
  }
}

.about-number {
  font-size: 5rem;
  font-weight: 700;
  color: var(--black-opacity-10);
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .about-number {
    font-size: 6.25rem;
  }
}

@media (min-width: 1024px) {
  .about-number {
    font-size: 7.5rem;
  }
}

.about-content {
  flex: 1;
  padding-top: 0;
}

.about-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: black;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .about-content h3 {
    font-size: 1.875rem;
  }
}

.about-content p {
  font-size: 1rem;
  color: var(--black-opacity-70);
  line-height: 1.625;
}

@media (min-width: 768px) {
  .about-content p {
    font-size: 1.125rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: black;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3.75rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--black-opacity-60);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: var(--gray-100);
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.testimonial-emoji {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .testimonial-emoji {
    font-size: 2.25rem;
  }
}

.testimonial-quote {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: black;
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--black-opacity-70);
  margin-bottom: 1rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .testimonial-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

.testimonial-author {
  font-size: 0.875rem;
  color: var(--black-opacity-60);
}

@media (min-width: 768px) {
  .testimonial-author {
    font-size: 1rem;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.faq-item {
  border-bottom: 1px solid var(--black-opacity-10);
  transition: all 0.3s;
}

.faq-button {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: black;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .faq-button {
    padding: 1.5rem 0;
  }
}

.faq-button:hover {
  color: var(--black-opacity-80);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .faq-question {
    font-size: 1.25rem;
  }
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .faq-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 0;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--black-opacity-70);
  line-height: 1.625;
}

@media (min-width: 768px) {
  .faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 1rem;
  }
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  background: white !important;
  padding: 10rem 1.5rem !important;
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 12rem 3rem !important;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 15rem 6rem !important;
  }
}

.contact-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.spotlight-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  display: block;
}

/* Hide the split spotlight images by default (shown only for 320px) */
.spotlight-image-left,
.spotlight-image-right {
  display: none;
}

/* Ensure spotlight image shows at all breakpoints */
@media (min-width: 480px) {
  .spotlight-image {
    max-width: 480px;
  }
}

@media (min-width: 768px) {
  .spotlight-image {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .spotlight-image {
    max-width: 1024px;
  }
}

@media (min-width: 1440px) {
  .spotlight-image {
    max-width: 1920px;
  }
  
  /* Indent the number 1 to the right for 1440px and beyond */
  .about-number-1 {
    margin-left: 2rem;
  }
  
  /* Make Ray-Ban Meta Display match other platforms at 1440px and beyond */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 4rem !important;
  }
  
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 100px !important;
    height: 100px !important;
  }
}

.contact-container {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2rem;
  width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .contact-container {
    gap: 2.5rem;
  }
}

.contact-divider {
  width: 60px;
  height: 1px;
  background: black;
  margin: 0 auto 2rem auto;
  display: block;
}

@media (min-width: 768px) {
  .contact-divider {
    width: 80px;
    height: 2px;
    margin-bottom: 2.5rem;
  }
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  word-spacing: 0.2em;
  line-height: 1.1;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 4rem !important;
  }
  
  .contact-title .contact-title-line {
    font-size: 4rem !important;
  }
}

@media (min-width: 1024px) {
  .contact-title {
    font-size: 4.5rem !important;
  }
  
  .contact-title .contact-title-line {
    font-size: 4.5rem !important;
  }
}

.contact-cta-button {
  background: #e5e7eb;
  color: black;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'ClashDisplay', sans-serif;
  margin: 0 auto;
  display: block;
}

.contact-cta-button:hover {
  background: #d1d5db;
}

@media (min-width: 768px) {
  .contact-cta-button {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
  }
}

.contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem;
  max-width: 42rem !important;
  margin: 3rem auto 0 !important;
  width: 100% !important;
  align-items: stretch !important;
  justify-content: center !important;
}

@media (min-width: 768px) {
  .contact-form {
    gap: 1.5rem;
    margin-top: 4rem;
  }
}

.form-input,
.form-textarea {
  width: 100%;
  max-width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: black;
  font-size: 0.875rem;
  transition: border-color 0.3s;
  margin: 0 auto;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--black-opacity-60);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--black-opacity-60);
}

@media (min-width: 768px) {
  .form-input,
  .form-textarea {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  max-width: 100%;
  background: black;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--black-opacity-90);
}

@media (min-width: 768px) {
  .form-submit {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
}

/* Form Group Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black-opacity-80);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  text-align: left;
}

@media (min-width: 768px) {
  .form-group label {
    font-size: 1rem;
  }
}

/* Form Message Styles */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  text-align: center;
  display: none;
}

.form-message:not(:empty) {
  display: block;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Button Loading State */
.btn-loading {
  display: none;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid var(--black-opacity-10);
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 4rem 6rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-box {
  width: 1.25rem;
  height: 1.25rem;
  background: black;
  border-radius: 0.125rem;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: black;
}

@media (min-width: 768px) {
  .footer-logo-text {
    font-size: 1.25rem;
  }
}

.footer-text {
  font-size: 0.875rem;
  color: var(--black-opacity-60);
  text-align: center;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 1rem;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-links {
    gap: 1.5rem;
  }
}

.footer-link {
  font-size: 0.875rem;
  color: var(--black-opacity-60);
  transition: color 0.3s;
}

.footer-link:hover {
  color: black;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: 1rem;
  }
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--black-opacity-10);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .footer-copyright {
    margin-top: 3rem;
    font-size: 0.875rem;
  }
}

/* Fade in animations */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-5 {
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateDisk {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scroll fade in animations */
.scroll-fade-in,
.scroll-fade-in-up {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.scroll-fade-in {
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.scroll-fade-in-up {
  transform: translateY(30px);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

/* Remove transition for scroll-based animation */
#about .scroll-fade-in,
#about .scroll-fade-in-up {
  transition: none;
}

#get-flow .scroll-fade-in {
  transition: none;
}

.scroll-fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.scroll-fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.scroll-fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for about items */
.about-item.scroll-fade-in-up:nth-child(1) {
  transition-delay: 0s;
}

.about-item.scroll-fade-in-up:nth-child(2) {
  transition-delay: 0.1s;
}

.about-item.scroll-fade-in-up:nth-child(3) {
  transition-delay: 0.2s;
}

.about-item.scroll-fade-in-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* Button hover effects */
button:hover {
  transform: scale(1.02);
}

button:active {
  transform: scale(0.98);
}

/* Small mobile device centering fixes (320px, 375px, 425px) */
@media (max-width: 480px) {
  html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  body > * {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero {
    width: 100%;
    max-width: 100vw;
  }
  
  .hero-content {
    padding: 3rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .hero-inner {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  
  .hero-badge {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  .hero-title {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-cta {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  .hero-stats {
    text-align: center !important;
    width: 100% !important;
  }
  
  .waveform-container {
    width: 100vw !important;
    margin-left: calc(-1rem) !important;
    margin-right: calc(-1rem) !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  
  .waveform-svg {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .navbar {
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .navbar .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .logo-wrapper {
    flex: 0 0 auto !important;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .mobile-menu {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
  }
  
  .section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .section-title-wrapper,
  .section-title-centered {
    text-align: center !important;
    width: 100% !important;
  }
  
  .section-description-centered {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Extra small mobile devices (320px) */
@media (max-width: 320px) {
  /* Base typography adjustments */
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5 !important;
  }
  
  .hero-subtitle br {
    display: none !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
    margin-bottom: 2.5rem !important;
  }
  
  .section-description {
    font-size: 0.875rem !important;
    margin-bottom: 2rem !important;
  }
  
  .section-description-centered {
    font-size: 0.875rem !important;
  }
  
  /* Navigation */
  .logo-icon {
    height: 1.25rem !important;
  }
  
  .logo-text {
    font-size: 1rem !important;
  }
  
  .nav-button {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
  
  /* Hero section */
  .hero-content {
    padding: 2rem 0.75rem !important;
  }
  
  .hero-inner {
    padding-top: 1rem !important;
  }
  
  .hero-badge {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    transform: translateY(0.5rem) !important;
  }
  
  .badge {
    padding: 0.4rem 0.75rem !important;
  }
  
  .badge-text {
    font-size: 0.75rem !important;
  }
  
  .badge-icon {
    width: 0.875rem !important;
    height: 0.875rem !important;
  }
  
  .badge-disk {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.875rem !important;
  }
  
  .hero-stats {
    font-size: 0.75rem !important;
    margin-top: 1.5rem !important;
  }
  
  /* Container padding */
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  /* Section padding */
  .section {
    padding: 1rem 0.75rem !important;
  }
  #services .section-title-wrapper {
    margin-bottom: -5rem !important; /* Reduced from 4rem */
  }
  
  /* Service cards */
  .services-card {
    height: 450px !important;
  }
  
  .service-card-content {
    padding: 1.5rem !important;
  }
  
  .service-card-title {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .service-card-text {
    font-size: 0.875rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .service-card-divider {
    width: 50px !important;
    margin-bottom: 1rem !important;
  }
  
  .service-card-image {
    height: 200px !important;
  }
  
  .service-card-image img[src$=".svg"] {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    padding: 1rem !important;
  }
  
  /* Center Ideation & Strategy image and move it higher */
  .services-card[data-card-index="0"] .service-card-image {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="0"] .service-card-image img[src$=".svg"] {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    padding: 1rem !important;
    transform: translateY(-3.5rem) !important;
    margin-top: 1rem !important;
    display: block !important;
  }
  
  .services-card[data-card-index="0"] .service-card-image img {
    transform: translateY(-3.5rem) !important;
    margin-top: 1rem !important;
    display: block !important;
  }
  
  /* Move Development card image higher - use both container and image adjustments */
  .services-card[data-card-index="1"] .service-card-image {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"] {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    padding: 1rem !important;
    transform: translateY(-3.5rem) !important;
    margin-top: -1rem !important;
    display: block !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img {
    transform: translateY(-3.5rem) !important;
    margin-top: 0 !important;
    display: block !important;
  }
  
  /* Move Maintenance & Updates card image higher */
  .services-card[data-card-index="3"] .service-card-image {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"] {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
    padding: 1rem !important;
    transform: translateY(-3.5rem) !important;
    margin-top: 1rem !important;
    display: block !important;
  }
  
  .services-card[data-card-index="3"] .service-card-image img {
    transform: translateY(-3.5rem) !important;
    margin-top: -1rem !important;
    display: block !important;
  }
  
  /* Service features */
  .service-features-heading .feature-line {
    font-size: 1.5rem !important;
  }
  
  .feature-line {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.75rem !important;
  }
  
  /* Platform items */
  .platform-item {
    gap: 0.5rem !important; /* Much closer spacing for 320px */
  }
  
  .platform-name {
    font-size: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Reduce font size for longer platform name on 320px */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 1.125rem !important; /* Smaller for "Ray-Ban Meta Display" */
  }
  
  .platform-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Smaller icon for last platform on 320px to help fit */
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .cross-platforms-title {
    font-size: 1.125rem !important;
  }
  
  /* Case studies */
  .case-study-image-wrapper {
    width: 250px !important;
    height: 350px !important;
    padding: 0.75rem !important;
  }
  
  .case-study-text-wrapper {
    width: 250px !important;
    height: 350px !important;
    padding: 1.5rem !important;
  }
  
  .case-study-text-wrapper h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .case-study-text {
    font-size: 0.875rem !important;
  }
  
  .case-study-see-more-btn {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.875rem !important;
  }
  
  /* About section */
  .about-grid {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .about-item {
    gap: 1rem !important;
  }
  
  .about-number {
    font-size: 4rem !important;
  }
  
  /* Indent the number 1 to the right for 320px */
  .about-number-1 {
    margin-left: 1rem !important;
  }
  
  .about-content h3 {
    font-size: 1.125rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .about-content p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }
  
  /* FAQ */
  .faq-button {
    padding: 1rem 0 !important;
  }
  
  .faq-question {
    font-size: 0.875rem !important;
    padding-right: 0.75rem !important;
  }
  
  .faq-answer p {
    font-size: 0.8125rem !important;
    padding-bottom: 1rem !important;
  }
  
  .faq-icon {
    width: 1rem !important;
    height: 1rem !important;
  }
  
  /* FAQ Scroll Animation for 320px - appear out of nowhere */
  .section-title.scroll-fade-in {
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.6s !important;
    transform-origin: center !important;
  }
  
  .faq-item.scroll-fade-in-up {
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.6s !important;
    transform-origin: center !important;
  }
  
  /* Reduce About section bottom padding for 320px to bring FAQ closer */
  #about.section {
    padding-bottom: 0.05rem !important;
  }
  
  /* Move FAQ section higher for 320px and add divider */
  #about.section + .section {
    padding-top: 0.25rem !important;
    margin-top: -5rem !important;
    position: relative !important;
  }
  
  /* Add divider above FAQ title for 320px (matching Case Studies pattern) */
  #about.section + .section .section-title.scroll-fade-in::before {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 1px !important;
    background: black !important;
    margin: 0 auto 0.75rem !important;
    position: relative !important;
  }
  
  /* Contact section */
  .contact-section {
    position: relative !important;
    overflow: hidden !important;
    padding: 6rem 0.75rem !important;
  }
  
  .contact-spotlight {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    z-index: 1 !important;
  }
  
  /* Hide all spotlight images for 320px and use white-spotlight-small.png instead */
  .contact-spotlight .spotlight-image,
  .contact-spotlight .spotlight-image-left,
  .contact-spotlight .spotlight-image-right {
    display: none !important;
  }
  
  /* Use white-spotlight-small.png as background for 320px */
  .contact-spotlight {
    background-image: url('public/white-spotlight-small.png') !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  
  .contact-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  
  .contact-cta-button {
    padding: 0.875rem 2rem !important;
    font-size: 0.875rem !important;
  }
  
  .contact-divider {
    width: 50px !important;
    margin: 0 auto 1.5rem auto !important;
    display: block !important;
  }
  
  .contact-title {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  
  .contact-cta-button {
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0.75rem !important;
  }
  
  .footer-content {
    gap: 1.5rem !important;
  }
  
  .footer-logo-text {
    font-size: 1rem !important;
  }
  
  .footer-text {
    font-size: 0.8125rem !important;
  }
  
  .footer-link {
    font-size: 0.8125rem !important;
  }
  
  .footer-links {
    gap: 0.75rem !important;
  }
  
  .footer-copyright {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    font-size: 0.6875rem !important;
  }
  
  /* Section title divider */
  .section-title-divider {
    width: 60px !important;
    margin-bottom: 1rem !important;
  }
  
  .case-studies-divider {
    width: 60px !important;
    margin-bottom: 1rem !important;
  }
  
  /* Service card section - reduced size for 320px */
  #services.section {
    padding: 1.5rem 0.75rem 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }
  
  #services .container {
    overflow: visible !important;
    position: relative !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
  }
  
  /* Override base mobile styles for 320px - match 768px pattern */
  .services-sticky-container {
    margin: 2rem -0.75rem !important;
    width: calc(100% + 1.5rem) !important;
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    position: sticky !important;
    overflow: visible !important;
    z-index: 1 !important;
  }
  
  .services-cards-wrapper {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0.75rem !important;
    z-index: 2 !important;
  }
  
  /* Ensure cards are properly positioned - they should be absolute and centered */
  .services-card.sticky-card {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
  }
  
  /* Ensure cards maintain centering when JavaScript applies transforms */
  .services-card.sticky-card.active {
    top: 50% !important;
    left: 50% !important;
  }
  
  .services-card.sticky-card.overlapped {
    top: 50% !important;
    left: 50% !important;
  }
  
  .services-card.sticky-card.hidden {
    top: 50% !important;
    left: 50% !important;
  }
  
  .service-features-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Ensure no gap between services section and service-features */
  #services.section + .service-features-section {
    margin-top: 0 !important;
  }
  
  /* Cross-Platforms - halved height for 320px */
  .platforms-sticky-container {
    margin: 1.5rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Force override with more specific selector */
  .cross-platforms-section .platforms-sticky-container {
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Even more specific override */
  section.cross-platforms-section .platforms-sticky-container {
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Case Studies - halved height for 320px */
  .case-studies-sticky-container {
    margin: 1.5rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
    height: calc(1 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1 * 100vh) !important;
  }
  
  /* Force override with more specific selector */
  .case-studies-section .case-studies-sticky-container {
    height: calc(1 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1 * 100vh) !important;
  }
  
  /* Even more specific override */
  section.case-studies-section .case-studies-sticky-container {
    height: calc(1 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1 * 100vh) !important;
  }
  
  /* About KAIMARA - halved height for 320px */
  .about-sticky-container {
    margin: 4rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Force override with more specific selector */
  #about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Even more specific override */
  section#about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Service Features - halved height for 320px */
  .service-features-section {
    height: auto !important;
    overflow: visible !important;
  }
  
  .service-features-sticky-container {
    width: 100% !important;
    height: calc(1.0 * 100vh) !important;
    min-height: 100px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Force override with more specific selector */
  .service-features-section .service-features-sticky-container {
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Even more specific override */
  section.service-features-section .service-features-sticky-container {
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Direct element override */
  div.service-features-sticky-container {
    height: calc(1.0 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.0 * 100vh) !important;
  }
  
  /* Platform wrapper padding */
  .platforms-wrapper {
    padding: 4rem 0.75rem 0 !important;
  }
  
  .case-studies-wrapper {
    padding: 1.5rem 0.75rem 0 !important;
  }
  
  .about-wrapper {
    padding: 4rem 0.75rem 0 !important;
    margin-top: 20rem;
    align-items: center !important;
  }
  
  /* Center About KAIMARA title and divider for 320px */
  #about.section .about-wrapper .section-title {
    text-align: center !important;
    width: 100% !important;
    align-self: center !important;
  }
  
  /* Add divider above About KAIMARA section for 320px (same as Case Studies) */
  #about.section .about-wrapper .section-title::before {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 1px !important;
    background: black !important;
    margin: 0 auto 1rem !important;
    position: relative !important;
  }
  
  .service-features-wrapper {
    padding: 1.5rem 0.75rem !important;
  }
  
  /* Case study content adjustments */
  .case-study-content {
    width: calc(100% - 2rem) !important;
    padding: 0 1rem !important;
    gap: 1rem !important;
  }
  
  /* Waveform container */
  .waveform-container {
    margin-left: calc(-0.75rem) !important;
    margin-right: calc(-0.75rem) !important;
    height: 50px !important;
    margin-top: 0.1rem !important;
  }
  
  /* Hide 2 waveform lines on each side for 320px */
  .waveform-line:nth-child(1),
  .waveform-line:nth-child(2) {
    display: none !important;
  }
  
  .waveform-line:nth-last-child(1),
  .waveform-line:nth-last-child(2) {
    display: none !important;
  }
  
  /* Mobile menu button */
  .mobile-menu {
    right: 0.75rem !important;
  }
  
  /* Navbar container padding */
  .navbar .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  /* Past Work Section */
  .past-work-header {
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  
  .past-work-title-section {
    width: 100% !important;
  }
  
  .past-work-divider {
    width: 60px !important;
    margin-bottom: 1rem !important;
  }
  
  .past-work-description-wrapper {
    max-width: 100% !important;
    margin-top: -2rem !important;
  }
  
  .past-work-description {
    font-family: 'ClashDisplay', sans-serif !important;
    font-size: 0.875rem !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    line-height: 1.5 !important;
  }
  
  .see-more-button {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.75rem !important;
  }
  
  .past-work-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .past-work-item {
    gap: 0.75rem !important;
  }
  
  .past-work-banner {
    font-size: 0.625rem !important;
    padding: 0.4rem 0.75rem !important;
    top: 0.75rem !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(-2deg) !important;
  }
  
  .past-work-services {
    font-size: 0.75rem !important;
  }
  
  /* Contact Section for 320px */
  .contact-container .section-title {
    margin-bottom: 1rem !important;
  }
  
  .contact-form {
    margin-top: 1rem !important;
  }
  
  /* Mobile Menu Overlay for 320px */
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-content {
    width: 90% !important;
    max-width: 400px !important;
    min-width: auto !important;
    height: auto !important;
    max-height: 80vh !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    background: #a9a9ab !important;
    backdrop-filter: none !important;
    padding: 0.5rem 2rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
    overflow-y: visible !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(-50%) scale(1) !important;
    opacity: 0.75 !important;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .mobile-menu-logo {
    color: white !important;
  }
  
  .mobile-menu-close {
    color: white !important;
  }
  
  .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-nav {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-link {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    transform: translateX(0) !important;
  }
  
  .mobile-menu-link:hover {
    color: white !important;
    transform: translateX(8px) scale(1.08) !important;
  }
  
  .mobile-menu-cta-button {
    background: black !important;
    border: 1px solid black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-menu-cta-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.08) translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Mobile devices (375px) */
@media (min-width: 321px) and (max-width: 375px) {
  /* Mobile Menu Overlay for 375px */
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-content {
    width: 90% !important;
    max-width: 400px !important;
    min-width: auto !important;
    height: auto !important;
    max-height: 80vh !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    background: #a9a9ab !important;
    backdrop-filter: none !important;
    padding: 0.5rem 2rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
    overflow-y: visible !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(-50%) scale(1) !important;
    opacity: 0.75 !important;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .mobile-menu-logo {
    color: white !important;
  }
  
  .mobile-menu-close {
    color: white !important;
  }
  
  .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-nav {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-link {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    transform: translateX(0) !important;
  }
  
  .mobile-menu-link:hover {
    color: white !important;
    transform: translateX(8px) scale(1.08) !important;
  }
  
  .mobile-menu-cta-button {
    background: black !important;
    border: 1px solid black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-menu-cta-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.08) translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Service features sticky container height for 375px */
  .service-features-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Platform items - copied from 320px */
  .platform-item {
    gap: 0.5rem !important; /* Much closer spacing for 375px */
  }
  
  .platform-name {
    font-size: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Reduce font size for longer platform name on 375px */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 1.125rem !important; /* Smaller for "Ray-Ban Meta Display" */
  }
  
  .platform-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Smaller icon for last platform on 375px to help fit */
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .cross-platforms-title {
    font-size: 1.125rem !important;
  }
  
  /* Reduce height of platforms section for 375px */
  .platforms-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Reduce space above platforms title for 375px */
  .platforms-wrapper {
    padding-top: 2rem !important;
  }
  
  /* Reduce font size and center service features heading for 375px */
  .service-features-heading {
    text-align: center !important;
  }
  
  .service-features-heading .feature-line {
    font-size: 1.5rem !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  /* Lower hero badge for 375px */
  .hero-badge {
    margin-top: 2rem !important;
    transform: translateY(0) !important;
    margin-bottom: 1rem;
  }
  
  /* Hero subtitle on one line but wrapped for 375px */
  .hero-subtitle {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hero-subtitle br {
    display: none !important;
  }
  
  /* Bring waveform SVG higher for 375px */
  .waveform-container {
    margin-top: -1rem !important;
  }
  
  /* Hide 2 waveform lines on each side for 375px */
  .waveform-line:nth-child(1),
  .waveform-line:nth-child(2) {
    display: none !important;
  }
  
  .waveform-line:nth-last-child(1),
  .waveform-line:nth-last-child(2) {
    display: none !important;
  }
  
  
  /* Override individual card image container settings to ensure photos fit for 375px */
  .services-card[data-card-index="0"] .service-card-image,
  .services-card[data-card-index="1"] .service-card-image,
  .services-card[data-card-index="2"] .service-card-image,
  .services-card[data-card-index="3"] .service-card-image {
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0.5rem !important;
    margin-top: -2rem !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    min-height: 200px !important;
    height: 200px !important;
    max-height: 200px !important;
    padding-bottom: 0.5rem !important;
  }
  
  .services-card[data-card-index="0"] .service-card-content,
  .services-card[data-card-index="1"] .service-card-content,
  .services-card[data-card-index="2"] .service-card-content,
  .services-card[data-card-index="3"] .service-card-content {
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 1rem !important;
  }
  
  /* Reduce gap between text and image for all cards at 375px */
  .services-card[data-card-index="0"],
  .services-card[data-card-index="1"],
  .services-card[data-card-index="2"],
  .services-card[data-card-index="3"] {
    gap: 0 !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .services-cards-wrapper {
    overflow: visible !important;
  }
  
  /* Override all individual card image settings to ensure photos fit for 375px */
  .services-card[data-card-index="0"] .service-card-image img[src$="lightbulb.svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$="launch.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"],
  .services-card[data-card-index="0"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"] {
    width: 60% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 180px !important;
    transform: translateY(0) !important;
    object-fit: contain !important;
  }
  
  /* Raise development.svg photo higher for 375px - must come after general rules */
  .services-card[data-card-index="1"] .service-card-image {
    margin-top: -4rem !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"] {
    width: 60% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 180px !important;
    transform: translateY(-2.5rem) !important;
    object-fit: contain !important;
  }
  
  /* Sticky scroll container for service cards at 375px */
  .services-sticky-container {
    position: relative !important;
    height: calc(1 * 100vh) !important;
    margin: 4rem -1.5rem !important;
    width: calc(100% + 3rem) !important;
    min-height: 400px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .services-cards-wrapper {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.5rem !important;
  }
  
  /* Increase service card height slightly for 375px */
  .services-card.sticky-card {
    height: 480px !important;
    max-height: 480px !important;
    min-height: 480px !important;
  }
  
  .services-card {
    height: 480px !important;
    max-height: 480px !important;
    min-height: 480px !important;
  }
  
  .service-card-content {
    padding: 1.5rem !important;
  }
  
  /* Ensure photos fit inside service card image sections for 375px */
  .service-card-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .service-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  /* Override all individual card image settings to ensure photos fit for 375px */
  .services-card[data-card-index="0"] .service-card-image,
  .services-card[data-card-index="2"] .service-card-image,
  .services-card[data-card-index="3"] .service-card-image {
    overflow: hidden !important;
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    margin-top: -2rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Raise development.svg photo higher for 375px - container */

  .services-card[data-card-index="0"] .service-card-image {
    overflow: hidden !important;
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    margin-top: -3rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .services-card[data-card-index="1"] .service-card-image {
    overflow: hidden !important;
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    margin-top: -2rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .services-card[data-card-index="3"] .service-card-image {
    overflow: hidden !important;
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    margin-top: -4rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .services-card[data-card-index="0"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="0"] .service-card-image img[src$="lightbulb.svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$="launch.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"] {
    width: 60% !important;
    height: auto !important;
    max-height: 180px !important;
    max-width: 100% !important;
    transform: translateY(0) !important;
    object-fit: contain !important;
  }
  
  /* Move maintenance photo higher for 375px */
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"] {
    transform: translateY(-1rem) !important;
  }
  
  /* Raise development.svg photo higher for 375px - image (must come after general rule) */
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"] {
    width: 60% !important;
    height: auto !important;
    max-height: 180px !important;
    max-width: 100% !important;
    transform: translateY(-3rem) !important;
    object-fit: contain !important;
  }
  
  /* Center past-work-banner for 375px */
  .past-work-banner {
    left: 50% !important;
    transform: translateX(-50%) rotate(-2deg) !important;
  }
  
  /* Add more space between case-studies section and About section for 375px */
  .case-studies-section {
    margin-bottom: 10rem !important;
  }
  
  .case-studies-section + #about.section {
    padding-top: 6rem !important;
  }
  
  /* Reduce About section size for 375px */
  .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
    margin: 4rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
  }
  
  /* Force override with more specific selector for 375px */
  #about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  section#about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Reduce about-grid spacing for 375px */
  .about-grid {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .about-item {
    gap: 1rem !important;
  }
  
  /* Indent the number 1 to the right for 375px */
  .about-number-1 {
    margin-left: 1rem !important;
  }
  
  /* Reduce section padding for 375px */
  #about.section {
    padding-bottom: 2rem !important;
  }
  
  /* Add more space between About and FAQ sections for 375px */
  #about.section + .section {
    padding-top: 20rem !important;
  }

  .contact-title {
    font-size: 1.8rem !important;
    line-height: 0.6 !important;
    white-space: normal !important;
    word-spacing: 0.45rem !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
  }
  
  /* Prevent wrapping within each phrase - use block display */
  .contact-title-line {
    white-space: nowrap !important;
    font-size: 1.8rem !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    text-align: center !important;
  }
  
  /* Hide all spotlight images for 375px and use white-spotlight-small.png instead */
  .contact-spotlight .spotlight-image,
  .contact-spotlight .spotlight-image-left,
  .contact-spotlight .spotlight-image-right {
    display: none !important;
  }
  
  /* Use white-spotlight-small.png as background for 375px */
  .contact-spotlight {
    background-image: url('public/white-spotlight-small.png') !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
}

/* Mobile devices (425px) */
@media (min-width: 376px) and (max-width: 425px) {
  /* Service features sticky container height for 425px */
  .service-features-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Reduce height of platforms section for 425px */
  .platforms-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Platform items - copied from 375px for 425px */
  .platform-item {
    gap: 0.5rem !important; /* Much closer spacing for 425px */
  }
  
  .platform-name {
    font-size: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Reduce font size for longer platform name on 425px */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 1.25rem !important; /* Smaller for "Ray-Ban Meta Display" */
  }
  
  .platform-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Smaller icon for last platform on 425px to help fit */
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 45px !important;
    height: 45px !important;
  }
  
  .cross-platforms-title {
    font-size: 1.125rem !important;
  }
  
  /* Reduce font size and center service features heading for 425px */
  .service-features-heading {
    text-align: center !important;
  }
  
  .service-features-heading .feature-line {
    font-size: 1.5rem !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  /* Lower hero badge for 425px */
  .hero-badge {
    margin-top: 3rem !important;
    transform: translateY(0) !important;
    margin-bottom: 1rem !important;
  }
  
  /* Bring waveform SVG higher for 425px */
  .waveform-container {
    margin-top: -1rem !important;
  }
  
  /* Hide 2 waveform lines from left and 1 from right for 425px */
  .waveform-line:nth-child(1),
  .waveform-line:nth-child(2) {
    display: none !important;
  }
  .waveform-line:nth-last-child(1) {
    display: none !important;
  }
  
  /* Ensure waveform SVG is centered for 425px */
  .waveform-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .waveform-svg {
    margin: 0 auto !important;
  }
  
  /* Hero subtitle padding and wrapping for 425px */
  .hero-subtitle {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  
  .hero-subtitle br {
    display: none !important;
  }
  
  /* Sticky scroll container for service cards at 425px */
  .services-sticky-container {
    position: relative !important;
    height: calc(1 * 100vh) !important;
    margin: 4rem -1.5rem !important;
    width: calc(100% + 3rem) !important;
    min-height: 400px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .services-cards-wrapper {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.5rem !important;
  }
  
  /* Reduce service card height for 425px */
  .services-card.sticky-card {
    height: 450px !important;
    max-height: 450px !important;
    min-height: 450px !important;
  }
  
  .services-card {
    height: 450px !important;
    max-height: 450px !important;
    min-height: 450px !important;
  }
  
  /* Ensure photos fit inside service card image sections for 425px */
  .service-card-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .service-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  /* Override all individual card image settings to ensure photos fit for 425px */
  .services-card[data-card-index="0"] .service-card-image,
  .services-card[data-card-index="1"] .service-card-image,
  .services-card[data-card-index="2"] .service-card-image,
  .services-card[data-card-index="3"] .service-card-image {
    overflow: hidden !important;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    margin-top: -2rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$="launch.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"] {
    width: 55% !important;
    height: auto !important;
    max-height: 160px !important;
    max-width: 100% !important;
    transform: translateY(0) !important;
    object-fit: contain !important;
  }
  
  /* Move ideation & strategy card photo higher for 425px */
  .services-card[data-card-index="0"] .service-card-image {
    margin-top: -3rem !important;
  }
  
  .services-card[data-card-index="0"] .service-card-image img[src$="lightbulb.svg"],
  .services-card[data-card-index="0"] .service-card-image img[src$=".svg"] {
    width: 55% !important;
    height: auto !important;
    max-height: 160px !important;
    max-width: 100% !important;
    transform: translateY(-1rem) !important;
    object-fit: contain !important;
  }

  /* Ensure development.svg is entirely visible and move it higher for 425px */
  .services-card[data-card-index="1"] .service-card-image {
    margin-top: -3rem !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"] {
    width: 50% !important;
    height: auto !important;
    max-height: 150px !important;
    max-width: 100% !important;
    transform: translateY(-2.5rem) !important;
    object-fit: contain !important;
  }
  
  /* Move maintenance.svg higher and ensure it's entirely visible for 425px */
  .services-card[data-card-index="3"] .service-card-image {
    margin-top: -3.5rem !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"] {
    width: 50% !important;
    height: auto !important;
    max-height: 150px !important;
    max-width: 100% !important;
    transform: translateY(-2rem) !important;
    object-fit: contain !important;
  }
  
  /* Mobile Menu Overlay for 425px */
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-content {
    width: 90% !important;
    max-width: 400px !important;
    min-width: auto !important;
    height: auto !important;
    max-height: 80vh !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    background: #a9a9ab !important;
    backdrop-filter: none !important;
    padding: 0.5rem 2rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
    overflow-y: visible !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(-50%) scale(1) !important;
    opacity: 0.75 !important;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .mobile-menu-logo {
    color: white !important;
  }
  
  .mobile-menu-close {
    color: white !important;
  }
  
  .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-nav {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-link {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    transform: translateX(0) !important;
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .mobile-menu-link:hover {
    color: white !important;
    transform: translateX(8px) scale(1.08) !important;
  }
  
  /* Ensure Blog nav item is properly aligned for 425px */
  .mobile-menu-link[href="https://medium.com/@kaimara_ai"] {
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    transform: translateX(0) !important;
  }
  
  .mobile-menu-cta-button {
    background: black !important;
    border: 1px solid black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-menu-cta-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.08) translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Center past-work-banner for 425px */
  .past-work-banner {
    left: 50% !important;
    transform: translateX(-50%) rotate(-2deg) !important;
  }
  
  /* Reduce About section size for 425px */
  .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
    margin: 4rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
  }
  
  /* Force override with more specific selector for 425px */
  #about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  section#about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Reduce about-grid spacing for 425px */
  .about-grid {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .about-item {
    gap: 1rem !important;
  }
  
  /* Indent the number 1 to the right for 425px */
  .about-number-1 {
    margin-left: 1rem !important;
  }
  
  /* Reduce section padding for 425px */
  #about.section {
    padding-bottom: 2rem !important;
  }
  
  /* Add more space between case-studies section and About section for 425px */
  .case-studies-section {
    margin-bottom: 10rem !important;
  }
  
  .case-studies-section + #about.section {
    padding-top: 6rem !important;
  }

  .contact-title {
    font-size: 2rem !important;
    line-height: 0.6 !important;
    white-space: normal !important;
    word-spacing: 0.45rem !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
  }
  
  /* Prevent wrapping within each phrase - use block display */
  .contact-title-line {
    white-space: nowrap !important;
    font-size: 2rem !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    text-align: center !important;
  }
  
  /* Hide all spotlight images for 425px and use white-spotlight-small.png instead */
  .contact-spotlight .spotlight-image,
  .contact-spotlight .spotlight-image-left,
  .contact-spotlight .spotlight-image-right {
    display: none !important;
  }
  
  /* Use white-spotlight-small.png as background for 425px */
  .contact-spotlight {
    background-image: url('public/white-spotlight-small.png') !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
}

/* Mobile devices (475px) */
@media (min-width: 426px) and (max-width: 475px) {
  /* Service features sticky container height for 475px */
  .service-features-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Reduce height of platforms section for 475px */
  .platforms-sticky-container {
    height: calc(1 * 100vh) !important;
  }
  
  /* Platform items - copied from 425px for 475px */
  .platform-item {
    gap: 0.5rem !important; /* Much closer spacing for 475px */
  }
  
  .platform-name {
    font-size: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Reduce font size for longer platform name on 475px */
  .platform-item[data-platform-index="7"] .platform-name {
    font-size: 1.25rem !important; /* Smaller for "Ray-Ban Meta Display" */
  }
  
  .platform-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Smaller icon for last platform on 475px to help fit */
  .platform-item[data-platform-index="7"] .platform-icon {
    width: 45px !important;
    height: 45px !important;
  }
  
  .cross-platforms-title {
    font-size: 1.125rem !important;
  }
  
  /* Reduce font size and center service features heading for 475px */
  .service-features-heading {
    text-align: center !important;
  }
  
  .service-features-heading .feature-line {
    font-size: 1.5rem !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  /* Lower hero badge for 475px */
  .hero-badge {
    margin-top: 3rem !important;
    transform: translateY(0) !important;
    margin-bottom: 1rem !important;
  }
  
  /* Bring waveform SVG higher for 475px */
  .waveform-container {
    margin-top: -1rem !important;
  }
  
  /* Hide 2 waveform lines from left and 1 from right for 475px */
  .waveform-line:nth-child(1),
  .waveform-line:nth-child(2) {
    display: none !important;
  }
  .waveform-line:nth-last-child(1) {
    display: none !important;
  }
  
  /* Ensure waveform SVG is centered for 475px */
  .waveform-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .waveform-svg {
    margin: 0 auto !important;
  }
  
  /* Hero subtitle padding and wrapping for 475px */
  .hero-subtitle {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  
  .hero-subtitle br {
    display: none !important;
  }
  
  /* Sticky scroll container for service cards at 475px */
  .services-sticky-container {
    position: relative !important;
    height: calc(1 * 100vh) !important;
    margin: 4rem -1.5rem !important;
    width: calc(100% + 3rem) !important;
    min-height: 400px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .services-cards-wrapper {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.5rem !important;
  }
  
  /* Reduce service card height for 475px */
  .services-card.sticky-card {
    height: 450px !important;
    max-height: 450px !important;
    min-height: 450px !important;
  }
  
  .services-card {
    height: 450px !important;
    max-height: 450px !important;
    min-height: 450px !important;
  }
  
  /* Ensure photos fit inside service card image sections for 475px */
  .service-card-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .service-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  /* Override all individual card image settings to ensure photos fit for 475px */
  .services-card[data-card-index="0"] .service-card-image,
  .services-card[data-card-index="1"] .service-card-image,
  .services-card[data-card-index="2"] .service-card-image,
  .services-card[data-card-index="3"] .service-card-image {
    overflow: hidden !important;
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
    margin-top: -2rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="2"] .service-card-image img[src$="launch.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"] {
    width: 55% !important;
    height: auto !important;
    max-height: 160px !important;
    max-width: 100% !important;
    transform: translateY(0) !important;
    object-fit: contain !important;
  }
  
  /* Move ideation & strategy card photo higher for 475px */
  .services-card[data-card-index="0"] .service-card-image {
    margin-top: -3rem !important;
  }
  
  .services-card[data-card-index="0"] .service-card-image img[src$="lightbulb.svg"],
  .services-card[data-card-index="0"] .service-card-image img[src$=".svg"] {
    width: 55% !important;
    height: auto !important;
    max-height: 160px !important;
    max-width: 100% !important;
    transform: translateY(-1rem) !important;
    object-fit: contain !important;
  }

  /* Ensure development.svg is entirely visible and move it higher for 475px */
  .services-card[data-card-index="1"] .service-card-image {
    margin-top: -3rem !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="1"] .service-card-image img[src$="development.svg"],
  .services-card[data-card-index="1"] .service-card-image img[src$=".svg"] {
    width: 50% !important;
    height: auto !important;
    max-height: 150px !important;
    max-width: 100% !important;
    transform: translateY(-2.5rem) !important;
    object-fit: contain !important;
  }
  
  /* Move maintenance.svg higher and ensure it's entirely visible for 475px */
  .services-card[data-card-index="3"] .service-card-image {
    margin-top: -2.5rem !important;
    overflow: visible !important;
  }
  
  .services-card[data-card-index="3"] .service-card-image img[src$="maintanence.svg"],
  .services-card[data-card-index="3"] .service-card-image img[src$=".svg"] {
    width: 50% !important;
    height: auto !important;
    max-height: 150px !important;
    max-width: 100% !important;
    transform: translateY(-1rem) !important;
    object-fit: contain !important;
  }
  
  /* Mobile Menu Overlay for 475px */
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-content {
    width: 90% !important;
    max-width: 400px !important;
    min-width: auto !important;
    height: auto !important;
    max-height: 80vh !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    background: #a9a9ab !important;
    backdrop-filter: none !important;
    padding: 0.5rem 2rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
    overflow-y: visible !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(-50%) scale(1) !important;
    opacity: 0.75 !important;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .mobile-menu-logo {
    color: white !important;
  }
  
  .mobile-menu-close {
    color: white !important;
  }
  
  .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-nav {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-link {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    transform: translateX(0) !important;
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .mobile-menu-link:hover {
    color: white !important;
    transform: translateX(8px) scale(1.08) !important;
  }
  
  /* Ensure Blog nav item is properly aligned for 475px */
  .mobile-menu-link[href="https://medium.com/@kaimara_ai"] {
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    transform: translateX(0) !important;
  }
  
  .mobile-menu-cta-button {
    background: black !important;
    border: 1px solid black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-menu-cta-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.08) translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Center past-work-banner for 475px */
  .past-work-banner {
    left: 50% !important;
    transform: translateX(-50%) rotate(-2deg) !important;
  }
  
  /* Reduce About section size for 475px */
  .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
    margin: 4rem -0.75rem 0 !important;
    width: calc(100% + 1.5rem) !important;
  }
  
  /* Force override with more specific selector for 475px */
  #about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  section#about.section .about-sticky-container {
    height: calc(1.5 * 100vh) !important;
    min-height: 200px !important;
    max-height: calc(1.5 * 100vh) !important;
  }
  
  /* Reduce about-grid spacing for 475px */
  .about-grid {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .about-item {
    gap: 1rem !important;
  }
  
  /* Indent the number 1 to the right for 475px */
  .about-number-1 {
    margin-left: 1rem !important;
  }
  
  /* Reduce section padding for 475px */
  #about.section {
    padding-bottom: 2rem !important;
  }
  
  /* Add more space between case-studies section and About section for 475px */
  .case-studies-section {
    margin-bottom: 10rem !important;
  }
  
  .case-studies-section + #about.section {
    padding-top: 6rem !important;
  }

  .contact-title {
    font-size: 2rem !important;
    line-height: 0.6 !important;
    white-space: normal !important;
    word-spacing: 0.45rem !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
  }
  
  /* Prevent wrapping within each phrase - use block display */
  .contact-title-line {
    white-space: nowrap !important;
    font-size: 2rem !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    text-align: center !important;
  }
  
  /* Hide all spotlight images for 475px and use white-spotlight-small.png instead */
  .contact-spotlight .spotlight-image,
  .contact-spotlight .spotlight-image-left,
  .contact-spotlight .spotlight-image-right {
    display: none !important;
  }
  
  /* Use white-spotlight-small.png as background for 475px */
  .contact-spotlight {
    background-image: url('public/white-spotlight-small.png') !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
}

/* Mobile devices (768px) */
@media (min-width: 476px) and (max-width: 1023px) {
  /* Mobile Menu Overlay for 768px */
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .mobile-menu-content {
    width: 95% !important;
    max-width: 750px !important;
    min-width: auto !important;
    height: auto !important;
    max-height: 80vh !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    background: #a9a9ab !important;
    backdrop-filter: none !important;
    padding: 0.5rem 2rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
    overflow-y: visible !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(-50%) scale(1) !important;
    opacity: 0.75 !important;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .mobile-menu-logo {
    color: white !important;
  }
  
  .mobile-menu-close {
    color: white !important;
  }
  
  .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-nav {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .mobile-menu-link {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    transform: translateX(0) !important;
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .mobile-menu-link:hover {
    color: white !important;
    transform: translateX(8px) scale(1.08) !important;
  }
  
  /* Ensure Blog nav item is properly aligned for 768px */
  .mobile-menu-link[href="https://medium.com/@kaimara_ai"] {
    text-align: left !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    transform: translateX(0) !important;
  }
  
  .mobile-menu-cta-button {
    background: black !important;
    border: 1px solid black !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-menu-cta-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.08) translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Keep "STAGE IS READY" and "GET YOUR AI FLOW" on one line each for 425px */
  .contact-title {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-spacing: 0.05em !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
  }
  
  /* Prevent wrapping within each phrase - use block display */
  .contact-title-line {
    white-space: nowrap !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    text-align: center !important;
  }
  
  /* Hide the br tag since we're using block display */
  .contact-title br {
    display: none !important;
  }
  
  /* Ensure container doesn't force wrapping */
  .contact-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}

/* Project Modal Styles */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow-y: auto;
}

.project-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  margin: 2rem auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  animation: modalSlideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  color: #6b7280;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #1a1a1a;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-title {
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.modal-iframe-container {
  flex: 1;
  min-height: 600px;
  height: calc(90vh - 200px);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  position: relative;
  background: #f9fafb;
}

.modal-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Modal responsive styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 1rem auto;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .modal-subtitle {
    font-size: 0.875rem;
  }
  
  .modal-iframe-container {
    min-height: 400px;
    height: calc(95vh - 150px);
  }
}

@media (max-width: 320px) {
  .modal-content {
    width: 95% !important;
    margin: 0.5rem auto !important;
    max-height: 95vh !important;
    border-radius: 12px !important;
  }
  
  .modal-header {
    padding: 1rem 1rem 0.75rem !important;
  }
  
  .modal-title {
    font-size: 1.25rem !important;
  }
  
  .modal-subtitle {
    font-size: 0.75rem !important;
  }
  
  .modal-close {
    width: 32px !important;
    height: 32px !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
  }
  
  .modal-close svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .modal-iframe-container {
    min-height: 300px !important;
    height: calc(95vh - 120px) !important;
  }
}

/* Case Study Page Styles */
.case-study-hero {
  padding-top: 8rem;
  background: white;
}

.case-study-hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.case-study-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.case-study-breadcrumb-link {
  color: var(--black-opacity-60);
  text-decoration: none;
  transition: color 0.3s;
}

.case-study-breadcrumb-link:hover {
  color: black;
}

.case-study-breadcrumb-separator {
  color: var(--black-opacity-60);
}

.case-study-breadcrumb-current {
  color: black;
  font-weight: 500;
}

.case-study-title-divider {
  width: 80px;
  height: 1px;
  background: black;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .case-study-title-divider {
    width: 80px;
    height: 2px;
    margin-bottom: 2rem;
  }
}

.case-study-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .case-study-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .case-study-title {
    font-size: 4rem;
  }
}

.case-study-subtitle {
  font-size: 1.125rem;
  color: var(--black-opacity-70);
  line-height: 1.6;
  margin-bottom: 3rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .case-study-subtitle {
    font-size: 1.25rem;
    margin-bottom: 4rem;
  }
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--black-opacity-10);
}

.case-study-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-study-meta-label {
  font-size: 0.875rem;
  color: var(--black-opacity-60);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.case-study-meta-value {
  font-size: 1rem;
  color: black;
  font-weight: 600;
  font-family: 'ClashDisplay', sans-serif;
}

@media (min-width: 768px) {
  .case-study-meta-value {
    font-size: 1.125rem;
  }
}

.case-study-section {
  background: white;
}

.case-study-content-block {
  max-width: 56rem;
  margin: 0 auto;
}

.case-study-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 2rem;
  margin-top: 0;
  letter-spacing: -0.02em;
}

.case-study-results-title {
  word-spacing: 0.2em;
}

@media (min-width: 768px) {
  .case-study-section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .case-study-section-title {
    font-size: 3rem;
  }
}

.case-study-text-content {
  font-size: 1rem;
  color: var(--black-opacity-70);
  line-height: 1.7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.case-study-text-content p {
  margin-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
  .case-study-text-content {
    font-size: 1.125rem;
  }
  
  .case-study-text-content p {
    margin-bottom: 2rem;
  }
}

.case-study-features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.case-study-features-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black-opacity-70);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.case-study-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: black;
  font-weight: 700;
  font-size: 1.25rem;
}

.case-study-features-list li strong {
  color: black;
  font-weight: 600;
}

@media (min-width: 768px) {
  .case-study-features-list li {
    font-size: 1.125rem;
    padding-left: 2.5rem;
  }
}

.case-study-section-description {
  font-size: 1rem;
  color: var(--black-opacity-70);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .case-study-section-description {
    font-size: 1.125rem;
    margin-bottom: 4rem;
  }
}

.case-study-platform-section {
  margin-top: 4rem;
}

.case-study-platform-section:first-of-type {
  margin-top: 0;
}

.case-study-platform-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: black;
  margin-bottom: 0.5rem;
  margin-top: 0;
  letter-spacing: -0.02em;
}

.case-study-platform-section .case-study-title-divider {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .case-study-platform-section .case-study-title-divider {
    margin-bottom: 1.5rem;
  }
}

.case-study-platform-subtitle {
  font-size: 1.125rem;
  color: var(--black-opacity-70);
  margin-bottom: 2rem;
  font-weight: 500;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .case-study-platform-title {
    font-size: 2.25rem;
  }
  
  .case-study-platform-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }
}

.case-study-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .case-study-screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .case-study-screenshots-grid {
    gap: 2.5rem;
  }
}

.case-study-screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-screenshot-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  background: white;
  object-fit: contain;
}

.case-study-screenshot-label {
  font-size: 0.875rem;
  color: var(--black-opacity-70);
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  margin: 0;
}

@media (min-width: 768px) {
  .case-study-screenshot-label {
    font-size: 1rem;
  }
}

.case-study-cta {
  background: var(--gray-50);
  text-align: center;
}

.case-study-cta-content {
  max-width: 42rem;
  margin: 0 auto;
}

.case-study-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.case-study-cta-text {
  font-size: 1rem;
  color: var(--black-opacity-70);
  margin-bottom: 2rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .case-study-cta-title {
    font-size: 2.5rem;
  }
  
  .case-study-cta-text {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

.case-study-cta-button {
  background: black;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: 'ClashDisplay', sans-serif;
  border: none;
  cursor: pointer;
}

.case-study-cta-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .case-study-cta-button {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
  }
}

/* Case Study Page Responsive Styles */
@media (max-width: 320px) {
  .case-study-hero {
    padding-top: 6rem !important;
  }
  
  .case-study-title {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .case-study-subtitle {
    font-size: 0.875rem !important;
    margin-bottom: 2rem !important;
  }
  
  .case-study-meta {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  .case-study-section-title {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .case-study-text-content {
    font-size: 0.875rem !important;
  }
  
  .case-study-features-list li {
    font-size: 0.875rem !important;
    padding-left: 1.5rem !important;
  }
  
  .case-study-screenshots-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .case-study-platform-title {
    font-size: 1.5rem !important;
  }
  
  .case-study-platform-subtitle {
    font-size: 1rem !important;
  }
  
  .case-study-cta-title {
    font-size: 1.5rem !important;
  }
  
  .case-study-cta-text {
    font-size: 0.875rem !important;
  }
  
  .case-study-cta-button {
    padding: 0.875rem 2rem !important;
    font-size: 0.875rem !important;
  }
  
  /* Ensure App Screenshots section is visible */
  .case-study-section .case-study-content-block {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .case-study-section-description {
    font-size: 0.875rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
  }
  
  .case-study-platform-section {
    margin-top: 2.5rem !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  
  .case-study-platform-section .case-study-platform-title {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  
  .case-study-platform-section .case-study-title-divider {
    margin-left: 0 !important;
  }
  
  .case-study-platform-section .case-study-platform-subtitle {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  
  .case-study-platform-section .case-study-screenshots-grid {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Center Android screenshots grid for 320px */
  .case-study-platform-section:last-of-type .case-study-platform-title,
  .case-study-platform-section:last-of-type .case-study-platform-subtitle {
    text-align: left !important;
  }
  
  .case-study-platform-section:last-of-type .case-study-screenshots-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }
  
  .case-study-platform-section:last-of-type .case-study-screenshot-item {
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .case-study-platform-section:last-of-type .case-study-screenshot-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  
  .case-study-platform-section:last-of-type .case-study-screenshot-label {
    text-align: center !important;
    width: 100% !important;
  }
  
  .case-study-screenshot-item {
    margin-bottom: 1rem !important;
  }
  
  .case-study-screenshot-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .case-study-screenshot-label {
    font-size: 0.75rem !important;
    margin-top: 0.5rem !important;
  }
  
  /* Ensure App Screenshots section has proper spacing and visibility */
  .case-study-section.section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    overflow: visible !important;
  }
  
  /* Make scroll animations more forgiving on small screens - reduce initial transform */
  .case-study-section .scroll-fade-in-left {
    transform: translateX(-20px) !important;
  }
  
  .case-study-section .scroll-fade-in-right {
    transform: translateX(20px) !important;
  }
  
  /* Ensure content blocks don't overflow */
  .case-study-content-block {
    overflow: visible !important;
    width: 100% !important;
  }
  
  /* Force App Screenshots section to be visible on 320px */
  .case-study-section .case-study-content-block.scroll-fade-in-left,
  .case-study-section .case-study-content-block.scroll-fade-in-right {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
  }
  
  /* Ensure all App Screenshots content is visible */
  .case-study-section-description,
  .case-study-screenshots-grid,
  .case-study-platform-section,
  .case-study-screenshot-item,
  .case-study-screenshot-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  /* Remove scroll-fade-in animation for Android section at 320px */
  .case-study-platform-section.scroll-fade-in-right {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
  }
  
  .case-study-screenshots-grid {
    display: grid !important;
  }
  
  /* Align Android section title with hero title for 320px */
  .case-study-platform-section.scroll-fade-in-right .case-study-platform-title,
  .case-study-platform-section:last-of-type .case-study-platform-title {
    padding-left: 0.75rem !important;
    margin-left: 0 !important;
  }
  
  /* Align Android section divider with hero title divider for 320px */
  .case-study-platform-section.scroll-fade-in-right .case-study-title-divider,
  .case-study-platform-section:last-of-type .case-study-title-divider {
    margin-left: 0.75rem !important;
  }
}