@font-face {
  font-family: 'Work Sans';
  src: url('fonts/Work_Sans/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Cutive Mono';
  src: url('fonts/Cutive_Mono/CutiveMono-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PlaywriteDESAS';
  src: url('fonts/Playwrite_DE_SAS/PlaywriteDESAS-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --day-bg: #fdfdfd;
  --day-text: #000000;
  --night-bg: #101010;
  --night-text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: 480px;
}

body[data-theme="light"] {
  background-color: var(--day-bg);
  color: var(--day-text);
}

body[data-theme="dark"] {
  background-color: var(--night-bg);
  color: var(--night-text);
}

/* Main content wrapper - sits above footer for reveal effect */
.main-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--day-bg);
}

body[data-theme="dark"] .main-wrapper {
  background-color: var(--night-bg);
}

/* Navigation - Liquid Glass Vue Style */
.navbar {
  position: fixed;
  top: 1px;
  left: 50%;
  width: 100%;
  max-width: none;
  z-index: 1000;
  /* Liquid Glass Vue Effect */
  backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter);
  -webkit-backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter);
  background: rgba(248, 248, 248, 0.05);
  filter: drop-shadow(-8px -10px 46px #0000005f);
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              max-width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-radius 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              backdrop-filter 0.25s ease-out,
              background 0.25s ease-out,
              filter 0.25s ease-out,
              opacity 0.25s ease-out;
  overflow: hidden;
  transform: translateX(-50%) translateY(0) translateZ(0);
  will-change: width, max-width, transform, opacity;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: inset 6px 6px 0px -6px rgba(255, 255, 255, 0.7), 
              inset 0 0 8px 1px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.navbar.scrolled {
  width: 66.666%;
  max-width: 900px;
  border-radius: 50px;
  /* Enhanced liquid glass effect when scrolled */
  backdrop-filter: brightness(1.2) blur(3px) url(#displacementFilter);
  -webkit-backdrop-filter: brightness(1.2) blur(3px) url(#displacementFilter);
  background: rgba(248, 248, 248, 0.05);
  filter: drop-shadow(-12px -15px 60px #0000007f);
  transform: translateX(-50%) translateY(20px);
}

@media (max-width: 850px) {
  .navbar.scrolled .nav-links {
    display: none;
  }
  
  .navbar.scrolled .start-project-btn {
    display: none;
  }
  
  .navbar.scrolled .burger-menu {
    display: flex;
  }
}

.navbar.hidden {
  transform: translateX(-50%) translateY(-120%) translateZ(0);
  opacity: 0;
  pointer-events: none;
}

/* Top hover area for navbar reveal */
.navbar-hover-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}

.navbar-hover-area.active {
  pointer-events: auto;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0 0 20px 20px;
  box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.7), 
              inset 0 0 8px 1px rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.7), 
                      inset 0 0 8px 1px rgba(255, 255, 255, 0.3);
  transition: border-radius 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}

.navbar.scrolled::before {
  border-radius: 50px;
}

body[data-theme="dark"] .navbar::before {
  box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.3), 
              inset 0 0 8px 1px rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.3), 
                      inset 0 0 8px 1px rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3; /* Ensure content sits above liquidGL glass effect */
}

.nav-logo {
  position: relative;
}

.logo-day, .logo-night {
  height: 28px;
  transition: opacity 0.3s ease;
  margin-top: 4px;
}

body[data-theme="light"] .logo-day {
  opacity: 1;
}

