/* Custom Styles for Nuuko - Enhanced Typography System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

html {
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-color: #fafaf9; /* Warmer background */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #444;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
}

/* Navbar Styles */
.navbar {
  border-radius: 0;
  transition: background-color 0.3s, color 0.3s;
}

.navbar-brand {
  font-weight: bold; /* Make the navbar brand bold */
  font-size: 24px; /* Adjust the font size */
}

.navbar-toggler-icon {
  font-size: 16px; /* Adjust the hamburger menu icon size */
}

.navbar-nav .nav-item {
  position: relative; /* Position relative for the pseudo-element */
}

.navbar-nav .nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px; /* Adjust the position of the line */
  width: 0;
  height: 2px; /* Height of the line */
  background-color: black; /* Color of the line */
  transition: width 0.3s ease; /* Transition effect for width */
}

.navbar-nav .nav-item:hover::after {
  width: 100%; /* Expand the line on hover */
}

/* Style for the "About" link */
.navbar-nav .nav-item:nth-child(2) .nav-link {
  color: black; /* Make the text color black */
}

.navbar-nav .nav-item:nth-child(2) .nav-link::after {
  width: 100%; /* Ensure the underline is full width */
}

/* Comprehensive Mobile Responsive Fixes */
@media (max-width: 768px) {
  .navbar-nav .nav-link {
    font-size: 16px; /* Decrease font size for smaller screens */
  }

  .site-title {
    font-size: 120px; /* Adjust title size for smaller screens */
  }

  .title-section {
    padding-top: 120px; /* Adjust padding for smaller screens */
  }
  
  /* Fix hero section mobile layout */
  .unified-hero-section {
    padding: 6rem 0 3rem 0 !important;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .main-title-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .title-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3rem) !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    text-align: left;
  }
  
  .features-pills {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .feature-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .side-content {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
  }
  
  .project-meta .meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .hero-philosophy-quote {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .hero-palette {
    align-items: center;
  }
  
  .colors-row {
    justify-content: center;
  }
  
  .feather-character-title {
    width: 60px !important;
    height: 60px !important;
    margin-left: 10px;
  }
}

/* Unified Hero Section */
.unified-hero-section {
  padding: 8rem 0 4rem 0;
  background: linear-gradient(135deg, #f8f5f0 0%, #f4e7d1 100%);
  position: relative;
  overflow: hidden;
}

.unified-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(141, 70, 48, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.main-title-card {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 
    0 12px 48px rgba(141, 70, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(141, 70, 48, 0.08);
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.main-title-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 64px rgba(141, 70, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.title-content {
  padding-right: 2rem;
}

.hero-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 600;
  color: #8D4630;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
}

.hero-title::after {
  content: '✦';
  position: absolute;
  right: -2rem;
  top: 0.2rem;
  color: #D4A574;
  font-size: 0.5em;
  opacity: 0.7;
  animation: sparkle 3s ease-in-out infinite;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: #666;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #8D4630;
  background: rgba(141, 70, 48, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(141, 70, 48, 0.15);
  font-weight: 500;
  white-space: nowrap;
}

.side-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 2px solid #f4e7d1;
}

.project-meta .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #D4A574;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #8D4630;
  font-weight: 600;
  line-height: 1.2;
}

.hero-philosophy-quote {
  font-family: 'Crimson Text', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #8D4630;
  line-height: 1.4;
  margin: 0;
  position: relative;
  font-weight: 400;
  opacity: 0.9;
}

.hero-philosophy-quote::before,
.hero-philosophy-quote::after {
  content: '"';
  font-size: 1.2em;
  color: #D4A574;
  opacity: 0.5;
}

.hero-palette {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.palette-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #D4A574;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.colors-row {
  display: flex;
  gap: 0.5rem;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(141, 70, 48, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.08);
  position: relative;
  overflow: visible;
}

.hero-navigation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #f4e7d1, #8D4630, #f4e7d1);
  z-index: 0;
  border-radius: 1px;
}

.nav-step {
  font-family: 'Inter', sans-serif;
  color: #8D4630;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  background: white;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10;
  border: 2px solid #f4e7d1;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 8px rgba(141, 70, 48, 0.08);
}

.nav-step:hover,
.nav-step:focus {
  color: white !important;
  background: #8D4630 !important;
  border-color: #8D4630 !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(141, 70, 48, 0.25) !important;
  text-decoration: none !important;
}

.mission-banner {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem 3rem;
  box-shadow: 0 8px 32px rgba(141, 70, 48, 0.08);
  border: 1px solid rgba(141, 70, 48, 0.06);
}

.mission-statement-text {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #8D4630;
  line-height: 1.5;
  margin: 0;
  position: relative;
  font-weight: 400;
}

.mission-statement-text::before,
.mission-statement-text::after {
  content: '"';
  font-size: 1.3em;
  color: #D4A574;
  opacity: 0.5;
}

.title-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(141, 70, 48, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.title-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.journal-header {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem 2.5rem 2rem;
  box-shadow: 
    0 8px 32px rgba(141, 70, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(141, 70, 48, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.journal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    transparent 0px,
    transparent 10px,
    rgba(141, 70, 48, 0.1) 10px,
    rgba(141, 70, 48, 0.1) 12px
  );
}

.journal-header:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(141, 70, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #8D4630;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.site-title::after {
  content: '✦';
  position: absolute;
  right: -1.5rem;
  top: 0.2rem;
  color: #D4A574;
  font-size: 0.6em;
  opacity: 0.7;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.journal-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.journal-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.preview-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: transparent;
  border-radius: 0;
  border: none;
  transition: all 0.3s ease;
}

.stat-icon {
  font-size: 1rem;
  opacity: 0.8;
}

.stat-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #8D4630;
  font-weight: 500;
}


/* Integrated Project Context Section */
.project-context-section {
  padding: 3rem 0 2.5rem 0;
  background: #fafaf9;
  border-top: 1px solid rgba(141, 70, 48, 0.08);
}

.context-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.unified-context-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 32px rgba(141, 70, 48, 0.08);
  border: 1px solid rgba(141, 70, 48, 0.06);
}

.compact-details {
  flex-shrink: 0;
}

.details-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.detail-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}

.detail-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #D4A574;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.detail-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #8D4630;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.inline-mission {
  text-align: center;
  padding-left: 2rem;
  border-left: 3px solid #f4e7d1;
}

.compact-mission-quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: #8D4630;
  line-height: 1.4;
  margin: 0;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.compact-mission-quote::before,
.compact-mission-quote::after {
  content: '"';
  font-size: 1.3em;
  color: #D4A574;
  opacity: 0.5;
}

/* Paper-Based Design Philosophy Section */
.paper-philosophy-section {
  padding: 2.5rem 0 3.5rem 0;
  background: linear-gradient(135deg, #fdfcfa 0%, #f9f6f0 100%);
  border-top: 1px solid rgba(141, 70, 48, 0.06);
  border-bottom: 1px solid rgba(141, 70, 48, 0.06);
}

.philosophy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.philosophy-quote {
  font-family: 'Crimson Text', serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-style: italic;
  color: #8D4630;
  line-height: 1.6;
  margin: 0;
  padding: 2rem 0;
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(141, 70, 48, 0.08);
  border: 1px solid rgba(141, 70, 48, 0.06);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.philosophy-quote::before {
  content: '"';
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  color: rgba(141, 70, 48, 0.15);
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
  font-weight: 600;
}

.philosophy-quote::after {
  content: '"';
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  color: rgba(141, 70, 48, 0.15);
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  line-height: 1;
  font-weight: 600;
}

@media (max-width: 768px) {
  .paper-philosophy-section {
    padding: 2rem 0 3rem 0;
  }
  
  .philosophy-container {
    padding: 0 1rem;
  }
  
  .philosophy-quote {
    padding: 1.5rem 1rem;
    font-size: 1.125rem;
  }
  
  .philosophy-quote::before,
  .philosophy-quote::after {
    font-size: 3rem;
  }
  
  .philosophy-quote::before {
    top: -0.25rem;
    left: 1rem;
  }
  
  .philosophy-quote::after {
    bottom: -1.25rem;
    right: 1rem;
  }
}
  .project-context-section {
    padding: 2.5rem 0 2rem 0;
  }
  
  .context-container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .unified-context-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .details-row {
    justify-content: center;
    gap: 1rem;
  }
  
  .detail-pill {
    min-width: 70px;
  }
  
  .detail-label {
    font-size: 0.6rem;
  }
  
  .detail-value {
    font-size: 0.85rem;
  }
  
  .inline-mission {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #f4e7d1;
    padding-top: 1.5rem;
  }
  
  .compact-mission-quote {
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .project-details-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mission-quote {
    font-size: 1.125rem;
    padding: 1rem 0;
  }
}

/* Enhanced Line Styling */
.line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8D4630, #D4A574);
  margin: 1.5rem auto 3rem auto;
  border-radius: 2px;
}

.line1 {
  width: 100%; /* Set width to fill the container */
  height: 3px; /* Set height to define the thickness of the rectangle */
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
            ) 0 0 / 200% 100%; /* Adjust the background size */
  animation: move-bg 4s infinite linear;
  --color-one: #8D4630;
  --color-two: #D4A574;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .title-section {
    padding-top: 120px; /* Adjust padding for smaller screens */
  }
}

