html, body {
  height: 100%;
}
body {
  margin: 0;
  background: #f6f6f6 !important;
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  color: #222;
  padding: 20px;
  padding-bottom: 120px;
  /* Prevent iOS Safari bouncing */
  -webkit-overflow-scrolling: auto;
  overscroll-behavior: none;
  overflow-x: hidden;
}

.content {
  padding-bottom: 120px; /* Padding for space for balloon */
}

#makeItCount {
  padding: 10px;
} 


   
[data-theme="dark"] body {
  background: #23242a !important;
  color: #00AEEF;
}
[data-theme="dark"] .content, [data-theme="dark"] .markdown-content {
color: #eee;
}

[data-theme="dark"] .content p {
background: initial;
}

[data-theme="dark"] .markdown-content {
background: rgb(42 43 50);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}
[data-theme="dark"] .markdown-content p {
color: #eee;
}
[data-theme="dark"] .markdown-content li {
color: #eee;
}
[data-theme="dark"] .markdown-content h3 {
color: #eee;
}
[data-theme="dark"] .portfolio-page {
  color: #39B54A;
}
[data-theme="dark"] .about-page {
  color: #EC008C;
}
[data-theme="dark"] .pricing-page {
  color: #FFCB05;
}
[data-theme="dark"] .projectTile {
  color: #222;
  background: #3d444e;
}
[data-theme="dark"] .projectInfo h3 {
  color: #39B54A;
}
[data-theme="dark"] .projectInfo p {
  color: #eee;
}
[data-theme="dark"] .projectInfo button {
  color: #39B54A;
  border-color: #39B54A;
  background: none;
}
[data-theme="dark"] .projectInfo button:hover {
  background: #39B54A;
  color: #23272b;
}
[data-theme="dark"] .tab-bar {
  background: linear-gradient(120deg, #23272b 80%, #262a2e 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.44), 0 2px 8px rgba(0,0,0,0.18);
  border: none;
}
[data-theme="dark"] .tab-bar:hover, [data-theme="dark"] .tab-bar:focus-within {
  box-shadow: 0 20px 60px rgba(0,0,0,0.38), 0 4px 16px rgba(57,181,74,0.18), 0 0 0 2px #fff;
  background: linear-gradient(120deg, #262a2e 60%, #23272b 100%);
  border: none;
}
[data-theme="dark"] #modeSwitch {
  background: #23272b;
  color: #fff;
}

[data-theme="dark"] .header-logo {
  color: #00AEEF !important;
}

[data-theme="dark"] .header-logo img {
  content: url('../IMG/nd-logo-v2c-invert.png');
  opacity: 0.8;
  border-radius: 50%;
}

.header-logo:hover {
  opacity: 0.8;
}
[data-theme="light"] body {
  background:
    repeating-linear-gradient(135deg, #f7f7f7 0px, #f7f7f7 8px, #ededed 8px, #ededed 16px),
    linear-gradient(120deg, #f7f7f7 0%, #ededed 100%);
  color: #222;
}
[data-theme="light"] .content, [data-theme="light"] .markdown-content {
  color: #222;
}
[data-theme="light"] .markdown-content h1 {
  color: #00AEEF;
}
[data-theme="light"] .markdown-content h2 {
  color: #00AEEF;
}
[data-theme="light"] .markdown-content h3 {
  color: #555;
}

[data-theme="light"] .markdown-content p {
  color: #222;
}
[data-theme="light"] .markdown-content li {
  color: #222;
}
[data-theme="light"] .accordion-header {
  background: #f7f7f7;
  color: #00AEEF;
}
[data-theme="light"] .accordion-header.active, [data-theme="light"] .accordion-header:hover {
  background: #e0f7fa;
  color: #00AEEF;
}
[data-theme="light"] .accordion-icon {
  color: #00AEEF;
}
[data-theme="light"] .projectTile {
  color: #222;
}
[data-theme="light"] .projectInfo h3 {
  color: #39B54A;
}
[data-theme="light"] .projectInfo p {
  color: #333;
}
[data-theme="light"] .projectInfo button {
  color: #39B54A;
  border-color: #39B54A;
  background: none;
}
[data-theme="light"] .projectInfo button:hover {
  background: #39B54A;
  color: #fff;
}
[data-theme="light"] .tab-bar {
  background: linear-gradient(120deg, #fff 80%, #f7f7f7 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.10);
  border: none;
}
[data-theme="light"] .tab-bar:hover, [data-theme="light"] .tab-bar:focus-within {
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.10), 0 0 0 2px #fff;
  background: linear-gradient(120deg, #f7f7f7 60%, #fff 100%);
  border: none;
}
[data-theme="light"] #modeSwitch {
background: #eee;
color: #222;
}

/* Override light mode colors for page-specific themes */
[data-theme="light"] .about-page h1 {
border-bottom: 3px solid #EC008C !important;
}
[data-theme="light"] .about-page strong {
color: #EC008C !important;
}
[data-theme="light"] .pricing-page h1, [data-theme="light"] .pricing-page h2, [data-theme="light"] .pricing-page h3, [data-theme="light"] .pricing-page h4 {
color: #FFCB05 !important;
}
[data-theme="light"] .pricing-page h1 {
border-bottom: 3px solid #FFCB05 !important;
}
[data-theme="light"] .pricing-page strong {
color: #FFCB05 !important;
}
[data-theme="light"] .portfolio-page h1, [data-theme="light"] .portfolio-page h2, [data-theme="light"] .portfolio-page h3, [data-theme="light"] .portfolio-page h4 {
color: #39B54A;
}
[data-theme="light"] .portfolio-page h1 {
border-bottom: 3px solid #39B54A !important;
}
[data-theme="light"] .portfolio-page strong {
color: #39B54A !important;
}

/* Pricing Package Styles */
.pricing-packages {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 32px;
margin: 40px 0;
}

.pricing-package {
background: #f7f7f7;
border-radius: 16px;
padding: 0 0 32px 0;
box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
transition: transform 0.2s, box-shadow 0.2s;
border: 2px solid transparent;
}

.pricing-package:hover {
transform: translateY(-4px);
box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.12);
}

.pricing-package h3 {
color: #FFCB05;
font-size: 1.5rem;
margin: 0 0 4px 0;
text-align: center;
}

.pricing-package .price {
font-family: 'Courier Prime', Courier, monospace;
font-weight: 400;
font-size: 0.95rem;
color: #888;
letter-spacing: 0.02em;
margin: 0 0 12px 0;
text-align: center;
}

.pricing-package .subtitle {
color: #666;
font-size: 0.9rem;
text-align: center;
margin-bottom: 24px;
font-style: italic;
}

.pricing-package ul {
list-style: none;
padding: 0;
margin: 0 0 24px 0;
}

.pricing-package ul li {
list-style: none;
position: relative;
padding-left: 1.6em;
font-size: 1rem;
line-height: 1.5;
}

.pricing-package ul li::before {
content: '\2713';
color: #FFCB05;
position: absolute;
left: 0;
font-size: 1.1em;
line-height: 1;
top: 0.3em;
}

.pricing-package li:last-child {
border-bottom: none;
}



[data-theme="dark"] .pricing-package {
background: #23272b;
box-shadow: 0 8px 32px rgba(0,0,0,0.24), 0 2px 8px rgba(0,0,0,0.16);
}

[data-theme="dark"] .pricing-package:hover {
box-shadow: 0 16px 48px rgba(0,0,0,0.32), 0 4px 16px rgba(0,0,0,0.24);
}

[data-theme="dark"] .pricing-package .subtitle {
color: #aaa;
}

[data-theme="dark"] .pricing-package li {
  color: #eee;
  border-bottom-color: #333;
}

/* Dark mode styling for the pricing banner */

/* Dark mode styling for the pricing banner */

@media (min-width: 1200px) {
.pricing-packages {
grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 1199px) and (min-width: 768px) {
.pricing-packages {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 767px) {
  .pricing-packages {
    grid-template-columns: 1fr;
  }
}

/* Intake Modal Styles */
.intake-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.intake-modal.active {
  display: flex;
}

.intake-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 0;
  overflow: hidden;
}

.intake-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.intake-close-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.intake-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.content p {
  max-width: 600px;
  margin: 20px auto;
  line-height: 1.6;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  padding: 10px;
}
:root {
  --bg: #fff;
  --bar-bg: #fff;
  --text: #000;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bar-bg: #222;
    --text: #fff;
  }
}
.tab-bar-wrapper {
  position: fixed;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 30;
  bottom: 0;
  transition: bottom 0.8s ease;
}
.tab-bar-wrapper.active {
  bottom: 80%;
}
.tab-bar {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--bar-bg);
  border-radius: 20px;
  padding: 15px 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  gap: 40px;
  pointer-events: auto;
  transition: transform 0.5s ease, box-shadow 0.3s, background 0.3s;
  border: none;
}
.tab-bar:hover, .tab-bar:focus-within {
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.10), 0 0 0 2px #fff;
  background: linear-gradient(120deg, #f7f7f7 60%, #fff 100%);
  border: none;
}
.tab-bar::before, .tab-bar::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  background: #d7d7d7;
  transform: translateX(-50%);
  z-index: -1;
}
.tab-bar::before {
  top: -100px;
  height: 100vh;
}
.tab-bar.hidden {
  transform: translate(-50%, 150%);
  transition: 0.5s;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
}

.tab-item:not(.active) {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s, color 0.3s;
  color: grey;
}

.tab-item:not(.active):hover {
  filter: grayscale(0%);
  opacity: 1;
}

.tab-item.process:not(.active):hover {
  color: #00AEEF;
}

.tab-item.about:not(.active):hover {
  color: #EC008C;
}

.tab-item.portfolio:not(.active):hover {
  color: #39B54A;
}

.tab-item.pricing:not(.active):hover {
  color: #FFCB05;
}

.tab-item.active {
  filter: grayscale(0%);
  opacity: 1;
  color: inherit;
}