body[data-theme="light"] .logo-night {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

body[data-theme="dark"] .logo-day {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

body[data-theme="dark"] .logo-night {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 200;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8em;
  position: relative;
  transition: opacity 0.25s ease-out, color 0.25s ease-out;
  will-change: opacity, color;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d1ff71;
  transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: width;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: none;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  text-shadow: 0.5px 0 0 currentColor;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Glass Theme Toggle */
.theme-toggle {
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: none;
  transition: all 0.2s ease;
  /* Basic glass styling */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

body[data-theme="light"] .moon-icon {
  display: inline;
}

body[data-theme="light"] .sun-icon {
  display: none;
}

body[data-theme="dark"] .moon-icon {
  display: none;
}

body[data-theme="dark"] .sun-icon {
  display: inline;
  color: white;
}

/* Glass Button */
.start-project-btn {
  display: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease-out;
  /* Basic glass styling */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transform-origin: center;
}

.start-project-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--day-bg);
  margin-top: 10px;
}

body[data-theme="dark"] .hero {
  background: var(--night-bg);
}

.hero-container {
  max-width: 1200px;
  margin: 0;
  padding: 2rem;
  text-align: left;
}

.hero-title {
  font-size: clamp(1.875rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  font-family: 'Work Sans', sans-serif;
}

.hero-line {
  display: block;
  position: relative;
  margin-bottom: 0.2em;
}

.word-beautiful, .word-functional, .word-solved {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.brush-highlight {
  position: absolute;
  top: 50%;
  left: 46%;
  transform: translate(-50%, -50%) scale(0.8);
  width: auto;
  height: auto;
  z-index: -2;
  pointer-events: none;
}

.bracket-left, .bracket-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1.2em;
  z-index: -2;
  pointer-events: none;
}

.bracket-left {
  left: -0.2em;
}

.bracket-right {
  right: -0.2em;
}

.pink-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: auto;
  z-index: -2;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  opacity: 0.8;
  font-weight: 200;
  font-family: 'Work Sans', sans-serif;
}

.target-businesses {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.business-pill {
  border: 2px solid currentColor;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
  font-family: 'Cutive Mono', monospace;
  font-size: 0.8em;
  transition: all 0.3s ease;
}

.business-pill:hover {
  text-shadow: 0.5px 0 0 currentColor;
  cursor: pointer;
}

/* Portfolio Section */
.portfolio {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: -6rem auto 0 auto;
  background-color: #101010;
  position: relative;
  z-index: 10;
  border-radius: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3.5rem;
  row-gap: 2rem;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.portfolio-item {
  aspect-ratio: 4/3;
  background: #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  position: relative;
}

.portfolio-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-content {
  text-align: center;
  color: #666;
  position: relative;
  z-index: 1;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Footer - Reveal Effect */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  color: #1e1e1e;
  padding: 4rem 2rem;
  z-index: 1;
}

body[data-theme="dark"] .footer {
  background-color: #1a1a1a;
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo-section {
  gap: 1.5rem;
}

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

.footer-logo a {
  display: block;
  text-decoration: none;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  opacity: 0.8;
}

.footer-tagline {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 280px;
}

.footer-section-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links li,
.footer-contact li {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 0.9rem;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease-out, color 0.25s ease-out;
  position: relative;
}

.footer-links a::after,
.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d1ff71;
  transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: width;
}

.footer-links a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  text-shadow: 0.5px 0 0 currentColor;
}

.footer-contact li:last-child {
  opacity: 0.7;
  cursor: default;
}

.footer-bottom-section {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
  margin-top: 2rem;
}

body[data-theme="dark"] .footer-bottom-section {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-rights {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
  text-align: center;
}

/* Contact Page Footer - Dark Background */
body.contact-page .footer {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.contact-page .footer-tagline {
  opacity: 0.8;
}

body.contact-page .footer-links a,
body.contact-page .footer-contact a {
  color: #ffffff;
}

body.contact-page .footer-contact li:last-child {
  opacity: 0.8;
}

body.contact-page .footer-rights {
  opacity: 0.7;
}

/* Contact Page - Rounded Section Background */
body.contact-page .contact-blank-section {
  margin-bottom: 2rem;
}

body.contact-page::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 500px;
  background-color: #1e1e1e;
  z-index: -1;
  pointer-events: none;
}

/* Floating Email Button */
.floating-get-in-touch-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: inline-block;
    width: 100px;
    height: 100px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
}

.floating-rotating-get-in-touch {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotate-clockwise 20s linear infinite;
}

.floating-email-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    z-index: 11;
}

/* Scrolled state for floating button */
.floating-get-in-touch-container.scrolled {
    transform: scale(0.85);
}

/* Page Content Styles */
.page-content {
  min-height: 100vh;
  padding: 120px 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #000000;
}

.page-title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 4rem;
  font-family: 'Work Sans', sans-serif;
}

/* Founder Section - Image Left, Text Right */
.founder-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.founder-image {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

.founder-text {
  flex: 1;
  padding-left: 2rem;
}

.founder-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Work Sans', sans-serif;
  color: #000000;
}

.founder-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.founder-signature p {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .founder-section {
    flex-direction: column;
    gap: 2rem;
  }

  .founder-image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .founder-text {
    padding-left: 0;
  }
}

/* Values Section - Black Background */
.values-section {
  background-color: #101010;
  color: #ffffff;
  padding: 4rem;
  border-radius: 20px;
  margin-top: 4rem;
}

.values-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  font-family: 'Work Sans', sans-serif;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 1rem;
}