/* Disable hover effect on mobile */
@media (max-width: 768px) {
  .site-title {
    letter-spacing: normal; /* Remove letter spacing */
  }
  .site-title:hover {
    letter-spacing: 3px; /* Increase letter spacing on hover */
  }

  .title-container {
    padding-left: 20px; /* Some space to the left */
  }
}

/* Project Info Styles */
.project-overview .row { justify-content: center; }
.project-overview .col-md-3, .project-overview .col-md-6 { padding-left: 12px; padding-right: 12px; }
.project-info { text-align: left; margin-bottom: 1.5rem; }

.project-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8D4630;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.project-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.project-about {
  font-family: 'Crimson Text', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #8D4630;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.project-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: #3A4B3A;
  margin-top: 10px;
  font-style: italic;
}

.project-highlights {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3A4B3A;
  font-size: 14px;
  font-weight: 500;
}

.highlight-icon {
  width: 18px;
  height: 18px;
  stroke: #8D4630;
  flex-shrink: 0;
}

/* Project Stats */
.project-stats {
  display: flex;
  gap: 25px;
  margin: 30px auto;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
}

.stat-item {
  text-align: center;
  background: #F8F5F0;
  padding: 20px 15px;
  border-radius: 16px;
  min-width: 100px;
  border: 2px solid #F4E7D1;
  transition: all 0.3s ease;
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(141, 70, 48, 0.1);
  border-color: #D4A574;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #8D4630;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: #3A4B3A;
  font-weight: 500;
  line-height: 1.3;
}

.key-stats-section {
  margin: 50px auto;
}

/* Hero Mockup Section */
.hero-mockup-section {
  padding-top: 0px;
  width: 100%;
  max-width: 320px; /* More appropriate phone size */
  margin: 50px auto 0;
  overflow: hidden;
  position: relative;
}

.hero-mockup-section img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(141, 70, 48, 0.08);
  transition: transform 0.3s ease;
}

.hero-mockup-section:hover img {
  transform: translateY(-5px);
}

/* Color Palette Styles */
.container1 {
  height: 200px;
  width: 700px;
  border-radius: 1em;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(219, 219, 219, 0.1); /* Adjusted opacity */
  font-family: sans-serif;
  margin: 30px auto 0; /* Add margin-top of 30px to create space above */
}

.palette {
  display: flex;
  height: 80px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.1);
  margin: 2rem auto;
}

.color {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.color:hover {
  flex: 1.5;
  transform: translateY(-2px);
}

.color span {
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.color:hover span {
  opacity: 1;
}

/* Nuuko Color Palette */
.color:nth-child(1) {
  background: #8D4630; /* Primary brown */
}

.color:nth-child(2) {
  background: #F4E7D1; /* Warm cream */
  color: #333; /* Dark text for contrast */
}

.color:nth-child(3) {
  background: #3A4B3A; /* Deep forest green */
}

.color:nth-child(4) {
  background: #F8F5F0; /* Soft off-white */
  color: #333; /* Dark text for contrast */
}

.color:nth-child(5) {
  background: #D4A574; /* Warm golden brown */
}

.color:hover {
  flex: 2;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.color:hover span {
  opacity: 1;
}

#stats {
  height: 14%;
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5em;
  box-sizing: border-box;
  color: #616161;
}

#stats svg {
  fill: #616161;
  transform: scale(1.2);
}

/* White Side Sections */
.white-side-section {
  background: #FFFBF4;
  color: rgb(0, 0, 0);
  position: relative;
  overflow: hidden;
  padding: 80px 40px; /* reduced from 120px 50px */
  text-align: center;
  z-index: 0;
  margin: 0;
}

.white-side-title {
  --bg-size: 400%;
  --color-one: #8D4630;
  --color-two: #D4A574;
  font-size: clamp(3rem, 25vmin, 8rem);
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
              ) 0 0 / var(--bg-size) 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: move-bg 4s infinite linear;
  transition: letter-spacing 0.5s ease; /* Add transition for smooth effect */
}

.white-side-title:hover {
  letter-spacing: 2px; /* Subtle letter spacing increase on hover */
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none;
  }
}

.white-side-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 auto 32px auto; /* reduced from 50px */
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #2C2C2C;
  max-width: 900px;
  text-align: center;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.white-side-smalltitle {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 auto 28px auto; /* reduced from 60px */
  color: #8D4630;
  max-width: 900px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.9;
}