.tab-item img {
  height: 30px;
  margin-bottom: 5px;
}
.process { color: #00AEEF; }
.about { color: #EC008C; }
.portfolio { color: #39B54A; }
.pricing { color: #FFCB05; }
.balloon {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: auto;
  z-index: 35;
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  pointer-events: auto;
  margin-left:-40px;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}
.booking-page {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: min(80%, 100vh);
  background: #333;
  transform: translateY(100%);
  transition: transform 0.7s ease-in;
  z-index: 50;
  padding: 40px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  overflow-y: auto;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .booking-page {
    height: 100vh;
    padding: 10px 0 0 0;
    min-height: 0;
  }
  .bookingContent {
    position: static !important;
    width: 95vw;
    max-width: 500px;
    margin: 100px auto 0 auto;
    padding: 10px 6px 16px 6px;
    border-radius: 16px;
    bottom: auto;
    left: auto;
    transform: none;
  }
  .bookingContent h2 {
    font-size: 1.3em;
    margin-bottom: 16px;
  }
  .bookingContent p, .bookingContent .phone-number {
    font-size: 1em;
    padding: 10px 12px;
  }
}

/* Floating background balloons */
.bg-balloon {
  position: absolute;
  width: 40px;
  height: 50px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  bottom: -60px;
  animation: float-up 8s linear infinite;
}

.bg-balloon::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 25px;
  background: rgba(255,255,255,0.3);
  animation: sway-string 3s ease-in-out infinite;
  transform-origin: top center;
}

.bg-balloon:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.bg-balloon:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
}

.bg-balloon:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
}

.bg-balloon:nth-child(4) {
  left: 60%;
  animation-delay: 6s;
}

.bg-balloon:nth-child(5) {
  left: 80%;
  animation-delay: 1s;
}

.bg-balloon:nth-child(6) {
  left: 15%;
  animation-delay: 3s;
}

.bg-balloon:nth-child(7) {
  left: 70%;
  animation-delay: 5s;
}

.bg-balloon:nth-child(8) {
  left: 90%;
  animation-delay: 7s;
}

/* Color variations */
.bg-balloon.color-1 {
  background: radial-gradient(circle at 30% 30%, rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0.3));
}

.bg-balloon.color-2 {
  background: radial-gradient(circle at 30% 30%, rgba(255, 165, 0, 0.8), rgba(255, 165, 0, 0.3));
}

.bg-balloon.color-3 {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 0, 0.8), rgba(255, 255, 0, 0.3));
}

.bg-balloon.color-4 {
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.8), rgba(0, 255, 0, 0.3));
}

.bg-balloon.color-5 {
  background: radial-gradient(circle at 30% 30%, rgba(0, 0, 255, 0.8), rgba(0, 0, 255, 0.3));
}

.bg-balloon.color-6 {
  background: radial-gradient(circle at 30% 30%, rgba(128, 0, 128, 0.8), rgba(128, 0, 128, 0.3));
}

.bg-balloon.color-7 {
  background: radial-gradient(circle at 30% 30%, rgba(255, 20, 147, 0.8), rgba(255, 20, 147, 0.3));
}

.bg-balloon.color-8 {
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.8), rgba(0, 255, 255, 0.3));
}

@keyframes float-up {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

@keyframes sway-string {
  0%, 100% {
    transform: translateX(-50%) rotate(-5deg);
  }
  50% {
    transform: translateX(-50%) rotate(5deg);
  }
}
.booking-page.open {
  transform: translateY(0);
}
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  z-index: 25;
}