.value-info {
  font-weight: 200;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.4;
}

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

@media (max-width: 768px) {
  .values-section {
    padding: 2rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-box {
    margin: 1rem 0;
  }
}

/* Type/Delete Animation */
.typing-text {
  display: inline-block;
  font-weight: inherit;
  font-family: inherit;
  position: relative;
}

.typing-text::after {
  content: '|';
  animation: blink 1s infinite;
  margin-left: 2px;
  color: #d1ff71;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.content-text {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  line-height: 1.6;
  max-width: 800px;
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.content-text ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-text li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Contact Form Styles */
.contact-form-container {
  background: #505050;
  border-radius: 12px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
  font-family: 'Work Sans', sans-serif;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #ffffff;
  color: #333;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #d1ff71;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
}

.submit-btn {
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.25s ease-out;
  transform-origin: center;
}

.submit-btn:hover {
  background: currentColor;
  color: var(--day-bg);
  transform: scale(1.05);
}

body[data-theme="dark"] .submit-btn:hover {
  color: var(--night-bg);
}

/* What We Do Page Sections */
.what-we-do-hero {
  padding: 120px 2rem 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  background-color: #101010;
  color: #ffffff;
  border-radius: 0 0 20px 20px;
  position: relative;
}

/* Contact Page Hero */
.contact-hero {
  padding: 2rem;
  width: 100%;
  margin: 0;
  background-color: #fdfdfd;
  color: #101010;
  border-radius: 0;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-hero .content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 0;
  position: relative;
}

.contact-hero .content-container::before {
  content: '';
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.contact-hero .hero-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 4rem;
  position: absolute;
  top: 60%;
}

.contact-hero .hero-description {
  max-width: 400px;
  margin-top: -0.25rem;
}

.description-circles {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.description-circles .circle {
  width: 36px;
  height: 36px;
  background-color: #c1ff72;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease-out;
  transform-origin: center;
  cursor: pointer;
}

.description-circles .circle:hover {
  transform: scale(1.1);
}

.circle-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(4%) sepia(8%) saturate(7%) hue-rotate(314deg) brightness(95%) contrast(88%);
}

@media (max-width: 768px) {
  /* Contact Hero */
  .contact-hero {
    padding: 6rem 2rem 3rem;
    height: auto;
  }

  .contact-hero .content-container {
    justify-content: flex-start;
  }

  .contact-hero .hero-content {
    flex-direction: column;
    position: static;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .contact-hero .page-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  .contact-hero .page-title .first-line,
  .contact-hero .page-title .from-you {
    background-color: transparent;
    padding: 0;
  }

  .contact-hero .hero-description {
    margin-top: 0;
    max-width: 100%;
  }

  .description-circles {
    gap: 1rem;
  }

  .description-circles .circle {
    width: 44px;
    height: 44px;
  }

  /* Contact Short Section - 4 boxes */
  .contact-short-section {
    padding: 2.5rem 1.5rem;
  }

  .contact-short-section .content-container {
    padding: 0;
  }

  .rectangles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 0;
  }

  .rectangle {
    height: auto;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    min-height: 130px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease-out;
  }

  .rectangle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .rectangle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .rectangle-title {
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
  }

  .rectangle-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 0.5rem;
    transition: transform 0.25s ease-out;
  }

  .rectangle-circle:hover {
    transform: scale(1.1);
  }

  .rectangle-info {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #555;
  }

  /* Contact Blank Section */
  .contact-blank-section {
    padding: 2.5rem 1.5rem;
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-radius: 0 0 20px 20px !important;
  }

  .contact-blank-section .content-container {
    padding: 0;
  }

  .single-rectangle {
    flex-direction: column;
    height: auto;
    padding: 0;
    border: none;
    background-color: transparent;
  }

  .left-side-boxes {
    width: 100%;
    height: auto;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-direction: column;
  }

  .image-box {
    flex: 0 0 auto;
    height: 350px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .short-box {
    height: auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .short-box-link {
    text-decoration: none;
    width: 100%;
  }

  .short-box-header {
    width: 100%;
  }

  .short-box-title {
    display: block;
  }

  .title-main {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .title-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    line-height: 1.3;
  }

  .rectangle-circle {
    font-size: 1.2rem;
  }

  .offset-rectangle {
    width: 100%;
    height: auto;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .nested-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nested-form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .nested-form-group {
    width: 100%;
    margin-bottom: 0;
  }

  .nested-form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    display: block;
    color: #333;
  }

  .nested-form-group input,
  .nested-form-group textarea {
    font-size: 0.95rem;
    padding: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333;
    transition: border-color 0.25s ease-out;
  }

  .nested-form-group textarea {
    font-family: 'Work Sans', sans-serif;
    resize: vertical;
    min-height: 150px;
  }

  .nested-form-group input:focus,
  .nested-form-group textarea:focus {
    outline: none;
    border-color: #c1ff72;
  }

  .nested-submit-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    align-self: flex-start;
    margin-top: 1rem;
  }

  /* Mobile Glass Effect - Simplified for mobile viewport */
  .glass-top,
  .glass-bottom,
  .glass-left,
  .glass-right {
    position: absolute !important;
    backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter) !important;
    -webkit-backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter) !important;
    background: rgba(248, 248, 248, 0.05) !important;
    filter: drop-shadow(-8px -10px 46px #0000005f) !important;
    z-index: 10 !important;
  }

  .glass-top {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(15% - 15px) !important;
  }

  .glass-bottom {
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(15% - 15px) !important;
  }

  .glass-left {
    top: 0 !important;
    left: 0 !important;
    width: calc(10% - 10px) !important;
    height: 100% !important;
  }

  .glass-right {
    top: 0 !important;
    right: 0 !important;
    width: calc(10% - 10px) !important;
    height: 100% !important;
  }

  .window-border {
    position: absolute !important;
    top: calc(15% - 15px) !important;
    left: calc(10% - 10px) !important;
    width: calc(80% + 20px) !important;
    height: calc(70% + 30px) !important;
    border: 2px solid #cacaca !important;
    border-radius: 0 0 8px 8px !important;
    z-index: 15 !important;
    pointer-events: none !important;
  }

  .safari-bar {
    position: absolute !important;
    top: calc(15% - 15px) !important;
    left: calc(10% - 10px) !important;
    width: calc(80% + 20px) !important;
    height: auto !important;
    z-index: 999 !important;
    pointer-events: none !important;
    display: block !important;
  }

  .slideshow-container {
    width: 100% !important;
    overflow: hidden;
  }
}

/* Contact Short Section */
.contact-short-section {
  padding: 0.5rem 2rem;
  width: 100%;
  margin: 0;
  background-color: #ffffff;
  color: #101010;
}

.rectangles-container {
  display: flex;
  gap: 1rem;
  padding: 0 3rem;
}

.rectangle {
  flex: 1;
  height: 120px;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 4px solid #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  box-sizing: border-box;
}

.rectangle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.rectangle-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  font-family: 'Work Sans', sans-serif;
}