.white-side-paragraph {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: 0 auto 40px auto; /* reduced from 90px */
  text-align: center;
  color: #4A4A4A;
  max-width: 800px;
  line-height: 1.8;
  font-weight: 400;
}

.lead-text {
  font-size: 1.3em !important;
  font-weight: 500;
  color: #3A4B3A !important;
  line-height: 1.4;
}

/* Problem Section Enhancements */
.problem-intro {
  margin-bottom: 40px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px auto;
  max-width: 75%;
}

.insight-card {
  background: #F8F5F0;
  padding: 35px 30px;
  border-radius: 16px;
  border: 2px solid #F4E7D1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(141, 70, 48, 0.08);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(141, 70, 48, 0.1);
  border-color: #D4A574;
}

.insight-card.motivation {
  border-left: 4px solid #3A4B3A;
}

.insight-card.barriers {
  border-left: 4px solid #8D4630;
}

.insight-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 15px;
}

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

.insight-list li {
  padding: 12px 0;
  color: #3A4B3A;
  font-size: 1em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.insight-icon {
  width: 20px;
  height: 20px;
  stroke: #3A4B3A;
  flex-shrink: 0;
}

.research-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 70px auto;
  max-width: 70%;
  background: linear-gradient(135deg, #F4E7D1, #F8F5F0);
  padding: 45px;
  border-radius: 20px;
  border: 2px solid #D4A574;
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.08);
}

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

.big-number {
  display: block;
  font-size: 3em;
  font-weight: 800;
  color: #8D4630;
  line-height: 0.9;
}

.highlight-stat p {
  margin-top: 8px;
  color: #3A4B3A;
  font-weight: 500;
  font-size: 1.1em;
}

.highlight-arrow {
  font-size: 2em;
  color: #D4A574;
  font-weight: bold;
}

/* Design Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin: 80px auto;
  max-width: 90%;
}

.principle-card {
  background: #F8F5F0;
  padding: 45px 35px;
  border-radius: 20px;
  border: 2px solid #F4E7D1;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(141, 70, 48, 0.12);
}

.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(141, 70, 48, 0.15);
  border-color: #D4A574;
}

.principle-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D4A574;
  border-radius: 15px;
  padding: 15px;
}

.principle-icon svg {
  width: 30px;
  height: 30px;
  stroke: #F8F5F0;
  stroke-width: 2.5;
}

.principle-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #3A4B3A;
  margin-bottom: 15px;
}

.principle-description {
  color: #252525;
  font-size: 1.05em;
  line-height: 1.6;
  margin: 0;
}

.design-philosophy {
  margin: 80px auto;
  max-width: 80%;
}

.philosophy-quote {
  background: #3A4B3A;
  color: #F8F5F0;
  padding: 40px 50px;
  border-radius: 25px;
  font-size: 1.4em;
  line-height: 1.8;
  text-align: center;
  margin: 0;
  font-style: italic;
  position: relative;
  box-shadow: 0 12px 40px rgba(58, 75, 58, 0.3);
}

.philosophy-quote::before {
  content: '"';
  font-size: 3em;
  position: absolute;
  top: -10px;
  left: 20px;
  color: #D4A574;
  line-height: 1;
}

/* Features Showcase */
.features-showcase {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 40px;
}

.feature-section {
  background: transparent;
  padding: 50px 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid #E8E8E8;
  transition: none;
}

.feature-section:last-child {
  border-bottom: none;
}

.feature-header {
  display: flex;
  align-items: baseline;
  gap: 30px;
  margin-bottom: 25px;
}

.feature-number {
  background: transparent;
  color: #8D4630;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-weight: 300;
  font-size: 3rem;
  flex-shrink: 0;
  opacity: 0.4;
}

.feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #2C2C2C;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-description {
  color: #4A4A4A;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
}

.feature-benefit {
  background: transparent;
  padding: 0;
  border: none;
  border: 1px solid #D4A574;
}

.benefit-label {
  font-weight: 600;
  color: #8D4630;
}

.feature-benefit {
  font-size: 0.95em;
  color: #3A4B3A;
}

/* Image Styles */
.images-container {
  text-align: center;
  margin: 40px auto; /* reduced from 80px */
  max-width: 1300px;
  padding: 0 30px;
}

/* Single Image Display */
.memory-image {
  width: 100%;
  max-width: 800px; /* Reduced from 1000px to make standalone images a bit smaller */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(141, 70, 48, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  margin: 0 auto;
}

.memory-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(141, 70, 48, 0.25);
}

.memory-image.enhanced {
  border: 4px solid #F4E7D1;
  box-shadow: 0 15px 45px rgba(141, 70, 48, 0.18);
}

/* Feedback Analysis Cards */
.feedback-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  align-items: stretch;
}

.feedback-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.feedback-card.loves {
  border-left-color: #28a745;
}

.feedback-card.frustrates {
  border-left-color: #dc3545;
}