.bookingContent {
  max-width: 500px;
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 35px 100px rgba(0,0,0,0.4), 0 15px 50px rgba(0,0,0,0.25), 0 5px 20px rgba(0,0,0,0.15);
  position: absolute;
  bottom: 80px;
  left: 50%;
  border: 3px solid;
  border-image: linear-gradient(135deg, #00AEEF, #EC008C, #39B54A, #FFCB05) 1;
  border-radius: 0px;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.bookingContent h2 {
  color: #00AEEF;
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Override tab color changes for booking content */
.bookingContent,
.bookingContent * {
  color: inherit;
}

.bookingContent h2,
.bookingContent p:not([style*="color"]) {
  color: #00AEEF;
}

.phone-number {
  display: inline-block;
  background: #FFCB05;
  color: #333;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 12px 35px rgba(255,203,5,0.6), 0 8px 25px rgba(0,0,0,0.3), 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.phone-number:hover,
.phone-number:active {
  transform: scale(1.05);
  box-shadow: 0 18px 45px rgba(255,203,5,0.7), 0 12px 35px rgba(0,0,0,0.35), 0 6px 20px rgba(0,0,0,0.25);
}

/* Jiggle animation for emojis */

@keyframes jiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .booking-page {
    height: 85%;
    padding: 50px 20px 20px 20px;
  }
  
  .bookingContent {
    bottom: 35px;
  }
  
  .bookingContent h2 {
    font-size: 1.8em;
    margin-bottom: 18px;
  }
  
  .phone-number {
    padding: 10px 18px;
    font-size: 16px;
  }
  
  .close-btn {
    top: 15px;
    left: 15px;
    padding: 10px 15px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .booking-page {
    height: 90%;
    padding: 40px 15px 15px 15px;
  }
  
  .bookingContent {
    bottom: 30px;
    width: 90vw;
    padding: 15px;
  }
  
  .bookingContent h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  
  .phone-number {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* iPhone SE specific fixes */
@media (max-width: 375px) {
  .booking-page {
    height: 92%;
    padding: 50px 10px 10px 10px;
  }
  
  .close-btn {
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .bookingContent {
    width: 85vw;
    padding: 12px;
    bottom: 15px;
  }
  
  .bookingContent h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
}

/* Samsung Fold 5 and foldable devices */
@media (max-width: 717px) and (min-height: 600px) {
  .booking-page {
    min-height: 620px;
    padding: 40px 20px 20px 20px;
    height: 74%;
  }
  
  .bookingContent {
    bottom: 40px;
    width: 80vw;
  }
  
  .tab-bar-wrapper.active {
    bottom: 70%;
  }
}

/* Tablets in landscape orientation */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .bookingContent {
    bottom: 40px;
  }

  .booking-page {
    height: 82%;
  }
}

 @media (min-width: 700px) {
  .bookingContent {
    margin-left:-250px;
  }
}

.close-btn {
  background: rgba(47, 47, 47, 0.6);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  font-family: Helvetica, Arial, sans-serif;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.close-btn:hover,
.close-btn:active {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

 /* Add styles for markdown content */
 .markdown-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

/* Portfolio page specific container */
.portfolio-page {
  max-width: 1400px !important;
}

.markdown-content h1 {
  color: #00AEEF;
  padding-bottom: 10px;
}

.markdown-content h2 {
  color: #00AEEF;
  margin-top: 40px;
  margin-bottom: 20px;
}

.markdown-content h3 {
  color: #555;
  margin-top: 30px;
}

.markdown-content ul {
  margin-bottom: 20px;
}

.markdown-content li {
  margin-bottom: 8px;
}

.markdown-content strong {
  color: #00AEEF;
}

.back-link {
  display: inline-block;
  margin: 20px 0;
  color: #888;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
  color: #888;
}

/* Ensure back-link stays grey even in colored pages */
.about-page .back-link,
.pricing-page .back-link,
.portfolio-page .back-link {
  color: #888;
}

.about-page .back-link:hover,
.pricing-page .back-link:hover,
.portfolio-page .back-link:hover {
  color: #888;
}

/* Page-specific color themes */
.about-page {
  color: #EC008C;
}

.about-page h1, .about-page h2, .about-page h3, .about-page h4 {
  color: #EC008C;
}

.about-page h1 {
  border-bottom: 3px solid #EC008C;
}

.about-page strong {
  color: #EC008C;
}

.about-page a {
  color: #EC008C;
}

.pricing-page {
  color: #FFCB05;
}

.pricing-page h1, .pricing-page h2, .pricing-page h3, .pricing-page h4 {
  color: #FFCB05;
}

.pricing-page h1 {
  border-bottom: 3px solid #FFCB05;
}

.pricing-page strong {
  color: #FFCB05;
}

.pricing-page a {
  color: #FFCB05;
}

.portfolio-page {
  color: #39B54A;
  padding: 20px 0 0 20px;
}

.portfolio-page h1, .portfolio-page h2, .portfolio-page h3, .portfolio-page h4 {
  color: #39B54A;
}

.portfolio-page h1 {
  border-bottom: 3px solid #39B54A !important;
}

.portfolio-page strong {
  color: #39B54A !important;
}

.portfolio-page a {
  color: #39B54A;
}

/* Accordion styles for process page */
.accordion-header {
  background: #f7f7f7;
  color: #00AEEF;
  font-weight: bold;
  width: 100%;
  text-align: left;
  padding: 1em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.1em;
}
.accordion-header.active, .accordion-header:hover {
  background: #e0f7fa;
}

.process-blue {
  color: #00AEEF;
}

@media (prefers-color-scheme: dark) {
  .accordion-header {
    background: #181c20;
    color: #00AEEF;
  }
  .accordion-header.active, .accordion-header:hover {
    background: #23272b;
    color: #fff;
  }
}

/* Accordion icon styles */
.accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 0.5em;
  vertical-align: middle;
  transition: color 0.2s;
  color: #00AEEF;
}
@media (prefers-color-scheme: dark) {
  .accordion-icon {
    color: #fff;
  }
}
/* --- Portfolio Card Styles (from slick.html) --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 10px 0;
  flex-wrap: wrap;
  align-items: center;
}
.portfolio-filter-btn {
  background: none;
  color: #888;
  border: none;
  border-radius: 0;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
  transition: color 0.2s, border-bottom 0.2s;
  box-shadow: none;
  position: relative;
  outline: none;
}
.portfolio-filter-btn.active {
  color: #39B54A;
  border-bottom: 3px solid #39B54A;
  background: none;
  text-decoration: none;
}
.portfolio-filter-btn:not(.active):hover {
  color: #222;
  text-decoration: underline;
}

/* Advanced Filter Styles */
.advanced-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 30px 0;
  flex-wrap: wrap;
  align-items: center;
}

.filter-dropdown {
  position: relative;
  min-width: 140px;
}

.filter-dropdown select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
  outline: none;
}

.filter-dropdown select:hover {
  border-color: #39B54A;
  box-shadow: 0 4px 12px rgba(57,181,74,0.15);
}

.filter-dropdown select:focus {
  border-color: #39B54A;
  box-shadow: 0 0 0 3px rgba(57,181,74,0.1);
}

.filter-dropdown::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 0.8rem;
  pointer-events: none;
  transition: color 0.2s;
}

.filter-dropdown:hover::after {
  color: #39B54A;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .filter-dropdown select {
  background: #23272b;
  border-color: #3d444e;
  color: #eee;
}

[data-theme="dark"] .filter-dropdown select:hover {
  border-color: #39B54A;
}

[data-theme="dark"] .filter-dropdown select:focus {
  border-color: #39B54A;
}

[data-theme="dark"] .filter-label {
  color: #aaa;
}

@media (max-width: 768px) {
  .advanced-filters {
    flex-direction: column;
    gap: 12px;
  }
  
  .filter-dropdown {
    min-width: 200px;
  }
}
.portfolio-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  justify-content: center;
  margin-bottom: 60px;
  align-items: stretch;
}
.projectTile {
  background: white;
  border-radius: 16px;
  width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  margin-top: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
}
.projectTile:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.12);
}
.projectTile img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.projectInfo {
  padding: 18px 16px 16px 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.projectInfo h3 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  color: #39B54A;
  text-align: center;
}
.projectInfo p {
  font-size: 1rem;
  color: #333;
  margin: 0 0 16px 0;
  flex: 1 1 auto;
}
.projectInfo button {
  background: none;
  color: #39B54A;
  border: 2px solid #39B54A;
  border-radius: 0;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.projectInfo button:hover {
  background: #39B54A;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
}
.projectInfo a {
  color: inherit;
  text-decoration: none;
}
/* Responsive portfolio layout */
@media (min-width: 1400px) {
  .portfolio-cards {
    justify-content: center;
    gap: 48px 40px;
    max-width: calc(4 * 320px + 3 * 40px);
    margin-left: auto;
    margin-right: auto;
  }
  .projectTile {
    width: 320px;
    flex: 0 0 320px;
  }
}

@media (max-width: 1399px) and (min-width: 1100px) {
  .portfolio-cards {
    justify-content: center;
    gap: 44px 36px;
    max-width: calc(3 * 300px + 2 * 36px);
    margin-left: auto;
    margin-right: auto;
  }
  .projectTile {
    width: 300px;
    flex: 0 0 300px;
  }
}

@media (max-width: 1099px) and (min-width: 800px) {
  .portfolio-cards {
    justify-content: center;
    gap: 36px 28px;
    max-width: calc(3 * 280px + 2 * 28px);
    margin-left: auto;
    margin-right: auto;
  }
  .projectTile {
    width: 280px;
    flex: 0 0 280px;
  }
}

@media (max-width: 799px) and (min-width: 600px) {
  .portfolio-cards {
    justify-content: center;
    gap: 28px 18px;
    max-width: calc(2 * 260px + 1 * 18px);
    margin-left: auto;
    margin-right: auto;
  }
  .projectTile {
    width: 260px;
    flex: 0 0 260px;
  }
}

@media (max-width: 599px) {
  .portfolio-cards {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 24px 0 !important;
    justify-content: flex-start !important;
    padding: 0 8px 0 8px !important;
    padding-right: 40vw !important; /* allow last card to not be flush */
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }
  /* Remove display: none for ::-webkit-scrollbar so native scrollbar is visible */
  .projectTile {
    width: 80vw !important;
    max-width: 320px !important;
    flex: 0 0 80vw !important;
    margin: 0 8px 0 0 !important;
    border-radius: 18px !important;
    scroll-snap-align: start !important;
  }
  .portfolio-scrollbar {
    width: 90vw !important;
    max-width: 320px !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    height: 6px !important;
    background: #b0b0b0 !important;
    border-radius: 4px !important;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .portfolio-scrollbar::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 60px;
    height: 12px;
    background: #39B54A;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    border: none;
    margin-top: -3px;
    transition: background 0.2s;
  }
  .portfolio-scrollbar::-moz-range-thumb {
    width: 60px;
    height: 12px;
    background: #39B54A;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    border: none;
    transition: background 0.2s;
  }
  .portfolio-scrollbar::-ms-thumb {
    width: 60px;
    height: 12px;
    background: #39B54A;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    border: none;
    transition: background 0.2s;
  }
  .portfolio-scrollbar:focus {
    outline: none;
    box-shadow: 0 0 0 2px #39B54A44;
  }
  .portfolio-scrollbar::-webkit-slider-runnable-track {
    height: 6px;
    background: #b0b0b0;
    border-radius: 4px;
  }
  .portfolio-scrollbar::-ms-fill-lower {
    background: #b0b0b0;
    border-radius: 4px;
  }
  .portfolio-scrollbar::-ms-fill-upper {
    background: #b0b0b0;
    border-radius: 4px;
  }
  .portfolio-scrollbar::-moz-range-track {
    height: 6px;
    background: #b0b0b0;
    border-radius: 4px;
  }
  .projectInfo h3 {
    font-size: 1.1rem !important;
    margin-bottom: 6px !important;
  }

  .projectInfo {
    padding: 14px 10px 14px 10px !important;
  }
  /* ...existing mobile slider styles... */
  .portfolio-slider-wrapper {
    border-radius: 12px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin-bottom: 24px !important;
  }

  .swipe-helper-text {
    font-size: 0.8rem;
    color: #666;
    padding: 20px 0;
    text-align:center;
  }
}
/* --- End Portfolio Card Styles --- */

[data-theme="light"] .pricing-package h3 {
  background: #23272b;
  color: #FFCB05;
  padding: 12px 0 8px 0;
  border-radius: 12px 12px 0 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .pricing-package .price {
  color: black;
  padding: 12px 0 8px 0;
  border-radius: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.pricing-package-content {
  padding: 0 24px;
}
[data-theme="light"] .tab-bar::before, [data-theme="light"] .tab-bar::after {
  background: #bbb;
}

.portfolio-cards {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}
.portfolio-cards::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari */
}

[data-theme="dark"] .pricing-package h3 {
  color: #FFCB05;
}

/* Add yellow checkmarks to Enterprise package bullet points */
.pricing-package h3 {
  /* No change, just for context */
}
.pricing-package .price {
  /* No change, just for context */
}
.pricing-package:has(h3:contains('Enterprise')) ul li {
  list-style: none;
  position: relative;
  padding-left: 1.6em;
}
.pricing-package:has(h3:contains('Enterprise')) ul li::before {
  content: '\2713'; /* Unicode checkmark */
  color: #FFCB05;
  position: absolute;
  left: 0;
  font-size: 1.1em;
  line-height: 1;
  top: 0.7em;
}

@media (max-width: 599px) {
  .projectTile:hover {
    transform: none !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10) !important;
  }
}

.projectMeta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  color: #888;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.projectPlatform,
.projectDate,
.projectType {
  background: #f5f5f5;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="dark"] .projectPlatform,
[data-theme="dark"] .projectDate,
[data-theme="dark"] .projectType {
  background: #2a2a2a;
  color: #ccc;
}

/* Hide category buttons and show dropdown on mobile */
@media (max-width: 599px) {
  .portfolio-filters {
    display: none !important;
  }
  .portfolio-category-mobile-dropdown {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 12px auto;
    max-width: 320px;
    width: 100%;
  }
}
@media (min-width: 600px) {
  .portfolio-category-mobile-dropdown {
    display: none !important;
  }
}

/* Style for mobile category dropdown */
.portfolio-category-mobile-dropdown {
  display: none;
}
.portfolio-category-mobile-dropdown .filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.portfolio-category-mobile-dropdown select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
  outline: none;
}
.portfolio-category-mobile-dropdown select:hover {
  border-color: #39B54A;
  box-shadow: 0 4px 12px rgba(57,181,74,0.15);
}
.portfolio-category-mobile-dropdown select:focus {
  border-color: #39B54A;
  box-shadow: 0 0 0 3px rgba(57,181,74,0.1);
}
[data-theme="dark"] .portfolio-category-mobile-dropdown select {
  background: #23272b;
  border-color: #3d444e;
  color: #eee;
}
[data-theme="dark"] .portfolio-category-mobile-dropdown select:hover {
  border-color: #39B54A;
}
[data-theme="dark"] .portfolio-category-mobile-dropdown select:focus {
  border-color: #39B54A;
}

/* Portfolio Pagination Styles */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px 0 20px 0;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.pagination-btn {
  background: #39B54A;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(57,181,74,0.2);
}

.pagination-btn:hover:not(:disabled) {
  background: #2d8f3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57,181,74,0.3);
}

.pagination-btn:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-info {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

[data-theme="dark"] .portfolio-pagination {
  background: #23272b;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

[data-theme="dark"] .pagination-info {
  color: #aaa;
}

@media (max-width: 768px) {
  .portfolio-pagination {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  
  .pagination-btn {
    width: 100%;
    max-width: 200px;
  }
}

/* 1. Add this to <style> for label color fix: */
[data-theme="dark"] .portfolio-category-mobile-dropdown .filter-label {
  color: #aaa;
}

/* Add after the mobile slider styles in <style> */
.portfolio-scrollbar {
  width: 80vw !important;
  max-width: 320px !important;
  min-width: 180px !important;
  margin-bottom: 0 !important;
  margin-left:-10px !important;
}

/* Homepage Hero Styles */
.homepage-hero {
  min-height: 80vh;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  position: relative;
}

/* Slide System */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.prev {
  transform: translateX(-100%);
}

/* Slide 1: First Impression */
.slide-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.typewriter-container {
  margin-bottom: 30px;
}

.typewriter-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin: 0;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.typewriter-text.emphasis {
  transform: scale(1.02);
  color: #00AEEF;
}

.subtitle-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: #666;
  line-height: 1.3;
  margin: 0;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-cursor {
  color: #00AEEF;
  font-weight: bold;
  margin-left: 4px;
  animation: blink 1s infinite;
}

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

/* Slide 2: About Us */
.slide-2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 70vh;
  padding-bottom: 40px;
  box-sizing: border-box;
  overflow: visible;
}
.slide-2,
.slide-2 * {
  color: #EC008C !important;
}

/* Team Photos Section */

.team-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Dark mode styling for team photos */

/* Mobile responsive for team photos */

.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.9s;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.services-list.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.service-item h3 {
  font-weight: 600;
  margin-bottom: 8px;
}

.service-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Dark mode styling for service items */
[data-theme="dark"] .service-item {
  background: #23272b;
  border-color: #3d444e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-item p {
  color: #bbb;
}

/* Color-coded service blocks */
.service-web {
  border-color: #00AEEF;
}
.service-web h3 {
  color: #00AEEF;
}
.service-web:hover {
  border-color: #00AEEF;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
}

.service-social {
  border-color: #EC008C;
}
.service-social h3 {
  color: #EC008C;
}
.service-social:hover {
  border-color: #EC008C;
  box-shadow: 0 4px 12px rgba(236, 0, 140, 0.15);
}

.service-print {
  border-color: #39B54A;
}
.service-print h3 {
  color: #39B54A;
}
.service-print:hover {
  border-color: #39B54A;
  box-shadow: 0 4px 12px rgba(57, 181, 74, 0.15);
}

.service-brand {
  border-color: #FFCB05;
}
.service-brand h3 {
  color: #FFCB05;
}
.service-brand:hover {
  border-color: #FFCB05;
  box-shadow: 0 4px 12px rgba(255, 203, 5, 0.15);
}

/* Slide 4: Platforms */
.slide-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.service-line {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 20px;
}

.service-line.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-text {
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Highlight word styling */
.highlight-word {
  display: inline-block;
  transition: all 0.3s ease;
}

/* Fixed width for "look legit" to prevent shifting */
.highlight-word.animate-legit {
  min-width: 120px;
  text-align: center;
}

/* Color cycling text styling */
.color-cycle-text {
  transition: color 0.4s ease;
}

/* "Look legit" animation - transforms through multiple fonts to luxury serif */
.highlight-word.animate-legit {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
  transform: scale(1.05);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: legitTransform 1.8s ease-out;
}

@keyframes legitTransform {
  0% {
    font-family: inherit;
    font-weight: 500;
    color: #333;
    transform: scale(1);
    text-shadow: none;
    min-width: 120px;
  }
  15% {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #555;
    transform: scale(1.02);
    min-width: 120px;
  }
  30% {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #444;
    transform: scale(1.03);
    min-width: 120px;
  }
  45% {
    font-family: 'Verdana', sans-serif;
    font-weight: 600;
    color: #3a3a3a;
    transform: scale(1.04);
    min-width: 120px;
  }
  60% {
    font-family: 'Times New Roman', serif;
    font-weight: 600;
    color: #2c3e50;
    transform: scale(1.05);
    min-width: 120px;
  }
  75% {
    font-family: 'Georgia', serif;
    font-weight: 700;
    color: #2c3e50;
    transform: scale(1.06);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 120px;
  }
  100% {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    color: #2c3e50;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 120px;
  }
}

/* "Feel alive" animation - initial bounce then breathing */
.highlight-word.animate-alive {
  color: #39B54A !important;
  font-weight: 700;
  padding: 0 8px;
  animation: feelAliveInitial 2s ease-in-out, feelAliveBreathing 4s ease-in-out 2s infinite;
}

@keyframes feelAliveInitial {
  0% {
    transform: scale(1);
    color: #333;
  }
  15% {
    transform: scale(1.15);
    color: #39B54A;
  }
  30% {
    transform: scale(1.05) rotate(-2deg);
    color: #39B54A;
  }
  45% {
    transform: scale(1.2) rotate(2deg);
    color: #39B54A;
  }
  60% {
    transform: scale(1.1) rotate(-1deg);
    color: #39B54A;
  }
  75% {
    transform: scale(1.15) rotate(1deg);
    color: #39B54A;
  }
  100% {
    transform: scale(1.12);
    color: #39B54A;
  }
}

@keyframes feelAliveBreathing {
  0% {
    transform: scale(1.12);
    color: #39B54A;
  }
  50% {
    transform: scale(1.18);
    color: #39B54A;
  }
  100% {
    transform: scale(1.12);
    color: #39B54A;
  }
}

.impact-line {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 30px;
}

.impact-line.animate-impact {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: impactEntrance 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes impactEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.impact-text {
  font-family: 'Bebas Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #222;
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: 6px;
  transform-origin: center;
}

[data-theme="dark"] .impact-text {
  color: #fff;
}

.impact-line {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 30px;
}

.impact-line.animate-impact {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: impactEntrance 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes impactEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Slide 6: Urgency */
.slide-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.urgency-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.urgency-title {
  font-size: 2rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.urgency-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.urgency-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.urgency-stats.animate-in {
  opacity: 1;
  transform: translateY(0);
}

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

.urgency-number {
  font-size: 3rem;
  font-weight: 800;
  color: #EC008C;
  margin-bottom: 10px;
  font-family: 'Courier New', monospace;
}

.urgency-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

.urgency-message {
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Dark mode styles for urgency slide */
[data-theme="dark"] .urgency-title {
  color: #EC008C;
}

[data-theme="dark"] .urgency-number {
  color: #EC008C;
}

[data-theme="dark"] .urgency-label {
  color: #bbb;
}

[data-theme="dark"] .urgency-message {
  color: #eee;
}

.urgency-message.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Slide 6: Platforms */
.slide-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

/* Slide 7: Balloon Instruction */

.balloon-instruction {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.balloon-instruction.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.balloon-instruction h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #00AEEF;
  margin-bottom: 20px;
}

.balloon-instruction p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 30px;
  padding: 10px 20px;
}

.balloon-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

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

/* Repeat Button */
.repeat-button {
  background: white;
  color: #666;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.repeat-button:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #333;
}

[data-theme="dark"] .repeat-button {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

[data-theme="dark"] .repeat-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.platforms-section {
  margin-bottom: 40px;
}

.clients-section {
  margin-bottom: 40px;
}

.clients-scroll {
  display: flex;
  gap: 20px;
  animation: scrollClients 20s linear infinite;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.platforms-scroll {
  display: flex;
  gap: 20px;
  animation: scrollPlatforms 20s linear infinite;
}

@keyframes scrollPlatforms {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.platform-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.platform-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.platform-item:hover {
  border-color: #00AEEF;
  color: #00AEEF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
}

/* Toned-down CTA */

/* Dark Mode Styles */
[data-theme="dark"] .typewriter-text {
  color: #eee;
}

[data-theme="dark"] .subtitle-text {
  color: #bbb;
}

[data-theme="dark"] .service-text {
  color: #ddd;
}

[data-theme="dark"] .typing-cursor {
  color: #00AEEF;
}

/* Dark mode for "Look legit" animation */
[data-theme="dark"] .highlight-word.animate-legit {
  color: #e8f4fd;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Dark mode font transformation sequence */
[data-theme="dark"] .highlight-word.animate-legit {
  animation: legitTransformDark 1.8s ease-out;
}

@keyframes legitTransformDark {
  0% {
    font-family: inherit;
    font-weight: 500;
    color: #ddd;
    transform: scale(1);
    text-shadow: none;
    min-width: 120px;
  }
  15% {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #ccc;
    transform: scale(1.02);
    min-width: 120px;
  }
  30% {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #bbb;
    transform: scale(1.03);
    min-width: 120px;
  }
  45% {
    font-family: 'Verdana', sans-serif;
    font-weight: 600;
    color: #aaa;
    transform: scale(1.04);
    min-width: 120px;
  }
  60% {
    font-family: 'Times New Roman', serif;
    font-weight: 600;
    color: #e8f4fd;
    transform: scale(1.05);
    min-width: 120px;
  }
  75% {
    font-family: 'Georgia', serif;
    font-weight: 700;
    color: #e8f4fd;
    transform: scale(1.06);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-width: 120px;
  }
  100% {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    color: #e8f4fd;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-width: 120px;
  }
}

/* Dark mode for "Feel alive" animation - still green but brighter */
[data-theme="dark"] .highlight-word.animate-alive {
  color: #4CAF50 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .homepage-hero {
    min-height: 70vh;
    padding: 20px 15px;
  }

  .typewriter-text {
    font-size: 1.8rem;
    min-height: 2.2rem;
    line-height: 1.3;
    max-width: 250px;
  }

  .subtitle-text {
    font-size: 1.2rem;
    min-height: 1.6rem;
    line-height: 1.3;
  }

  .service-text {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    gap: 15px;
  }

  .service-item {
    padding: 15px;
    min-height: 120px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    gap: 20px;
  }

  .stat-item {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .selling-checklist {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .selling-checklist li {
    margin-bottom: 6px;
  }

  .selling-points-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .urgency-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .urgency-stats {
    gap: 40px;
    margin: 30px 0;
  }

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

  .urgency-label {
    font-size: 1rem;
  }

  .urgency-message {
    font-size: 1.1rem;
    margin-top: 25px;
  }

  .platform-item {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .balloon-instruction h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .balloon-instruction p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .balloon-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .homepage-hero {
    min-height: 60vh;
    padding: 15px 10px;
  }

  .typewriter-text {
    font-size: 1.6rem;
    min-height: 2rem;
    line-height: 1.2;
  }

  .subtitle-text {
    font-size: 1.1rem;
    min-height: 1.5rem;
    line-height: 1.2;
  }

  .service-text {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .services-list {
    max-width: 400px;
    gap: 12px;
  }

  .service-item {
    padding: 12px;
    min-height: 100px;
  }

  .stats-grid {
    max-width: 350px;
    gap: 15px;
  }

  .stat-item {
    padding: 15px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .selling-checklist {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .selling-checklist li {
    margin-bottom: 5px;
  }

  .selling-points-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .urgency-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .urgency-stats {
    gap: 30px;
    margin: 25px 0;
  }

  .urgency-number {
    font-size: 2rem;
  }

  .urgency-label {
    font-size: 0.9rem;
  }

  .urgency-message {
    font-size: 1rem;
    margin-top: 20px;
  }

  .platform-item {
    padding: 10px 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: 80px;
  }
  
  .clients-scroll, .platforms-scroll {
    gap: 15px;
  }

  .balloon-instruction h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .balloon-instruction p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .balloon-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 900px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    gap: 15px;
  }
}

@media (max-width: 375px) {
  
  .platform-item {
    padding: 6px 3px;
    font-size: 0.7rem;
    white-space: nowrap;
    min-width: 60px;
  }
  
  .clients-scroll, .platforms-scroll {
    gap: 10px;
  }
}

.balloon-instruction, .balloon-instruction h2, .balloon-instruction p {
  color: #fff !important;
}

/* --- Slide 4: Replace .selling-points with checklist --- */
/* Remove <div class="selling-points" id="sellingPoints">...</div> */
/* Add below the stats-grid: */
.selling-checklist {
  margin: 30px auto 0 auto;
  padding: 0;
  max-width: 600px;
  text-align: center;
  color: #39B54A;
  font-size: 1rem;
  line-height: 1.5;
  list-style: none;
}
.selling-checklist li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0;
  display: block;
  margin-right: 0;
  color: #39B54A;
  opacity: 0;
  transition: opacity 0.7s;
}
.selling-checklist li::before {
  content: '\2714';
  color: #39B54A;
  margin-right: 6px;
  font-size: 1em;
  vertical-align: middle;
  position: static;
}
[data-theme="light"] .selling-checklist,
[data-theme="light"] .selling-checklist li {
  color: #39B54A;
}
[data-theme="dark"] .selling-checklist,
[data-theme="dark"] .selling-checklist li {
  color: #39B54A;
}
.selling-checklist li.fade-in-check { opacity: 1 !important; }
@media (max-width: 600px) {
  .selling-points-static { padding: 18px 8px 16px 8px; }
  .stats-grid { gap: 15px; margin: 20px auto; }
  .stat-item { padding: 15px 8px; }
  .stat-number { font-size: 1.3rem; }
  .selling-points-title { font-size: 1.2rem; margin-bottom: 18px; }
  .selling-checklist { font-size: 0.9rem; }
}

/* Balloon instruction text color fix */
.balloon-instruction, .balloon-instruction h2, .balloon-instruction p {
  color: #fff !important;
}
[data-theme="light"] .balloon-instruction,
[data-theme="light"] .balloon-instruction h2,
[data-theme="light"] .balloon-instruction p {
  color: #222 !important;
}

[data-theme="light"] .selling-points-title {
  color: inherit !important;
}

/* Add new styles for hidden checklist */
.hidden-checklist { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.selling-checklist li { opacity: 0; transition: opacity 0.7s; }
.selling-checklist li.fade-in-check { opacity: 1 !important; }

/* --- Testimonial Avatars Redesign --- */
.testimonial-avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 24px 0;
  position: relative;
  z-index: 1;
}
.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13), 0 1.5px 6px rgba(0,0,0,0.10);
  border: 3px solid #fff;
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  outline: none;
  position: relative;
}
.testimonial-avatar:hover,
.testimonial-avatar:focus {
  transform: scale(1.08) translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,174,239,0.18), 0 2px 8px rgba(0,0,0,0.12);
  border-color: #00AEEF;
  z-index: 2;
}
.testimonial-avatar.selected {
  border-color: #39B54A;
  box-shadow: 0 8px 32px rgba(57,181,74,0.18), 0 2px 8px rgba(0,0,0,0.12);
  transform: scale(1.12) translateY(-10px);
  z-index: 3;
}
.testimonial-content {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 36px 28px 28px 28px;
  text-align: center;
  position: relative;
  min-height: 160px;
  font-family: 'Lora', serif;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}
.testimonial-content.fading {
  opacity: 0;
  pointer-events: none;
}
.testimonial-quote {
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 22px;
  line-height: 1.6;
  position: relative;
}
.testimonial-quote:before {
  content: "\201C";
  font-size: 3.2rem;
  color: #00AEEF;
  opacity: 0.18;
  position: absolute;
  left: -18px;
  top: -18px;
  font-family: serif;
}
.testimonial-author {
  font-size: 1.05rem;
  color: #666;
  font-weight: 500;
}
.testimonial-author strong {
  color: #39B54A;
  font-size: 1.13rem;
  font-weight: 700;
}
.testimonial-author span {
  display: block;
  font-size: 0.98rem;
  color: #888;
  margin-top: 2px;
}
/* Responsive for mobile */
@media (max-width: 600px) {
  .testimonial-avatars {
    gap: 14px;
    margin: 18px 0 14px 0;
  }
  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
  .testimonial-content {
    padding: 18px 8px 16px 8px;
    min-height: 120px;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
  .testimonial-author {
    font-size: 0.95rem;
  }
}
/* Dark mode for testimonials */
[data-theme="dark"] .testimonial-content {
  background: #23272b;
  color: #eee;
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}
[data-theme="dark"] .testimonial-quote {
  color: #eee;
}
[data-theme="dark"] .testimonial-author {
  color: #bbb;
}
[data-theme="dark"] .testimonial-author strong {
  color: #39B54A;
}
[data-theme="dark"] .testimonial-author span {
  color: #aaa;
}
[data-theme="dark"] .testimonial-avatar {
  background: #23272b;
  border-color: #23272b;
}
[data-theme="dark"] .testimonial-avatar.selected {
  border-color: #39B54A;
}
[data-theme="dark"] .testimonial-avatar:hover,
[data-theme="dark"] .testimonial-avatar:focus {
  border-color: #00AEEF;
}

/* --- Testimonial Section Essentials --- */
#clients-talking {
  padding: 30px 0 25px 0;
  color: #40c9f1;
  text-align: center;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.dottedBox.recommendations {
  background: #f8f9fa;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 32px 16px 32px 16px;
  margin: 0 auto 32px auto;
  max-width: 800px;
  border: 2px dotted #40c9f1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
[data-theme="dark"] .dottedBox.recommendations {
  background: #23272b;
  border-color: #00AEEF;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
/* Restore platform/client heading colors at the end to override inherit */

/* Selling Points/Checklist Static Block Styles */
.selling-points-static {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 36px 28px 28px 28px;
  text-align: center;
  max-width: 800px;
  margin: 32px auto 0 auto;
}
[data-theme="dark"] .selling-points-static {
  background: #23272b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}
.selling-points-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00AEEF;
  margin-bottom: 30px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px auto;
  max-width: 600px;
}
.stat-item {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  transition: box-shadow 0.3s;
}
[data-theme="dark"] .stat-item {
  background: #23272b;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.stat-item:nth-child(1) { border-color: #00AEEF; }
.stat-item:nth-child(1) .stat-number { color: #00AEEF; }
.stat-item:nth-child(2) { border-color: #EC008C; }
.stat-item:nth-child(2) .stat-number { color: #EC008C; }
.stat-item:nth-child(3) { border-color: #39B54A; }
.stat-item:nth-child(3) .stat-number { color: #39B54A; }
.stat-item:nth-child(4) { border-color: #FFCB05; }
.stat-item:nth-child(4) .stat-number { color: #FFCB05; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}
[data-theme="dark"] .stat-label { color: #bbb; }
.selling-checklist {
  margin: 30px auto 0 auto;
  padding: 0;
  max-width: 600px;
  text-align: center;
  color: #39B54A;
  font-size: 1rem;
  line-height: 1.5;
  list-style: none;
}
.selling-checklist li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0;
  display: block;
  margin-right: 0;
  color: #39B54A;
  opacity: 0;
  transition: opacity 0.7s;
}
.selling-checklist li::before {
  content: '\2714';
  color: #39B54A;
  margin-right: 6px;
  font-size: 1em;
  vertical-align: middle;
  position: static;
}
[data-theme="light"] .selling-checklist,
[data-theme="light"] .selling-checklist li {
  color: #39B54A;
}
[data-theme="dark"] .selling-checklist,
[data-theme="dark"] .selling-checklist li {
  color: #39B54A;
}
.selling-checklist li.fade-in-check { opacity: 1 !important; }
@media (max-width: 600px) {
  .selling-points-static { padding: 18px 8px 16px 8px; }
  .stats-grid { gap: 15px; margin: 20px auto; }
  .stat-item { padding: 15px 8px; }
  .stat-number { font-size: 1.3rem; }
  .selling-points-title { font-size: 1.2rem; margin-bottom: 18px; }
  .selling-checklist { font-size: 0.9rem; }
}

/* Not Ready to Book Yet Section */
.not-ready-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 36px 28px 28px 28px;
  text-align: center;
  max-width: 800px;
  margin: 48px auto 32px auto;
}
[data-theme="dark"] .not-ready-section {
  background: #23272b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}
.not-ready-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
}
[data-theme="dark"] .not-ready-title { color: #fff; }
.not-ready-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 0 auto;
  max-width: 600px;
}
.not-ready-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  border: 3px solid transparent;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 170px;
}
.not-ready-box:hover {
  box-shadow: 0 8px 32px rgba(0,174,239,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: #00AEEF;
}
.not-ready-box.process { border-color: #00AEEF; }
.not-ready-box.about { border-color: #EC008C; }
.not-ready-box.portfolio { border-color: #39B54A; }
.not-ready-box.pricing { border-color: #FFCB05; }
.not-ready-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.not-ready-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.not-ready-desc {
  font-size: 0.98rem;
  color: #666;
}
[data-theme="dark"] .not-ready-box {
  background: #23272b;
  color: #fff;
}
[data-theme="dark"] .not-ready-desc {
  color: #bbb;
}
@media (max-width: 600px) {
  .not-ready-grid { grid-template-columns: 1fr; gap: 18px; }
  .not-ready-section { padding: 18px 8px 16px 8px; }
  .not-ready-title { font-size: 1.2rem; margin-bottom: 18px; }
  .not-ready-box { padding: 18px 8px 14px 8px; min-height: 120px; }
  .not-ready-icon { font-size: 1.5rem; }
}

/* Trust & Credibility Section */
.trust-section {
  padding: 32px 16px 32px 16px;
  text-align: center;
  background: #f8f9fa;
  border: 2px dotted #39B54A;
  border-radius: 18px;
  margin: 32px auto;
  max-width: 800px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.trust-title {
  color: #39B54A;
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

  .trust-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}

.trust-item a {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}

.trust-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.trust-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.trust-text {
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
  margin: 0;
}

/* Dark mode styles for trust section */
[data-theme="dark"] .trust-section {
  background: #23272b;
  border-color: #39B54A;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

[data-theme="dark"] .trust-title {
  color: #39B54A;
}

[data-theme="dark"] .trust-text {
  color: #ccc;
}

[data-theme="dark"] .trust-logo {
  filter: brightness(0.9) grayscale(20%);
}

[data-theme="dark"] .trust-logo:hover {
  filter: brightness(1) grayscale(0%);
}

/* koffman logo background for light mode visibility */
.koffman-logo {
  background: #2a2b32;
  padding: 8px;
  border-radius: 8px;
}

/* Mobile responsive for trust section */
@media (max-width: 768px) {
  .trust-logos {
    gap: 20px;
  }

  
  .trust-title {
    font-size: 1.3em;
  }
  
  .trust-text {
    font-size: 0.8em;
  }
}

/* About Page Styles */
.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 3rem 0 2rem 0;
  color: #333;
}

.story-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

[data-theme="dark"] .story-section {
  background: #2a2b32;
}

.story-container {
  max-width: 1000px;
  margin: 0 auto;
}

.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #555;
}

[data-theme="dark"] .about-page p {
  color: white;
}

.story-intro {
  font-size: 1.4rem !important;
  font-weight: 600;
  color: #EC008C !important;
  margin-bottom: 2rem !important;
}

.team-photo-story {
  text-align: center;
}

.story-photo {
  width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  margin-bottom: 1rem;
}

.photo-caption {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
}

[data-theme="dark"] .photo-caption {
  color: #ccc;
}

.floating-elements {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.floating-icon {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-of-type(2) {
  animation: runLeftRight 2s ease-in-out infinite;
}

.floating-icon:nth-of-type(3) {
  animation: expandShrink 2s ease-in-out infinite;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  border: 2px solid transparent;
}

.value-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.value-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  border-color: #EC008C;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .value-card h3 {
  color: #fff;
}

.how-we-work-section {
  padding: 4rem 2rem;
  background: white;
}

[data-theme="dark"] .how-we-work-section {
  background: #23272b;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.work-step {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 3px solid transparent;
}

[data-theme="dark"] .work-step {
  background: #23272b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.work-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.work-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* Color coding for each step */
.step-1 {
  border-color: #00AEEF;
}
.step-1 .step-number {
  background: #00AEEF;
}
.step-1 h3 {
  color: #00AEEF;
}

.step-2 {
  border-color: #EC008C;
}
.step-2 .step-number {
  background: #EC008C;
}
.step-2 h3 {
  color: #EC008C;
}

.step-3 {
  border-color: #39B54A;
}
.step-3 .step-number {
  background: #39B54A;
}
.step-3 h3 {
  color: #39B54A;
}

.step-4 {
  border-color: #FFCB05;
}
.step-4 .step-number {
  background: #FFCB05;
}
.step-4 h3 {
  color: #FFCB05;
}

.step-number {
  width: 60px;
  height: 60px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

.work-step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .work-step h3 {
  color: #fff;
}

.work-step p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

[data-theme="dark"] .work-step p {
  color: #ccc;
}

.who-we-are-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="dark"] .who-we-are-section {
  background: linear-gradient(135deg, #2a2b32 0%, #1a1a1a 100%);
}

.theo-bio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

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

.theo-portrait {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.theo-portrait:hover {
  transform: scale(1.02);
}

.theo-bio-content h3 {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

[data-theme="dark"] .theo-bio-content h3 {
  color: #00AEEF;
}

.theo-title {
  font-size: 1.2rem;
  color: #EC008C;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-style: italic;
}

[data-theme="dark"] .theo-title {
  color: #EC008C;
}

.theo-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
}

[data-theme="dark"] .theo-bio {
  color: #eee;
}

.theo-expertise h4 {
  font-size: 1.3rem;
  color: #39B54A;
  margin-bottom: 1rem;
  font-weight: 600;
}

[data-theme="dark"] .theo-expertise h4 {
  color: #39B54A;
}

.theo-expertise ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.theo-expertise li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

[data-theme="dark"] .theo-expertise li {
  color: #ccc;
  border-bottom-color: #444;
}

.theo-expertise li:last-child {
  border-bottom: none;
}

.theo-expertise strong {
  color: #00AEEF;
  font-weight: 600;
}

[data-theme="dark"] .theo-expertise strong {
  color: #00AEEF;
}

.theo-philosophy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-left: 4px solid #FFCB05;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

[data-theme="dark"] .theo-philosophy {
  color: #eee;
  background: linear-gradient(135deg, #2a2b32 0%, #1a1a1a 100%);
}

.quinn-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fff5f8 0%, #ffeef5 100%);
}

[data-theme="dark"] .quinn-section {
  background: linear-gradient(135deg, #2a2b32 0%, #1a1a1a 100%);
}

.quinn-bio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

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

.quinn-portrait {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.quinn-portrait:hover {
  transform: scale(1.02);
}

.quinn-bio-content h3 {
  font-size: 2.5rem;
  color: #EC008C;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

[data-theme="dark"] .quinn-bio-content h3 {
  color: #EC008C;
}

.quinn-title {
  font-size: 1.2rem;
  color: #00AEEF;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-style: italic;
}

[data-theme="dark"] .quinn-title {
  color: #00AEEF;
}

.quinn-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
}

[data-theme="dark"] .quinn-bio {
  color: #eee;
}

.quinn-expertise h4 {
  font-size: 1.3rem;
  color: #39B54A;
  margin-bottom: 1rem;
  font-weight: 600;
}

[data-theme="dark"] .quinn-expertise h4 {
  color: #39B54A;
}

.quinn-expertise ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.quinn-expertise li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

[data-theme="dark"] .quinn-expertise li {
  color: #ccc;
  border-bottom-color: #444;
}

.quinn-expertise li:last-child {
  border-bottom: none;
}

.quinn-expertise strong {
  color: #EC008C;
  font-weight: 600;
}

[data-theme="dark"] .quinn-expertise strong {
  color: #EC008C;
}

.quinn-philosophy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
  border-left: 4px solid #FFCB05;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

[data-theme="dark"] .quinn-philosophy {
  color: #eee;
  background: linear-gradient(135deg, #2a2b32 0%, #1a1a1a 100%);
}

.quinn-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fff5f8 0%, #ffeef5 100%);
}

.quinn-bio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.quinn-bio-content h3 {
  font-size: 2.5rem;
  color: #EC008C;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.quinn-title {
  font-size: 1.2rem;
  color: #00AEEF;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.quinn-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
}

.quinn-expertise h4 {
  font-size: 1.3rem;
  color: #39B54A;
  margin-bottom: 1rem;
  font-weight: 600;
}

.quinn-expertise ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.quinn-expertise li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.quinn-expertise li:last-child {
  border-bottom: none;
}

.quinn-expertise strong {
  color: #EC008C;
  font-weight: 600;
}

.quinn-philosophy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
  border-left: 4px solid #FFCB05;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

.quinn-portrait {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.quinn-portrait:hover {
  transform: scale(1.02);
}

.personal-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

[data-theme="dark"] .personal-section {
  background: #2a2b32;
}

.personal-container {
  max-width: 1000px;
  margin: 0 auto;
}

.personal-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.personal-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #555;
}

.mobile-emoji {
  display: block;
  font-size: 2.5rem;
  text-align: center;
  margin: 1.5rem 0;
  animation: float 3s ease-in-out infinite;
}

.mobile-emoji:nth-of-type(2) {
  animation: runLeftRight 2s ease-in-out infinite;
}

.mobile-emoji:nth-of-type(3) {
  animation: expandShrink 2s ease-in-out infinite;
}

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

@keyframes runLeftRight {
  0%, 100% { transform: translateX(0px); }
  25% { transform: translateX(-15px); }
  75% { transform: translateX(15px); }
}

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

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(30px);
}

.service-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .service-item h3 {
  color: #fff;
}

.service-item p {
  color: #666;
  line-height: 1.6;
}

[data-theme="dark"] .service-item p {
  color: #ccc;
}

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

/* Conversation Section Styles */
.conversation-section {
  background: #f8f9fa;
}

[data-theme="dark"] .conversation-section {
  background: #2a2b32;
}

.conversation-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

[data-theme="dark"] .conversation-container {
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.conversation-header {
  background: #EC008C;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.contact-details h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-details p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.conversation-thread {
  padding: 1rem;
  background: #f8f9fa;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[data-theme="dark"] .conversation-thread {
  background: #2a2a2a;
}

.text-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message.received {
  align-self: flex-start;
}

.message.sent {
  align-self: flex-end;
}

.message-bubble {
  padding: 0.8rem 1rem;
  border-radius: 20px;
  position: relative;
  word-wrap: break-word;
  max-width: 85%;
}

.message.received .message-bubble {
  background: #f0f0f0;
  color: #333;
  border-bottom-left-radius: 0;
  margin-right: auto;
  margin-left: 0;
}

.message.received .message-bubble::before {
  content: '';
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #f0f0f0;
  border-left: 0;
  border-bottom: 0;
}

[data-theme="dark"] .message.received .message-bubble {
  background: #404040;
  color: #fff;
}

[data-theme="dark"] .message.received .message-bubble::before {
  border-right-color: #404040;
}

.message.sent .message-bubble {
  background: #EC008C;
  color: white;
  border-bottom-right-radius: 0;
  margin-left: auto;
  margin-right: 0;
}

.message.sent .message-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #EC008C;
  border-right: 0;
  border-bottom: 0;
}

.message-bubble p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.message-time {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
  padding: 0 0.5rem;
}

[data-theme="dark"] .message-time {
  color: #ccc;
}

.message.received .message-time {
  text-align: left;
}

.message.sent .message-time {
  text-align: right;
}

/* Mobile responsive for about page */
@media (max-width: 768px) {

  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-photo {
    width: 250px;
  }

  .work-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-step {
    padding: 2rem 1.5rem;
  }

  .personal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-section,
  .how-we-work-section,
  .personal-section {
    padding: 2rem 1rem;
  }

  /* Show mobile emojis and hide desktop floating elements on mobile */
  .mobile-emoji {
    display: block;
  }

  .personal-visual {
    display: none;
  }

  .personal-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
}

/* Slide 3: Our Services */
.slide-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
}

/* Fortune Cookie Styles */
.fortune-cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  }

.fortune-cookie-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Detailed Fortune Cookie Animation */
.fc {
  background: transparent;
  display: block;
  position: relative;
  width: 20em;
  height: 17em;
  border: 0;
  cursor: pointer;
}

.fc:focus {
  outline: transparent;
}

.fc-part, .fc-crumbs, .fc-crumb, .fc-fortune {
  position: absolute;
  top: 0;
}

.fc-part, .fc-crumb {
  background: currentColor;
  color: #efaa5d;
}

.fc-part {
  width: 8em;
  height: 18em;
  z-index: 2;
}

.left {
  border-radius: 7em 1em 1em 7em / 50%;
  box-shadow:
    0.5em 0 0 inset,
    0.5em 0.2em 0 inset,
    1em 0.2em 0 #fff6 inset,
    -0.75em 0 0 #0002 inset;
  clip-path: polygon(0% 0%, 68% 0%, 100% 30%, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0% 0%, 68% 0%, 100% 30%, 100% 100%, 0% 100%);
  left: calc(50% - 5.4em);
  transform: rotate(25deg);
  transform-origin: 68% 0;
}

.right {
  border-radius: 1em 7em 7em 1em / 50%;
  box-shadow:
    -0.5em 0 0 inset,
    -0.5em 0.2em 0 inset,
    -1em 0.2em 0 #fff6 inset,
    0.75em 0 0 #0002 inset;
  clip-path: polygon(0% 30%, 32% 0%, 100% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0% 30%, 32% 0%, 100% 0, 100% 100%, 0% 100%);
  right: calc(50% - 5.4em);
  transform: rotate(-25deg);
  transform-origin: 32% 0;
}

.fc-crumbs {
  left: calc(50% - 0.4em);
  width: 0.8em;
  height: 6em;
  z-index: 1;
}

.fc-crumb {
  border-radius: 50%;
  width: 0.5em;
  height: 0.5em;
}

.fc-crumb:nth-child(1) {
  top: 4%;
  left: 15%;
}

.fc-crumb:nth-child(2) {
  top: 20%;
  right: 15%;
}

.fc-crumb:nth-child(3) {
  top: 30%;
  left: 25%;
}

.fc-crumb:nth-child(4) {
  top: 45%;
  right: 25%;
}

.fc-crumb:nth-child(5) {
  top: 55%;
  left: 5%;
}

.fc-crumb:nth-child(6) {
  top: 65%;
  right: 5%;
}

.fc-crumb:nth-child(7) {
  top: 75%;
  left: 30%;
}

.fc-crumb:nth-child(8) {
  top: 90%;
  right: 35%;
}

/* Fortune */
.fc-fortune {
  background: #fff;
  color: #00c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75em 1.5em;
  text-align: center;
  width: 26em;
  height: 6em;
  left: 0;
  transform: scale(0,1);
  transform-origin: 50% 32%;
}

.fc-fortune-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.fc-fortune::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  background: #00AEEF;
}

.fc-fortune::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2em;
  height: 2em;
  background: #EC008C;
}

.fc-fortune .corner-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2em;
  height: 2em;
  background: #39B54A;
}

.fc-fortune .corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2em;
  height: 2em;
  background: #FFCB05;
}

/* Animation States */
.spawned {
  animation: popIn 0.3s linear;
}

.opened {
  width: 26em;
  height: 6em;
}

.opened .left {
  animation: breakLeft 0.7s ease-in forwards;
}

.opened .right {
  animation: breakRight 0.7s ease-in forwards;
}

.opened .fc-crumbs {
  animation: fallOut 0.7s ease-in forwards;
}

.opened .fc-fortune {
  animation: foldOut 0.7s ease-in forwards;
}

/* Animations */
@keyframes popIn {
  from {
    transform: scale(0);
  }
  75% {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes breakLeft {
  from {
    transform: translateX(0) rotate(25deg);
  }
  30%, 40% {
    transform: translateX(0) rotate(55deg);
  }
  70%, 80% {
    opacity: 1;
    transform: translateX(-14em) rotate(50deg);
  }
  to {
    opacity: 0;
    transform: translateX(-14em) rotate(50deg);
  }
}

@keyframes breakRight {
  from {
    transform: translateX(0) rotate(-25deg);
  }
  30%, 40% {
    transform: translateX(0) rotate(-55deg);
  }
  70%, 80% {
    opacity: 1;
    transform: translateX(14em) rotate(-50deg);
  }
  to {
    opacity: 0;
    transform: translateX(14em) rotate(-50deg);
  }
}

@keyframes fallOut {
  from {
    left: calc(50% - 0.4em);
    width: 0.8em;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  60%, to {
    opacity: 0;
    left: calc(50% - 3em);
    width: 6em;
    transform: translateY(24em);
  }
}

@keyframes foldOut {
  from {
    transform: scale(0.23,0.7);
  }
  30%, 40% {
    transform: scale(0.5,0.7);
  }
  69% {
    transform: scale(1,0.7);
  }
  74%, to {
    transform: scale(1,1);
  }
}

.fortune-content {
  position: absolute;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.fortune-content.active {
  opacity: 1;
  visibility: visible;
}

.fortune-principle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 1rem;
}

.fortune-explanation {
    font-size: 1rem;
  line-height: 1.6;
  color: #333;
  }

.fortune-explanation ul {
  text-align: left;
  margin-top: 1rem;
  }

.fortune-explanation li {
  margin-bottom: 0.5rem;
  color: #555;
}

.fortune-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.fortune-close:hover {
  color: #EC008C;
}

.next-fortune-btn {
  background: #EC008C;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(236, 0, 140, 0.3);
}

.next-fortune-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 0, 140, 0.4);
  background: #d1007a;
}

[data-theme="dark"] .fortune-content {
  background: #1a1a1a;
  color: #fff;
}

[data-theme="dark"] .fortune-explanation {
  color: #ccc;
}

[data-theme="dark"] .fortune-explanation li {
  color: #bbb;
}

/* Homepage Fortune Cookie Section */
.fortune-section {
  text-align: center;
  padding: 3rem 2rem;
}

.fortune-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: #EC008C;
  margin-bottom: 3rem;
}

.fortune-cookie-homepage {
  max-width: 170px;;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.fortune-cookie-homepage:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-color: #EC008C;
}

.fortune-cookie-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.fortune-cookie-homepage:hover .fortune-cookie-emoji {
  transform: scale(1.1) rotate(5deg);
}

.fortune-cookie-text {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

[data-theme="dark"] .fortune-section-title {
  color: #EC008C;
}


[data-theme="dark"] .fortune-cookie-homepage {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border-color: #3d444e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .fortune-cookie-homepage:hover {
  border-color: #EC008C;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .fortune-cookie-text {
  color: #ccc;
}

/* Process Page Dark Mode Support */
[data-theme="dark"] .process-step {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
  border-color: #3d444e !important;
}

[data-theme="dark"] .content-card {
  background: #2a2a2a !important;
  color: #fff !important;
  border: 1px solid #3d444e !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .benefits-box {
  background: #2a2a2a !important;
  color: #fff !important;
  border-color: #EC008C !important;
}

/* Goal quote styles for light and dark modes */
.goal-quote {
  background: #f8f9fa;
  color: #333;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  position: relative;
  border-left: 6px solid #FFCB05;
}

[data-theme="dark"] .goal-quote {
  background: #1a1a1a;
  color: white;
}

/* What You Get section styles for light and dark modes */
.what-you-get-box {
  background: white;
  color: #333;
  border: 3px solid #00AEEF;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

[data-theme="dark"] .what-you-get-box {
  background: #00AEEF;
  color: white;
  border: none;
}

[data-theme="dark"] .markdown-content .what-you-get-box p strong {
  color: black
}

.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}

.services-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.services-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}

.team-photo-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.team-photo-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-photo-large {
  width: 400px;
  max-width: 55vw;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.team-photo-large:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.team-photo-caption-large {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
}

.team-title {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.team-role-large {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

[data-theme="dark"] .team-photo-large {
  border-color: #3d444e;
  box-shadow: 0 4px 16px rgba(0,0,0,0.32);
}
[data-theme="dark"] .team-photo-caption-large {
  color: #fff;
}
[data-theme="dark"] .team-name {
  color: #fff;
}
[data-theme="dark"] .team-title {
  color: #bbb;
}
[data-theme="dark"] .team-role-large {
  color: #bbb;
}
@media (max-width: 768px) {
  .team-photo-large {
    width: 90vw;
    max-width: 55vw;
  }

  .team-photo-caption-large {
    font-size: 0.9rem;
    gap: 6px;
  }
  
  .team-member {
    gap: 2px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  .team-title {
    font-size: 0.85rem;
  }
  
  .team-role-large {
    font-size: 0.8rem;
  }
}
@keyframes scroll-medium {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.platform-item {
  white-space: nowrap;
  font-size: 1.1em;
  font-weight: 500;
  padding: 6px 18px;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Robust scrolling row fix for clients and platforms */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.platform-item {
  white-space: nowrap;
  font-size: 1.1em;
  font-weight: 500;
  padding: 6px 18px;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-right: 18px;
}
@media (max-width: 700px) {
  .platform-item {
    font-size: 0.95em;
    padding: 4px 10px;
    margin-right: 10px;
  }
}

.services-list .service-item {
  color: #111 !important;
  border-width: 2px;
  border-style: solid;
}
.services-list .service-web {
  border-color: #00AEEF !important;
}
.services-list .service-social {
  border-color: #EC008C !important;
}
.services-list .service-print {
  border-color: #39B54A !important;
}
.services-list .service-brand {
  border-color: #FFCB05 !important;
}
.services-list .service-item h3 {
  /* Keep colored heading */
}
.services-list .service-item p, .services-list .service-item ul, .services-list .service-item li, .services-list .service-item span {
  color: #111 !important;
}
[data-theme="dark"] .services-list .service-item {
  color: #fff !important;
}
[data-theme="dark"] .services-list .service-item p, [data-theme="dark"] .services-list .service-item ul, [data-theme="dark"] .services-list .service-item li, [data-theme="dark"] .services-list .service-item span {
  color: #fff !important;
}

/* 1. Remove green color from 'feel alive' */
#feelAlive, .highlight-word.animate-alive {
  color: inherit !important;
  background: none !important;
  text-shadow: none !important;
  /* animation: none !important; -- REMOVE THIS LINE */
}

/* 2. Remove gradient from 'IMPOSSIBLE TO IGNORE' */
.impact-text {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #222 !important;
}
[data-theme="dark"] .impact-text {
  color: #fff !important;
}
.impact-text {
  animation: none !important;
}

.team-photo-caption-large, .team-role-large {
  color: #111 !important;
}
[data-theme="dark"] .team-photo-caption-large, [data-theme="dark"] .team-role-large {
  color: #fff !important;
}

.services-list .service-item h3 {
  color: #111 !important;
}
[data-theme="dark"] .services-list .service-item h3 {
  color: #fff !important;
}
/* Remove color overrides for .service-web h3, .service-social h3, etc. */

h1, h2, h3, .services-title, .selling-points-title, .urgency-title, .team-photo-title {
  font-family: 'Bebas Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  letter-spacing: 0.01em;
}

.highlight-word.animate-alive {
  animation: feelAliveBreathing 1.8s ease-in-out infinite;
}
@keyframes feelAliveBreathing {
  0% { transform: scale(1); }
  30% { transform: scale(1.12); }
  60% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.script-heading {
  font-family: 'Oleo Script', cursive !important;
  font-size: 2.3rem;
  color: #00AEEF;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

/* Clients and Platforms Styles */
.clients-platforms-section {
  margin: 40px 0;
  padding: 40px 20px;
}

.clients-section, .platforms-section {
  margin-bottom: 40px;
}

.clients-section:last-child, .platforms-section:last-child {
  margin-bottom: 0;
}

.clients-section h2, .platforms-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 25px;
}

.scrolling-clients, .scrolling-platforms {
  overflow: hidden;
  position: relative;
  height: 60px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.client-row, .platform-row {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 8s linear infinite;
  padding: 15px 0;
}

.client-logo, .platform-logo {
  height: 40px;
  width: auto;
  margin: 0 25px;
  padding: 5px;
  background: white;
  object-fit: contain;
  filter: grayscale(1);
  transition: 0.2s;
}

.client-logo:hover, .platform-logo:hover {
  filter: grayscale(0);
  transition: 0.2s;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.66%);
  }
}

  @media screen and (max-width: 768px) {
.clients-platforms-section {
  padding: 30px 15px;
  margin: 30px 0;
}

.clients-section h2, .platforms-section h2 {
  font-size: 2rem;
}

.client-logo, .platform-logo {
  height: 30px;
  margin: 0 10px;
  padding: 5px;
  background: white;
  filter: grayscale(1);
}

.scrolling-clients, .scrolling-platforms {
  height: 50px;
}
}

/* Add/replace this CSS in the <style> section */
.scrolling-clients, .scrolling-platforms {
overflow: hidden;
width: 100%;
border-radius: 0;
border: none;
}

@media (max-width: 768px) {
.scrolling-clients, .scrolling-platforms {
  width: 100vw;
  max-width: 100vw;
  margin-left: -55px; /* adjust if your body has padding */
  overflow-x: hidden;
}

.theo-bio-container {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.theo-bio-content h3 {
  font-size: 2rem;
}

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

.quinn-bio-container {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.quinn-bio-content h3 {
  font-size: 2rem;
}

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

.quinn-bio-container {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.quinn-bio-content h3 {
  font-size: 2rem;
}

.quinn-expertise {
  text-align: left;
}
}
.scrolling-track {
display: flex;
width: max-content;
}
.client-row, .platform-row {
display: flex;
width: max-content;
animation: scroll-marquee 15s linear infinite;
}
@keyframes scroll-marquee {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}

/* --- Added for process page markdown/accordion support --- */

.markdown-content h2 {
  color: #00AEEF;
  margin-top: 40px;
  margin-bottom: 20px;
}
.markdown-content h3 {
  color: #555;
  margin-top: 30px;
}
.markdown-content ul {
  margin-bottom: 20px;
}
.markdown-content li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  margin: 20px 0;
  color: #888;
  text-decoration: none;
  font-weight: bold;
}
.back-link:hover {
  text-decoration: underline;
  color: #888;
}
.accordion { max-width: 600px; margin: 2em auto; }
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header {
  background: #f7f7f7;
  color: #00AEEF;
  font-weight: bold;
  width: 100%;
  text-align: left;
  padding: 1em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.1em;
}
.accordion-header.active, .accordion-header:hover {
  background: #e0f7fa;
}
.accordion-content {
  display: none;
  padding: 1em;
  background: #fafbfc;
  animation: fadeIn 0.3s;
}
.accordion-content.open {
  display: block;
}
.accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 0.5em;
  vertical-align: middle;
  transition: color 0.2s;
  color: #00AEEF;
}
@media (prefers-color-scheme: dark) {
  .markdown-content {
    background: rgb(42 43 50);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  }
  .markdown-content p, .markdown-content li, .markdown-content h3 {
    color: #eee;
  }
  .accordion {
    background: none;
  }
  .accordion-item {
    border-bottom: 1px solid #333;
  }
  .accordion-header {
    background: #181c20;
    color: #00AEEF;
  }
  .accordion-header.active, .accordion-header:hover {
    background: #23272b;
    color: #fff;
  }
  .accordion-content {
    background: #222;
    color: #eee;
  }
  .accordion-content ul, .accordion-content p, .accordion-content li, .accordion-content figcaption {
    color: #eee;
  }
  .accordion-content figcaption {
    color: #aaa;
  }
  .accordion-icon {
    color: #fff;
  }
}
/* --- End process page styles --- */

/* --- Increased specificity for light mode page styles --- */
html[data-theme="light"] .markdown-content,
body[data-theme="light"] .markdown-content {
  background: white;
  color: #222;
}

html[data-theme="light"] .markdown-content h3,
body[data-theme="light"] .markdown-content h3 {
  color: #555;
}

html[data-theme="light"] .markdown-content p,
body[data-theme="light"] .markdown-content p {
  color: #222;
}
html[data-theme="light"] .markdown-content li,
body[data-theme="light"] .markdown-content li {
  color: #222;
}
html[data-theme="light"] .accordion-header,
body[data-theme="light"] .accordion-header {
  background: #f7f7f7;
  color: #00AEEF;
}
html[data-theme="light"] .accordion-header.active,
html[data-theme="light"] .accordion-header:hover,
body[data-theme="light"] .accordion-header.active,
body[data-theme="light"] .accordion-header:hover {
  background: #e0f7fa;
  color: #00AEEF;
}
html[data-theme="light"] .accordion-content,
body[data-theme="light"] .accordion-content {
  background: #fafbfc;
  color: #222;
}
html[data-theme="light"] .portfolio-page h1,
html[data-theme="light"] .portfolio-page h2,
html[data-theme="light"] .portfolio-page h3,
html[data-theme="light"] .portfolio-page h4,
body[data-theme="light"] .portfolio-page h1,
body[data-theme="light"] .portfolio-page h2,
body[data-theme="light"] .portfolio-page h3,
body[data-theme="light"] .portfolio-page h4 {
  color: #39B54A;
  border-bottom: 3px solid #39B54A;
}
html[data-theme="light"] .portfolio-page strong,
body[data-theme="light"] .portfolio-page strong {
  color: #39B54A;
}
html[data-theme="light"] .pricing-page h1,
html[data-theme="light"] .pricing-page h2,
html[data-theme="light"] .pricing-page h3,
html[data-theme="light"] .pricing-page h4,
body[data-theme="light"] .pricing-page h1,
body[data-theme="light"] .pricing-page h2,
body[data-theme="light"] .pricing-page h3,
body[data-theme="light"] .pricing-page h4 {
  color: #FFCB05;
  border-bottom: 3px solid #FFCB05;
}
html[data-theme="light"] .pricing-page strong,
body[data-theme="light"] .pricing-page strong {
  color: #FFCB05;
}
/* --- End increased specificity for light mode --- */

/* --- Dark mode: Pricing flexible banner override --- */
[data-theme="dark"] .pricing-page .pricing-package + h2 + p + h2 + p + h2 + div[style*="box-shadow"] p {
  color: #fff !important;
}
[data-theme="dark"] .pricing-page div[style*="box-shadow"] p {
  color: #fff !important;
}

/* --- Dark mode: Fortune Cookie Modal (already present, but ensure specificity) --- */
[data-theme="dark"] .fortune-content {
  background: #1a1a1a;
  color: #fff;
}
[data-theme="dark"] .fortune-explanation {
  color: #ccc;
}
[data-theme="dark"] .fortune-explanation li {
  color: #bbb;
}

/* --- Portfolio & Pricing Page Title Color Fix (high specificity) --- */
html[data-theme="light"] .portfolio-page h1,
html[data-theme="light"] .portfolio-page h2,
html[data-theme="light"] .portfolio-page h3,
html[data-theme="light"] .portfolio-page h4,
body[data-theme="light"] .portfolio-page h1,
body[data-theme="light"] .portfolio-page h2,
body[data-theme="light"] .portfolio-page h3,
body[data-theme="light"] .portfolio-page h4 {
  color: #39B54A !important;
  border-bottom: 3px solid #39B54A !important;
}
html[data-theme="light"] .pricing-page h1,
html[data-theme="light"] .pricing-page h2,
html[data-theme="light"] .pricing-page h3,
html[data-theme="light"] .pricing-page h4,
body[data-theme="light"] .pricing-page h1,
body[data-theme="light"] .pricing-page h2,
body[data-theme="light"] .pricing-page h3,
body[data-theme="light"] .pricing-page h4 {
  color: #FFCB05 !important;
  border-bottom: 3px solid #FFCB05 !important;
}
html[data-theme="dark"] .portfolio-page h1,
html[data-theme="dark"] .portfolio-page h2,
html[data-theme="dark"] .portfolio-page h3,
html[data-theme="dark"] .portfolio-page h4,
body[data-theme="dark"] .portfolio-page h1,
body[data-theme="dark"] .portfolio-page h2,
body[data-theme="dark"] .portfolio-page h3,
body[data-theme="dark"] .portfolio-page h4 {
  color: #39B54A !important;
  border-bottom: 3px solid #39B54A !important;
}
html[data-theme="dark"] .pricing-page h1,
html[data-theme="dark"] .pricing-page h2,
html[data-theme="dark"] .pricing-page h3,
html[data-theme="dark"] .pricing-page h4,
body[data-theme="dark"] .pricing-page h1,
body[data-theme="dark"] .pricing-page h2,
body[data-theme="dark"] .pricing-page h3,
body[data-theme="dark"] .pricing-page h4 {
  color: #FFCB05 !important;
  border-bottom: 3px solid #FFCB05 !important;
}

@media (min-width: 769px) {
  .quinn-bio-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    direction: ltr;
  }
  .quinn-photo {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }
  .quinn-bio-content {
    grid-column: 1;
    grid-row: 1;
  }
}

.personal-emoji {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  animation: float 3s ease-in-out infinite;
  text-align: center;
  margin-top: 10px;
}
.personal-emoji:nth-of-type(2) { animation: runLeftRight 2s ease-in-out infinite; }
.personal-emoji:nth-of-type(3) { animation: expandShrink 2s ease-in-out infinite; }

/* Hide .mobile-emoji on desktop */
@media (min-width: 768px) {
  .personal-emoji {
    display: none !important;
  }
}

@media (min-width: 768px) {
  /* Breathing animation for brain emoji (second .personal-emoji) */
  .personal-emoji:nth-of-type(2) {
    animation: brainBreath 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
  }
  .personal-emoji:nth-of-type(2)::after {
    content: '⚡';
    position: absolute;
    left: 60%;
    top: -0.7em;
    font-size: 1.2rem;
    opacity: 0;
    animation: lightningStrike 3s infinite;
    pointer-events: none;
    z-index: 2;
  }
}

@keyframes brainBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes lightningStrike {
  0%, 80%, 100% { opacity: 0; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(-0.2em) scale(1.2); }
  90% { opacity: 0; transform: translateY(0); }
}

@media (min-width: 768px) {
  .floating-icon:nth-of-type(2) {
    animation: brainBreath 3s ease-in-out infinite !important;
    position: relative;
    z-index: 1;
  }
  /* Remove the ::after lightning bolt */
  .floating-icon:nth-of-type(2)::after {
    content: none;
    display: none;
  }
}

@keyframes brainBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes lightningStrike {
  0%, 80%, 100% { opacity: 0; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(-0.2em) scale(1.2); }
  90% { opacity: 0; transform: translateY(0); }
}

hr {
  border: none;
  border-top: 2px solid #111;
  margin: 2.5rem 0;
}
[data-theme="light"] hr {
  border-top: 2px solid #111;
}
[data-theme="dark"] hr {
  border-top: 2px solid #fff;
}

.markdown-content h1 {
  text-align: center;
  font-size: 3em;
}
.markdown-content h2 {
  text-align: center;
  font-size: 2.4em;
}
.markdown-content h3 {
  text-align: center;
  font-size: 1.7em;
}
.markdown-content h4 {
  text-align: center;
  font-size: 1.3em;
}
@media (max-width: 600px) {
  .markdown-content h1 { font-size: 2.1em; }
  .markdown-content h2 { font-size: 1.6em; }
  .markdown-content h3 { font-size: 1.2em; }
  .markdown-content h4 { font-size: 1em; }
}

.markdown-content h1 {
  margin-bottom: 0;
}