.rectangle-circle {
  width: 36px;
  height: 36px;
  background-color: #1e1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fdfdfd;
  font-weight: 300;
  transition: transform 0.25s ease-out;
  transform-origin: center;
  cursor: pointer;
}

.rectangle-circle:hover {
  transform: scale(1.1);
}

.rectangle-info {
  font-weight: 400;
  font-size: 0.85rem;
  color: #666;
  font-family: 'Work Sans', sans-serif;
  line-height: 1.3;
}

/* Contact Blank Section */
.contact-blank-section {
  padding: 0.5rem 2rem;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #101010;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 10;
}

.contact-blank-section .content-container {
  padding: 0 3rem;
}

.single-rectangle {
  height: 480px;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 4px solid #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  box-sizing: border-box;
  position: relative;
}

.offset-rectangle {
  height: 420px;
  width: 60%;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 4px solid #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  position: relative;
}

.nested-contact-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nested-form-row {
  display: flex;
  gap: 1rem;
}

.nested-form-group {
  flex: 1;
}

.nested-form-group.full-width {
  flex: 1 1 100%;
}

.nested-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: #666;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.3;
}

.nested-form-group input,
.nested-form-group textarea {
  width: 100%;
  padding: 0.525rem;
  border: 1px solid #f8f8f8;
  border-radius: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 200;
  background: #ffffff;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.25s ease-out;
}