.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feedback-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feedback-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feedback-card.loves .feedback-icon {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.feedback-card.frustrates .feedback-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.feedback-icon svg {
  width: 24px;
  height: 24px;
}

.feedback-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C2C2C;
  margin: 0;
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.feedback-list li {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #4A4A4A;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.feedback-list li:before {
  content: "•";
  color: #8D4630;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.feedback-list li:last-child {
  margin-bottom: 0;
}

/* Core Challenge Section */
.core-challenge-section {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #8D4630;
  text-align: center;
}

.challenge-title {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2C2C2C;
  margin-bottom: 1.5rem;
}

.challenge-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4A4A4A;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* Title Feather Character */
.feather-character-title {
  width: 72px;
  height: 72px;
  vertical-align: middle;
  margin-left: 16px;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.feather-character-title:hover {
  opacity: 1;
  transform: scale(1.15);
  animation-play-state: paused;
}

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

/* Prototype Preview Styling */
.prototype-preview {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.prototype-screenshot {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.prototype-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.prototype-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 600px;
}

.prototype-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prototype-screenshot:hover .prototype-overlay {
  opacity: 1;
}

.play-button {
  transition: transform 0.3s ease;
}

.prototype-screenshot:hover .play-button {
  transform: scale(1.1);
}

.prototype-link {
  display: inline-block;
  margin: 1.5rem 0;
  padding: 1rem 2rem;
  background: #8D4630;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(141, 70, 48, 0.3);
}

.prototype-link:hover {
  background: #6B3524;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(141, 70, 48, 0.4);
  color: white;
  text-decoration: none;
}

.prototype-info {
  background: rgba(248, 245, 240, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.prototype-description-enhanced {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #4A4A4A;
  margin: 0;
}

/* Dual Image Layout for Portrait Images */
.images-container.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 40px auto; /* reduced from 80px */
  max-width: 1300px;
  padding: 0 30px;
}

.images-container.dual .memory-image {
  max-width: 100%;
  margin: 0;
}

.images-container.dual .image-caption {
  grid-column: 1 / -1;
  margin-top: 30px;
}

/* Triple Image Layout */
.images-container.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.images-container.triple .memory-image {
  max-width: 100%;
  margin: 0;
}

.images-container.triple .image-caption {
  grid-column: 1 / -1;
  margin-top: 25px;
}

.image-caption {
  font-size: 1.05em;
  color: #8D4630;
  text-align: center;
  margin-top: 25px;
  font-style: italic;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Side Image Styles for Process Layouts */
.side-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(141, 70, 48, 0.12);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.side-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(141, 70, 48, 0.18);
}

/* Image Orientation Classes */
.memory-image.portrait {
  max-width: 400px;
}

.memory-image.landscape {
  max-width: 900px;
}

.memory-image.square {
  max-width: 600px;
}

/* Enhanced Image Container for Better Spacing */
.images-container.featured {
  margin: 80px auto;
}

.images-container.compact {
  margin: 40px auto;
}

/* Image Grid with Better Proportions */
.images-container.dual .memory-image.portrait {
  max-width: 350px;
}

.images-container.triple .memory-image {
  max-width: 350px;
}

/* Subtle Image Variations */
.memory-image.subtle {
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.08);
}

.memory-image.subtle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(141, 70, 48, 0.12);
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  .white-side-section {
    padding: 64px 24px; /* slightly tighter on mobile */
  }

  .white-side-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 35px;
  }

  .white-side-smalltitle {
    font-size: clamp(1.3rem, 5vw, 1.9rem);
    margin-bottom: 40px;
  }

  .white-side-paragraph {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 60px;
  }

  .images-container {
    margin: 32px auto; /* tighter */
    padding: 0 20px;
  }

  .images-container.dual {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .images-container.triple {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Tablet responsive for triple image layout */
@media (max-width: 1024px) and (min-width: 769px) {
  .images-container.triple {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .memory-image {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(141, 70, 48, 0.15);
  }

  .memory-image.enhanced {
    border: 3px solid #F4E7D1;
  }

  .side-image {
    max-width: 100%;
    border-radius: 16px;
  }

  .image-caption {
    font-size: 1em;
    margin-top: 20px;
    padding: 0 15px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px auto;
  }

  .principle-card {
    padding: 30px 25px;
  }

  .design-philosophy {
    margin: 60px auto;
    max-width: 95%;
  }

  .philosophy-quote {
    padding: 30px 35px;
    font-size: 1.2em;
  }
}

/* Iframe and Table Placeholders */
.iframe-placeholder {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.iframe-container {
  width: 100%;
  height: 400px;
  border: none;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
}

.carousel-slide {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.carousel-button:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #8D4630;
  transform: scale(1.2);
}

/* Responsive adjustments */
  @media (max-width: 768px) {
    .white-side-section {
      padding: 64px 20px;
    }

    .hero-mockup-section {
      max-width: 280px;
      margin: 40px auto 0;
    }

    .white-side-title {
      max-width: 100%;
      margin-bottom: 40px;
      white-space: normal;
      overflow: visible;
    }

    .white-side-smalltitle {
      max-width: 100%;
      white-space: normal;
      overflow: visible;
    }

    .white-side-paragraph {
      max-width: 100%;
      text-align: left;
      padding: 0 10px;
      margin-bottom: 60px;
    }

  .carousel-button {
    width: 32px;
    height: 32px;
  }
  
  .carousel-container {
    margin: 20px auto;
  }

  /* Mobile responsive for new components */
  .project-stats {
    gap: 15px;
    max-width: 100%;
    flex-direction: column;
  }

  .stat-item {
    min-width: auto;
    padding: 18px 15px;
    flex: none;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .key-stats-section {
    margin: 40px auto;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 25px;
    margin: 40px auto;
  }

  .insight-card {
    padding: 25px 20px;
  }

  .insight-icon {
    width: 18px;
    height: 18px;
  }

  .research-highlight {
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    padding: 20px;
  }

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

  .big-number {
    font-size: 2.5em;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 25px;
    margin: 40px auto;
  }

  .principle-card {
    padding: 25px 20px;
  }

  .principle-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .principle-icon svg {
    width: 20px;
    height: 20px;
  }

  .design-philosophy,
  .features-showcase {
    max-width: 90%;
  }

  .philosophy-quote {
    padding: 20px;
    font-size: 1.1em;
  }

  .philosophy-quote::before {
    font-size: 2.5em;
    left: 15px;
  }

  .feature-section {
    padding: 20px;
  }

  .feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .feature-number {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .feature-title {
    font-size: 1.2em;
  }

  .white-side-title {
    max-width: 90%;
    margin-left: 5%;
  }

  .white-side-smalltitle {
    max-width: 90%;
    margin-left: 5%;
  }

  .white-side-paragraph {
    max-width: 90%;
    margin-left: 5%;
    text-align: left;
  }

  .lead-text {
    font-size: 1.2em !important;
  }
}

/* Project Title Styles */
.project-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5em;
}

.project-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 1em;
}

/* Market Analysis Section */
.market-analysis-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.feedback-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 60px auto;
  max-width: 900px;
}

.feedback-column {
  background: transparent;
  padding: 0;
  border: none;
  transition: none;
}

.feedback-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #2C2C2C;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feedback-title.positive::before {
  content: "What Users ";
  color: #3A4B3A;
}

.feedback-title.negative::before {
  content: "What Users ";
  color: #8D4630;
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.feedback-list li {
  position: relative;
  padding: 15px 0;
  margin-bottom: 0;
  color: #4A4A4A;
  font-size: 1.1rem;
  line-height: 1.6;
  border-bottom: 1px solid #F0F0F0;
}

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

.feedback-list li::before {
  display: none;
}

.image-caption {
  font-size: 0.9em;
  color: #8D4630;
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

/* Content with Image Layouts */
.content-with-image-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 5rem auto;
  max-width: 1200px;
  padding: 0 20px;
  align-items: start;
  justify-items: center;
}

.content-column {
  padding-right: 2rem;
  justify-self: start;
  width: 100%;
}

.image-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Subsection Titles and Lists */
.subsection-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #8D4630;
  margin: 20px 0 10px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.feature-list li {
  padding: 8px 0 8px 20px;
  color: #3A4B3A;
  position: relative;
  line-height: 1.4;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #D4A574;
  font-weight: bold;
}

/* Key Insight Callout */
.key-insight-callout {
  background: linear-gradient(135deg, #F4E7D1, #F8F5F0);
  padding: 35px 40px;
  border-radius: 18px;
  border-left: 6px solid #8D4630;
  margin: 50px auto;
  max-width: 75%;
  box-shadow: 0 6px 25px rgba(141, 70, 48, 0.12);
  position: relative;
}

.insight-callout-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #8D4630;
  margin-bottom: 15px;
}

.insight-callout-text {
  color: #3A4B3A;
  font-size: 1.1em;
  line-height: 1.7;
  margin: 0;
}

/* Research Synthesis Section */
.research-synthesis-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.key-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 80px auto;
  max-width: 1000px;
}

.insight-block.primary {
  background: transparent;
  padding: 0;
  border: none;
  transition: none;
  position: relative;
  display: block;
  text-align: center;
}

.insight-number {
  background: transparent;
  color: #8D4630;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-weight: 300;
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.insight-block.primary .insight-block-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2C2C2C;
  margin-bottom: 15px;
  line-height: 1.3;
  white-space: normal;
}

.insight-block.primary .insight-block-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4A4A;
  margin: 0;
  font-weight: 400;
}

/* Research Insights Layout */
.research-insights-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin: 60px auto;
  max-width: 90%;
  align-items: start;
}

.insights-text {
  padding-right: 20px;
}

.insights-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insight-blocks {
  margin-top: 30px;
}

.insight-block {
  margin-bottom: 25px;
  padding: 20px;
  background: #F8F5F0;
  border-radius: 12px;
  border-left: 3px solid #D4A574;
}

.insight-block-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #8D4630;
  margin-bottom: 10px;
}

.insight-block-text {
  color: #3A4B3A;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

/* Process Stages */
.process-overview {
  margin-bottom: 50px;
}

.process-stage {
  margin-bottom: 50px;
}

.process-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.process-content-layout.reverse {
  grid-template-columns: 1fr 1fr;
}

.process-content-layout.reverse .process-text {
  order: 2;
}

.process-content-layout.reverse .process-image {
  order: 1;
}

.process-text {
  padding-right: 30px;
}

.process-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.process-stage-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #8D4630;
  margin-bottom: 15px;
}

.process-description {
  color: #3A4B3A;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-decisions,
.process-validation,
.process-learnings {
  background: #F8F5F0;
  padding: 20px;
  border-radius: 12px;
  border-left: 3px solid #3A4B3A;
  margin-top: 20px;
}

.decisions-title,
.validation-title,
.learnings-title {
  font-size: 1em;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 10px;
}

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

.decisions-list li {
  padding: 5px 0 5px 20px;
  color: #3A4B3A;
  position: relative;
  line-height: 1.4;
}

.decisions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8D4630;
  font-weight: bold;
}

.validation-text,
.learnings-text {
  color: #3A4B3A;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

/* Related Projects Section */
#projects {
  background-color: #fff;
  padding: 50px 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 140px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.description-text {
  font-size: 0.9rem;
  color: #3A4B3A;
  line-height: 1.4;
  flex-grow: 1;
}

/* Reflection Section */
.reflection-intro {
  margin-bottom: 40px;
}

.reflection-insights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 70%;
  margin: 40px auto;
}

.reflection-card {
  background: #F8F5F0;
  padding: 25px;
  border-radius: 16px;
  border-left: 4px solid #3A4B3A;
  transition: all 0.3s ease;
}

.reflection-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(58, 75, 58, 0.1);
}

.reflection-subtitle {
  font-size: 1.2em;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 12px;
}

.reflection-text {
  color: #3A4B3A;
  font-size: 1.05em;
  line-height: 1.6;
  margin: 0;
}

.final-thought {
  margin: 50px auto;
  max-width: 70%;
  background: linear-gradient(135deg, #F4E7D1, #F8F5F0);
  padding: 25px;
  border-radius: 16px;
  border: 2px solid #D4A574;
}

.personal-note {
  margin: 50px auto;
  max-width: 70%;
}

.personal-quote {
  background: #8D4630;
  color: #F8F5F0;
  padding: 25px 30px;
  border-radius: 16px;
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  font-style: italic;
  position: relative;
}

.personal-quote::before {
  content: '"';
  font-size: 3em;
  position: absolute;
  top: -10px;
  left: 20px;
  color: #F4E7D1;
  line-height: 1;
}

/* Additional mobile responsiveness for reflection */
@media (max-width: 768px) {
  .reflection-insights {
    max-width: 90%;
    gap: 20px;
  }

  .reflection-card {
    padding: 20px;
  }

  .final-thought,
  .personal-note {
    max-width: 90%;
  }

  .personal-quote {
    padding: 20px;
    font-size: 1em;
  }

  .personal-quote::before {
    font-size: 2.5em;
    left: 15px;
  }

      /* Mobile responsiveness for new layouts */
    .research-synthesis-section,
    .market-analysis-section,
    .features-showcase {
      padding: 0 20px;
    }

    .key-insights-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      margin: 60px auto;
    }

    .insight-number {
      font-size: 3rem;
    }

    .insight-block.primary .insight-block-title {
      font-size: 1.3rem;
      white-space: normal;
      overflow: visible;
      text-overflow: none;
    }

    .insight-block.primary .insight-block-text {
      font-size: 1rem;
    }

    .feedback-analysis-grid {
      grid-template-columns: 1fr;
      gap: 60px;
      margin: 60px auto;
    }

    .feedback-title {
      font-size: 1.5rem;
      white-space: normal;
      overflow: visible;
      text-overflow: none;
    }

    .feedback-list li {
      font-size: 1rem;
      padding: 12px 0;
    }

    .feature-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }

    .feature-number {
      font-size: 2.5rem;
    }

.feature-title {
      font-size: 1.4rem;
      white-space: normal;
      overflow: visible;
      text-overflow: none;
    }

  .content-with-image-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
    margin: 40px auto;
  }

  .content-column {
    padding-right: 0;
  }

  .research-insights-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
    margin: 40px auto;
  }

  .insights-text {
    padding-right: 0;
  }

  .process-content-layout,
  .process-content-layout.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
    max-width: 90%;
  }

  .process-content-layout.reverse .process-text,
  .process-content-layout.reverse .process-image {
    order: initial;
  }

  .process-text {
    padding-right: 0;
  }

  .side-image {
    max-width: 100%;
  }

  .key-insight-callout {
    max-width: 90%;
    padding: 25px 20px;
    margin: 40px auto;
  }

  .process-decisions,
  .process-validation,
  .process-learnings {
    padding: 15px;
  }

  .insight-block {
    padding: 15px;
  }
}

/* Character Exploration Section */
.character-exploration-content {
  margin-top: 40px;
}

.exploration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.exploration-card {
  background: #F8F5F0;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #E5DCC8;
}

.exploration-title {
  font-size: 20px;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 15px;
}

.exploration-text {
  font-size: 16px;
  line-height: 1.6;
  color: #5A5A5A;
  margin: 0;
}