.nested-form-group input::placeholder,
.nested-form-group textarea::placeholder {
  color: #999;
  font-style: italic;
  font-size: 0.84rem;
}

.nested-form-group input:focus,
.nested-form-group textarea:focus {
  outline: none;
  border-color: #c1ff72;
}

.nested-submit-btn {
  background: #1e1e1e;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 200;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  transition: all 0.25s ease-out;
  transform-origin: center;
  align-self: flex-end;
  margin-top: auto;
}

.nested-submit-btn:hover {
  background: #333;
  transform: scale(1.05);
}

.left-side-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 420px;
  width: 35%;
}

.image-box {
  flex: 1;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 4px solid #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.slideshow-track {
  display: flex;
  width: 500%;
  height: 100%;
  animation: slideLoop 24s linear infinite;
}

.slideshow-image {
  width: 20%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  z-index: 1;
}

/* CONTACT PAGE MOBILE FORCE OVERRIDES (768px and below) */
@media (max-width: 768px) {
  /* Hero Section */
  .contact-hero .page-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    display: block !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
  }

  .contact-hero .page-title .first-line {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .description-circles .circle {
    width: 44px !important;
    height: 44px !important;
  }

  .description-circles {
    gap: 1rem !important;
  }

  /* Short Section Boxes */
  .contact-short-section {
    padding: 2.5rem 1.5rem !important;
  }

  .rectangles-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.75rem !important;
    padding: 0 !important;
  }

  .rectangle {
    flex: none !important;
    height: auto !important;
    padding: 1.5rem !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border-radius: 8px !important;
    min-height: 130px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }

  .rectangle-title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
  }

  .rectangle-circle {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .rectangle-info {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
  }

  /* Contact Form Section */
  .contact-blank-section {
    padding: 2.5rem 1.5rem !important;
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    color: #101010 !important;
    border-radius: 0 0 20px 20px !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .contact-blank-section .content-container {
    padding: 2.5rem 1.5rem !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .single-rectangle {
    flex-direction: column !important;
    height: auto !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    width: 100% !important;
  }

  .left-side-boxes {
    width: 100% !important;
    height: auto !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
    flex-direction: column !important;
  }

  .image-box {
    flex: 0 0 auto !important;
    height: 350px !important;
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #fdfdfd !important;
    border: 4px solid #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .slideshow-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    border-radius: 4px !important;
    overflow: hidden !important;
  }

  .slideshow-track {
    display: flex !important;
    width: 500% !important;
    height: 100% !important;
    animation: slideLoop 24s linear infinite !important;
  }

  .slideshow-image {
    width: 20% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
  }

  .short-box {
    height: auto !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    min-height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }

  .title-main {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
  }

  .title-sub {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: #666 !important;
  }

  .offset-rectangle {
    width: 100% !important;
    height: auto !important;
    padding: 2rem !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }

  .nested-contact-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .nested-form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .nested-form-group {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .nested-form-group label {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.6rem !important;
    display: block !important;
    color: #333 !important;
  }

  .nested-form-group input,
  .nested-form-group textarea {
    font-size: 0.95rem !important;
    padding: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    color: #333 !important;
  }

  .nested-form-group textarea {
    font-family: 'Work Sans', sans-serif !important;
    resize: vertical !important;
    min-height: 150px !important;
  }

  .nested-submit-btn {
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
    align-self: flex-start !important;
    margin-top: 1rem !important;
  }
}

@keyframes slideLoop {
  /* Start with Slide 4 - show for 6 seconds */
  0%, 20% {
    transform: translateX(-60%);
  }
  /* Transition to duplicate slide 1 (0.5 second - 2x faster) */
  22% {
    transform: translateX(-80%);
  }
  /* Duplicate slide 1 - show for 6 seconds */
  22%, 42% {
    transform: translateX(-80%);
  }
  /* Transition to slide 2 (0.5 second - 2x faster) */
  44% {
    transform: translateX(-20%);
  }
  /* Slide 2 - show for 6 seconds */
  44%, 64% {
    transform: translateX(-20%);
  }
  /* Transition to slide 3 (0.5 second - 2x faster) */
  66% {
    transform: translateX(-40%);
  }
  /* Slide 3 - show for 6 seconds */
  66%, 86% {
    transform: translateX(-40%);
  }
  /* Transition to slide 4 (0.5 second - 2x faster) */
  88% {
    transform: translateX(-60%);
  }
  /* Back to slide 4 */
  88%, 100% {
    transform: translateX(-60%);
  }
}

/* Four glass rectangles around the 16x10 window */
.glass-top,
.glass-bottom,
.glass-left,
.glass-right {
  position: absolute;
  backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter);
  -webkit-backdrop-filter: brightness(1.1) blur(2px) url(#displacementFilter);
  background: rgba(248, 248, 248, 0.05);
  filter: drop-shadow(-8px -10px 46px #0000005f);
  z-index: 10;
}

/* Top rectangle */
.glass-top {
  top: 0;
  left: 0;
  width: 100%;
  height: calc(50% - 24.375%);
}

/* Bottom rectangle */
.glass-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(50% - 24.375%);
}

/* Left rectangle */
.glass-left {
  top: 0;
  left: 0;
  width: calc(50% - 39%);
  height: 100%;
}

/* Right rectangle */
.glass-right {
  top: 0;
  right: 0;
  width: calc(50% - 39%);
  height: 100%;
}

/* Window border - 1pt light grey around 16x10 window */
.window-border {
  position: absolute;
  top: calc(50% - 24.375%);
  left: calc(50% - 39%);
  width: 78%;
  height: 48.75%;
  border: 2px solid #cacaca;
  border-radius: 0 0 8px 8px;
  z-index: 15;
  pointer-events: none;
}

/* Safari bar - exact length of window top border */
.safari-bar {
  position: absolute;
  bottom: calc(50% + 24.375% - 1px);
  left: calc(50% - 39%);
  width: 78%;
  height: auto;
  z-index: 999;
  pointer-events: none;
}


/* Removed unused blur-mask and viewing-frame elements */

.short-box {
  height: 60px;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 4px solid #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.short-box-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.short-box-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #000;
  line-height: 1.2;
}

.title-main {
  font-weight: 500;
}

.title-sub {
  font-weight: 200;
}

.contact-hero .page-title {
  font-weight: 500;
  display: inline;
  line-height: 0.95;
}

@media (max-width: 768px) {
  .contact-hero .page-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    display: block !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
  }
}

.contact-hero .page-title .first-line {
  background-color: #c1ff72;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
}

.contact-hero .page-title .from-you {
  background-color: #c1ff72;
  padding-top: 0px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 4px;
}

.get-in-touch-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 100px;
  height: 100px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  text-decoration: none;
}

.get-in-touch-container:hover {
  transform: scale(1.1);
}

.rotating-get-in-touch {
  width: 100%;
  height: auto;
  animation: rotate-clockwise 20s linear infinite;
}

.email-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  z-index: 11;
}

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

/* White navbar styling for What We Do page */
body.what-we-do-page .navbar {
  color: #ffffff;
  transition: color 0.3s ease;
}

body.what-we-do-page .nav-links a {
  color: #ffffff;
  transition: color 0.3s ease;
}

body.what-we-do-page .nav-links a.active::after {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

/* Black navbar for sections 2, 3, 4 */
body.what-we-do-page .navbar.sections-visible {
  color: #000000;
}

body.what-we-do-page .navbar.sections-visible .nav-links a {
  color: #000000;
}

body.what-we-do-page .navbar.sections-visible .nav-links a.active::after {
  background-color: #000000;
}

/* Contact page navbar - black text even after scroll */
body.contact-page .navbar.scrolled .nav-links a {
  color: #000000;
}

body.contact-page .navbar.scrolled .nav-links a.active::after {
  background-color: #000000;
}

/* Who We Are page navbar - white text in bottom 500px */
body.who-we-are-page .navbar.bottom-section .nav-links a {
  color: #ffffff;
}

body.who-we-are-page .navbar.bottom-section .nav-links a.active::after {
  background-color: #ffffff;
}

.hero-description {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: 800px;
}

/* Split Layout for Desktop */
.split-layout {
  width: 100%;
  margin-top: 0;
  position: relative;
  top: 0;
}

.split-section {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.split-left {
  width: 40%;
  position: relative;
  background-color: var(--day-bg);
}

.split-right {
  width: 60%;
  padding: 4rem 2rem;
  overflow-y: auto;
  background-color: #f8f8f8;
}

.section-sticky {
  position: sticky;
  top: 120px;
  padding: 4rem 2rem;
  height: fit-content;
}

/* Section specific backgrounds */
.development-section .split-left {
  background-color: var(--day-bg);
}

.solutions-section .split-left {
  background-color: #f0f0f0;
}

.systems-section .split-left {
  background-color: var(--day-bg);
}

.development-section .split-right {
  background-color: #f8f8f8;
}

.solutions-section .split-right {
  background-color: #ffffff;
}

.systems-section .split-right {
  background-color: #f8f8f8;
}

/* Dark theme */
body[data-theme="dark"] .split-left {
  background-color: var(--night-bg);
}

body[data-theme="dark"] .development-section .split-left,
body[data-theme="dark"] .systems-section .split-left {
  background-color: var(--night-bg);
}

body[data-theme="dark"] .solutions-section .split-left {
  background-color: #1a1a1a;
}

body[data-theme="dark"] .split-right {
  background-color: #1a1a1a;
}

body[data-theme="dark"] .development-section .split-right,
body[data-theme="dark"] .systems-section .split-right {
  background-color: #1a1a1a;
}

body[data-theme="dark"] .solutions-section .split-right {
  background-color: #0f0f0f;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Work Sans', sans-serif;
  text-align: left;
}

.section-description {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.8;
}

.service-item {
  margin-bottom: 4rem;
  font-family: 'Work Sans', sans-serif;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .service-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.service-item p {
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-item ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.service-item li {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.5;
}

/* Get In Touch Section */
.get-in-touch {
  padding: 6rem 2rem;
  text-align: center;
  background-color: #1e1e1e;
  color: #ffffff;
}

.get-in-touch h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Work Sans', sans-serif;
}

.get-in-touch p {
  font-size: 1.2rem;
  font-weight: 200;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Work Sans', sans-serif;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #ffffff;
  color: #101010;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .split-left,
  .split-right {
    width: 100%;
  }
  
  .section-sticky {
    position: static;
    transform: none;
    padding: 2rem;
  }
  
  .split-right {
    padding: 2rem;
  }
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 3px;
}

.burger-menu span {
  width: 20px;
  height: 2px;
  background-color: currentColor;
  transition: 0.3s;
}

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

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

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(253, 253, 253, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

body[data-theme="dark"] .mobile-menu {
  background: rgba(16, 16, 16, 0.95);
}

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

.mobile-menu a {
  font-size: 2rem;
  margin: 1rem 0;
  text-decoration: none;
  color: inherit;
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-bottom: 500px;
  }

  .nav-container {
    padding: 1rem;
    justify-content: space-between;
  }

  .nav-logo {
    margin-right: auto;
  }

  .navbar.scrolled .nav-logo {
    margin-left: -0.5rem;
  }

  .navbar.scrolled {
    width: 85%;
    max-width: none;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .burger-menu {
    display: flex;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .target-businesses {
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 3rem;
  }

  .business-pill {
    font-size: 0.56em;
    padding: 0.24rem 0.64rem;
  }

  /* Mobile: Hero title text flows naturally */
  .hero-line {
    display: inline;
    line-height: 1.4;
  }

  .hero {
    margin-top: 60px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 7.2vw, 5.4rem);
  }

  .floating-get-in-touch-container {
    width: 75px;
    height: 75px;
    bottom: 2rem;
    right: 1rem;
  }

  .get-in-touch-container {
    width: 75px;
    height: 75px;
    bottom: 2rem;
    right: 1rem;
  }

  .email-emoji {
    font-size: 30px;
  }

  .floating-email-emoji {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 500px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .start-project-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* MOBILE ONLY - Footer Condensed (768px and below) */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    grid-template-areas:
      "logo logo"
      "getintouch quicklinks"
      "footer footer";
  }

  /* Logo section - top, full width */
  .footer-logo-section {
    grid-area: logo;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Quick Links - top right */
  .footer-section:nth-child(2) {
    grid-area: quicklinks;
    align-self: start;
  }

  /* Get In Touch - top left */
  .footer-section:nth-child(3) {
    grid-area: getintouch;
    align-self: start;
  }

  /* Footer bottom section - full width */
  .footer-bottom-section {
    grid-area: footer;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
  }

  .footer-section-title {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .footer-links li,
  .footer-contact li {
    font-size: 0.8rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
  }

  .footer-logo-img {
    height: 24px;
  }

  .footer-rights {
    font-size: 0.75rem;
  }

  /* Contact page footer - maintain dark mode with mobile sizing */
  body.contact-page .footer {
    padding: 2rem 1.5rem;
  }

  body.contact-page .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  body.contact-page .footer-section-title {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  body.contact-page .footer-links li,
  body.contact-page .footer-contact li {
    font-size: 0.8rem;
  }

  body.contact-page .footer-tagline {
    font-size: 0.8rem;
  }

  body.contact-page .footer-logo-img {
    height: 24px;
  }

  body.contact-page .footer-rights {
    font-size: 0.75rem;
  }

  body.contact-page .footer-bottom-section {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: 1rem;
  }
}