/* Metaphor Exploration Section */
.metaphor-exploration-content {
  margin-top: 40px;
}

.metaphor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.metaphor-card {
  background: #F8F5F0;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #E5DCC8;
}

.metaphor-title {
  font-size: 20px;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 15px;
}

.metaphor-text {
  font-size: 16px;
  line-height: 1.6;
  color: #5A5A5A;
  margin: 0;
}

/* Responsive Image Sizing System */
.images-container {
  max-height: 85vh; /* Increased container height to accommodate shadows */
  overflow: visible; /* Allow shadows to show */
  display: flex;
  flex-direction: column; /* stack image and caption vertically */
  align-items: center;
  justify-content: center;
  padding: 40px; /* Increased padding to accommodate shadows */
  margin: 20px 0; /* Add margin to prevent shadow clipping */
  position: relative; /* Ensure proper stacking context */
}

/* Ensure parent sections don't clip shadows */
.white-side-section {
  overflow: visible; /* Allow shadows to extend beyond section boundaries */
}

.hero-mockup-section {
  overflow: visible; /* Allow shadows to extend beyond section boundaries */
}

.memory-image,
.memory-image.enhanced {
  max-height: 75vh; /* Increased to 75% of viewport height */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); /* Ensure shadow is visible */
}

.side-image {
  max-height: 60vh; /* Maximum 60% of viewport height for side images */
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Dual layout images should be smaller */
.images-container.dual .memory-image {
  max-height: 50vh; /* Maximum 50% of viewport height for dual layout */
}

/* Triple layout images should be even smaller */
.images-container.triple .memory-image {
  max-height: 40vh; /* Maximum 40% of viewport height for triple layout */
}

/* Carousel images */
.carousel-slide img {
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .exploration-grid,
  .metaphor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .exploration-card,
  .metaphor-card {
    padding: 20px;
  }

  .exploration-title,
  .metaphor-title {
    font-size: 18px;
  }

  .exploration-text,
  .metaphor-text {
    font-size: 14px;
  }

  /* Enhanced mobile image sizing and container fixes */
  .images-container {
    padding: 20px; /* Better mobile padding */
    margin: 20px auto;
    max-width: 100%;
    overflow: hidden;
  }

  .images-container.dual {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .images-container.triple {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .memory-image,
  .memory-image.enhanced {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(141, 70, 48, 0.12);
  }

  /* Fix navigation spacing */
  .hero-navigation {
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .nav-step {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .memory-image,
  .memory-image.enhanced {
    max-height: 65vh; /* Increased on mobile for better visibility */
  }

  .side-image {
    max-height: 50vh; /* Smaller on mobile */
  }

  .images-container.dual .memory-image {
    max-height: 45vh; /* Smaller dual images on mobile */
  }

  .carousel-slide img {
    max-height: 50vh; /* Smaller carousel images on mobile */
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .images-container {
    padding: 25px; /* Adequate padding for shadows on small mobile */
    margin: 10px 0;
  }

  .memory-image,
  .memory-image.enhanced {
    max-height: 60vh; /* Increased for better visibility on small mobile */
  }

  .side-image {
    max-height: 40vh;
  }

  .images-container.dual .memory-image {
    max-height: 35vh;
  }

  .carousel-slide img {
    max-height: 40vh;
  }
}

/* Image Zoom Overlay Styles */
.image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-zoom-overlay.active {
  opacity: 1;
  visibility: visible;
}

.zoom-container {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.zoomed-image {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.zoom-close {
  position: fixed; /* was absolute; keep consistent placement */
  top: 24px; /* move within viewport */
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #333;
  z-index: 10000;
}

.zoom-close:hover {
  background: white;
  transform: scale(1.1);
}

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

/* Mobile responsive for zoom overlay */
@media (max-width: 768px) {
  .zoom-container {
    max-width: 95vw;
    max-height: 85vh;
    padding: 15px;
  }
  
  .zoomed-image {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  .zoom-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
  
  .zoom-close svg {
    width: 18px;
    height: 18px;
  }
}

/* User Quotes Section Styles */
.quotes-category {
  margin: 60px auto;
  max-width: 1200px;
}

.quotes-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #3A4B3A;
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.category-icon {
  width: 28px;
  height: 28px;
  stroke: #8D4630;
  flex-shrink: 0;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.quote-bubble {
  background: #F8F5F0;
  padding: 25px 30px;
  border-radius: 25px;
  border: 2px solid #F4E7D1;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(141, 70, 48, 0.08);
}

.quote-bubble::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #F4E7D1;
}

.quote-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 31px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid #F8F5F0;
}

.quote-bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(141, 70, 48, 0.15);
  border-color: #D4A574;
}

.quote-bubble.frustration {
  border-left: 4px solid #8D4630;
}

.quote-bubble.dream {
  border-left: 4px solid #3A4B3A;
}

.quote-bubble p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3A4B3A;
  font-style: italic;
}

.research-insight {
  margin: 80px auto;
  max-width: 900px;
}

.insight-highlight {
  background: linear-gradient(135deg, #F4E7D1, #F8F5F0);
  padding: 40px 50px;
  border-radius: 20px;
  border: 2px solid #D4A574;
  text-align: center;
  box-shadow: 0 8px 30px rgba(141, 70, 48, 0.12);
}

.insight-highlight-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8D4630;
  margin-bottom: 20px;
}

.insight-highlight-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #3A4B3A;
  margin: 0;
  font-weight: 500;
}

/* Scroll animations for enhanced UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.white-side-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced focus states for accessibility */
.memory-image:focus,
.quote-bubble:focus,
.carousel-button:focus {
  outline: 2px solid #8D4630;
  outline-offset: 4px;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Enhanced loading states */
.memory-image {
  background: linear-gradient(90deg, #F8F5F0 25%, rgba(248, 245, 240, 0.5) 50%, #F8F5F0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.memory-image[src]:not([src=""]) {
  animation: none;
  background: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Mobile responsive for quotes section */
@media (max-width: 768px) {
  .quotes-category {
    margin: 40px auto;
  }

  .quotes-category-title {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }

  .category-icon {
    width: 24px;
    height: 24px;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
}

/* Tablet responsive for quotes grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
  }

  .quote-bubble {
    padding: 20px 25px;
    border-radius: 20px;
  }

  .quote-bubble::before {
    left: 25px;
  }

  .quote-bubble::after {
    left: 26px;
  }

  .quote-bubble p {
    font-size: 1rem;
  }

  .research-insight {
    margin: 60px auto;
    max-width: 95%;
  }

  .insight-highlight {
    padding: 30px 25px;
  }

  .insight-highlight-title {
    font-size: 1.3rem;
  }

  .insight-highlight-text {
    font-size: 1.1rem;
  }

  .project-highlights {
    margin-top: 20px;
    gap: 12px;
  }

  .highlight-item {
    font-size: 13px;
  }

  .highlight-icon {
    width: 16px;
    height: 16px;
  }
}

/* Timeline Navigation Styles - Bulletproof Hover */
.quick-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.08);
  position: relative;
  overflow: visible;
}

.quick-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #f4e7d1, #8D4630, #f4e7d1);
  z-index: 0;
  border-radius: 1px;
}

.quick-nav .nav-link {
  font-family: 'Inter', sans-serif;
  color: #8D4630;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  background: white;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10;
  border: 2px solid #f4e7d1;
  cursor: pointer;
  display: inline-block;
  min-width: auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(141, 70, 48, 0.08);
}

.quick-nav .nav-link:hover,
.quick-nav .nav-link:focus {
  color: white !important;
  background: #8D4630 !important;
  border-color: #8D4630 !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(141, 70, 48, 0.25) !important;
  text-decoration: none !important;
}

.quick-nav .nav-link:active {
  transform: translateY(-1px) scale(1.02);
}

.quick-nav .nav-link.active {
  background: #8D4630 !important;
  color: white !important;
  border-color: #8D4630 !important;
  box-shadow: 0 4px 16px rgba(141, 70, 48, 0.2);
}

/* Mobile responsive for quick nav */
@media (max-width: 768px) {
  .quick-nav {
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
  flex-wrap: wrap;
}

  .quick-nav::before {
    width: calc(100% - 3rem);
}

.quick-nav .nav-link {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    min-width: auto;
  }
  
  .quick-nav .nav-link:hover,
  .quick-nav .nav-link:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(141, 70, 48, 0.2) !important;
  }
}

/* Redesign Section Styles */
.before-after-section {
  margin: 40px 0;
}

.redesign-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

.redesign-column {
  background: rgba(248, 245, 240, 0.3);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(141, 70, 48, 0.1);
}

.redesign-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8D4630;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.redesign-icon {
  width: 24px;
  height: 24px;
  color: #8D4630;
}

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

.redesign-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(141, 70, 48, 0.1);
  color: #555;
  line-height: 1.6;
}

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

.result-highlight {
  background: linear-gradient(135deg, rgba(58, 75, 58, 0.1), rgba(212, 165, 116, 0.1));
  padding: 30px;
  border-radius: 16px;
  border-left: 4px solid #3A4B3A;
  margin-top: 30px;
}

.result-title {
  color: #3A4B3A;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.result-text {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive for Redesign Section */
@media (max-width: 768px) {
  .redesign-breakdown {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .redesign-column {
    padding: 25px;
  }
  
  .redesign-subtitle {
    font-size: 16px;
  }
  
  .result-highlight {
    padding: 25px;
  }
  
  .result-title {
    font-size: 18px;
  }
}

/* Hero Image Styles */
.hero-main {
  max-height: none;
  margin: 40px auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-image {
  max-height: none;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  box-shadow: 0 20px 60px rgba(141, 70, 48, 0.2);
  border-radius: 16px;
}

/* Early Web Prototype Styles */
.prototype-features {
  margin: 30px 0;
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  color: #555;
  font-size: 16px;
  border-bottom: 1px solid rgba(141, 70, 48, 0.1);
}

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

.feature-icon {
  width: 24px;
  height: 24px;
  color: #8D4630;
  flex-shrink: 0;
}

.prototype-container {
  background: rgba(248, 245, 240, 0.3);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(141, 70, 48, 0.1);
  margin: 40px 0;
}

.prototype-title {
  color: #8D4630;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.prototype-description {
  color: #555;
  margin-bottom: 25px;
  font-size: 16px;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(141, 70, 48, 0.15);
  margin: 20px 0;
}

.prototype-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.prototype-note {
  text-align: center;
  margin-top: 20px;
}

.prototype-link {
  color: #8D4630;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  border: 2px solid #8D4630;
  border-radius: 25px;
  background: transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

.prototype-link:hover {
  color: #F8F5F0;
  background: #8D4630;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(141, 70, 48, 0.3);
}

.prototype-troubleshoot {
  margin-top: 20px;
  padding: 15px;
  background: rgba(141, 70, 48, 0.05);
  border-radius: 8px;
  border-left: 3px solid #8D4630;
}

.troubleshoot-text {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* End-of-Month Insights Styles */
.insights-breakdown {
  margin: 40px 0;
}

.insights-subtitle {
  color: #8D4630;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.insight-point {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: rgba(248, 245, 240, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(141, 70, 48, 0.1);
}

.insight-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(141, 70, 48, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-point .insight-icon {
  width: 24px;
  height: 24px;
  color: #8D4630;
}

.insight-content {
  flex: 1;
}

.insight-title {
  color: #8D4630;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.insight-text {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .hero-image {
    max-height: 70vh;
  }
  
  .prototype-container {
    padding: 30px;
  }
  
  .iframe-container {
    height: 400px;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .insight-point {
    padding: 20px;
  }
  
  .insight-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .insight-point .insight-icon {
    width: 20px;
    height: 20px;
  }
}

/* Fix principle cards grid and sizing */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.principle-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(141, 70, 48, 0.08);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(141, 70, 48, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(141, 70, 48, 0.15);
}

.principle-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #8D4630, #D4A574);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(141, 70, 48, 0.2);
}

.principle-icon svg {
  width: 28px;
  height: 28px;
}

.principle-title {
  font-family: 'Crimson Text', serif;
  color: #8D4630;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.principle-description {
  font-family: 'Inter', sans-serif;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

/* Remove borders from final app mockup images */
.redesign-section .memory-image,
.before-after-section .memory-image {
  border: none !important;
  box-shadow: 0 15px 40px rgba(141, 70, 48, 0.15) !important;
}

/* Enhanced Image Display System */
.images-container {
  max-width: 1000px;
  width: 100%;
  margin: 3rem auto;
  overflow: visible;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.images-container.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 3rem auto;
}

.images-container.dual .memory-image {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

.memory-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(141, 70, 48, 0.12);
  transition: all 0.3s ease;
  background: white;
  padding: 4px;
}

.memory-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(141, 70, 48, 0.18);
}

/* Slightly smaller standalone images (not in dual/triple grids) */
.images-container:not(.dual):not(.triple) .memory-image {
  max-width: 720px;
}

/* Image captions styling */
.image-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
  padding: 0 20px;
  font-style: italic;
  line-height: 1.5;
}

/* Specific sizing for different image types */
.enhanced {
  border: 1px solid rgba(141, 70, 48, 0.1);
}

/* Make wireframes and storyboards more readable */
.images-container.dual .memory-image {
  max-height: 60vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .principle-card {
    padding: 25px;
    min-height: 180px;
  }
  
  .images-container {
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
  }
  
  .images-container.dual {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .images-container.dual .memory-image {
    max-height: 50vh;
  }
}

/* Prevent horizontal scrolling - Global fixes */
.carousel-container,
.prototype-container,
.title-container {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.carousel-wrapper {
  max-width: 100%;
  overflow: hidden;
}

/* Ensure all sections stay within viewport */
.white-side-section,
.hero-mockup-section,
section {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

/* Fix any text containers that might overflow */
.white-side-paragraph,
.white-side-title,
.lead-text {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure grids don't overflow */
.principles-grid,
.insights-grid,
.redesign-breakdown,
.metaphor-grid,
.exploration-grid {
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix Bootstrap containers to prevent overflow */
.container {
  max-width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.row {
  margin-left: -15px !important;
  margin-right: -15px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Mobile fixes for Bootstrap */
@media (max-width: 768px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }
}

/* Enhanced Section Spacing and Visual Rhythm */
.white-side-section {
  padding: 5rem 2rem;
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.white-side-section + .white-side-section {
  margin-top: 2rem;
}

.white-side-section:first-of-type {
  padding-top: 3rem;
}

.line1 {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8D4630, #D4A574);
  margin: 1rem auto 3rem auto;
  border-radius: 2px;
}

.container1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Enhanced Typography Hierarchy */
.white-side-title {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #8D4630;
  text-align: center;
  max-width: 100%;
  margin: 0 auto 2rem auto;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.white-side-smalltitle {
  font-family: 'Crimson Text', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #8D4630;
  text-align: center;
  max-width: 100%;
  margin: 3rem auto 1.5rem auto;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.white-side-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  max-width: 760px;
  margin: 0 auto 1.5rem auto;
  padding: 0 20px;
  text-align: left;
  box-sizing: border-box;
}

.lead-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  max-width: 840px;
  margin: 0 auto 2rem auto;
  padding: 0 20px;
  text-align: left;
  box-sizing: border-box;
}

/* Mobile typography and spacing adjustments */
@media (max-width: 768px) {
  .white-side-section {
    padding: 3rem 15px;
  }
  
  .white-side-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .white-side-smalltitle {
    font-size: 1.5rem;
    margin: 2rem auto 1rem auto;
  }
  
  .white-side-paragraph {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 1.25rem;
  }
  
  .lead-text {
    font-size: 1.125rem;
    padding: 0 15px;
    margin-bottom: 1.5rem;
  }
  
  .line1 {
    margin: 0.75rem auto 2rem auto;
  }
  
  /* Mobile unified hero adjustments */
  .unified-hero-section {
    padding: 6rem 0 3rem 0 !important;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .main-title-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .title-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3rem) !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .features-pills {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .feature-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .side-content {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #f4e7d1;
    padding-top: 2rem;
  }
  
  .project-meta .meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .hero-philosophy-quote {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .hero-palette {
    align-items: center;
  }
  
  .colors-row {
    justify-content: center;
  }
  
  .hero-navigation {
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .nav-step {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .mission-banner {
    padding: 1.5rem 2rem;
  }
  
  .mission-statement-text {
    font-size: 1.1rem;
  }
  
  .site-title {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    margin-bottom: 0.75rem;
  }
  
  .journal-subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .journal-preview {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .preview-stat {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .line {
    width: 40px !important;
    margin: 1rem auto 1.5rem auto !important;
  }
  
  
  /* Mobile dual image adjustments */
  .images-container.dual {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 90%;
  }
  
  .images-container.dual .memory-image {
    max-height: none;
    object-fit: contain;
  }
}

/* Enhanced Quote Styling */
.quote-bubble {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid #8D4630;
  box-shadow: 0 4px 16px rgba(141, 70, 48, 0.08);
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.quote-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141, 70, 48, 0.12);
}

.quote-bubble p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Enhanced Stats Display */
.stat-number {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #8D4630;
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Philosophy Quote Styling */
.philosophy-quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #8D4630;
  text-align: center;
  font-style: italic;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(248, 245, 240, 0.3);
  border-radius: 16px;
  border-left: 4px solid #D4A574;
}

/* Prototype Videos Styling */
.prototype-videos-section { margin: 4rem 0; text-align: center; }

.videos-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 980px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.video-item { background: transparent; border-radius: 16px; padding: 0; box-shadow: none; overflow: hidden; }

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(141, 70, 48, 0.18);
}

.prototype-video { width: 100%; height: auto; border-radius: 16px; display: block; }

.video-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .videos-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 90%;
  }
  
  .video-item {
    padding: 1rem;
  }
}

/* Enhanced Design Process Section */
.process-step {
  margin: 4rem 0;
  text-align: center;
}

/* Final wireframes grid - two rows, smaller images */
.final-wireframes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  align-items: start;
}

.final-wireframes-grid .memory-image {
  max-width: 300px;
  margin: 0 auto;
}

.final-wireframes-grid .image-caption {
  margin-top: 10px;
}

@media (max-width: 992px) {
  .final-wireframes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .final-wireframes-grid {
    grid-template-columns: 1fr;
  }
}

.process-step:first-child {
  margin-top: 2rem;
}

.process-step h4 {
  margin-bottom: 1.5rem;
}

.process-step p {
  margin-bottom: 2rem;
}

/* Enlarged wireframes for better visibility */
.enlarged-wireframes {
  max-width: 1200px;
  margin: 3rem auto;
}

.enlarged-wireframes .memory-image {
  max-height: 600px;
  object-fit: contain;
}

/* Process decisions styling */
.process-decisions {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid #8D4630;
  margin: 2rem auto;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(141, 70, 48, 0.08);
}

.decisions-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  color: #8D4630;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.decisions-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.decisions-list li::before {
  content: '✓';
  color: #8D4630;
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  /* Feedback cards mobile responsiveness */
  .feedback-analysis-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem auto;
  }
  
  .feedback-card {
    padding: 1.5rem;
  }
  
  .feedback-title {
    font-size: 1.25rem;
  }
  
  .feedback-list li {
    font-size: 0.95rem;
  }
  
  /* Core Challenge mobile responsiveness */
  .core-challenge-section {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }
  
  .challenge-title {
    font-size: 1.75rem;
  }
  
  .challenge-text {
    font-size: 1rem;
  }
  
  /* Prototype preview mobile responsiveness */
  .prototype-preview {
    margin: 1.5rem auto;
  }
  
  .prototype-image {
    max-width: 100%;
  }
  
  .prototype-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .prototype-info {
    padding: 1rem;
  }
  
  .prototype-description-enhanced {
    font-size: 0.95rem;
  }
  
  .process-step {
    margin: 3rem 0;
  }
  
  .enlarged-wireframes {
    max-width: 95%;
    grid-template-columns: 1fr;
  }
  
  .enlarged-wireframes .memory-image {
    max-height: 400px;
  }
  
  .process-decisions {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }
}
