body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

.cool-start-btn {
  margin-left: 0;
  margin-right: 0;
  padding: 0.7em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #000000 0%, #000000 100%);
  /* Vibrant pink-red gradient for high visibility */
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(255, 65, 108, 0.25), 0 0 0 4px rgba(255,75,43,0.13);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  outline: none;
  cursor: pointer;
  transition: 
    background 0.3s cubic-bezier(.4,2,.6,1),
    box-shadow 0.3s cubic-bezier(.4,2,.6,1),
    transform 0.15s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  min-width: 100px;
  max-width: 220px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .cool-start-btn {
    margin-left: 0;
    margin-right: 0;
    padding: 0.7em 1.5em;
    font-size: 1rem;
    min-width: 80px;
    max-width: 180px;
    border-radius: 14px;
  }
}
@media screen and (max-width: 480px) {
  .cool-start-btn {
    margin-left: 0;
    margin-right: 0;
    width: 90vw;
    max-width: 98vw;
    min-width: 60px;
    padding: 0.6em 0.2em;
    font-size: 0.98rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px 0 rgba(255,65,108,0.13);
  }
}

@media screen and (max-width: 768px) {
  .cool-start-btn {
    margin-left: 0;
    padding: 0.7em 1.5em;
    font-size: 1rem;
    min-width: 80px;
    max-width: 180px;
    border-radius: 14px;
  }
}

@media screen and (max-width: 480px) {
  .cool-start-btn {
    margin-left: 0;
    width: 90vw;
    max-width: 98vw;
    min-width: 60px;
    padding: 0.6em 0.2em;
    font-size: 0.98rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px 0 rgba(0,184,255,0.13);
  }
}
.cool-start-btn .description {
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 1.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.cool-start-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0.7;
}
.cool-start-btn:hover, .cool-start-btn:focus {
  background: linear-gradient(135deg, rgba(0, 255, 212, 0.85), rgba(0, 184, 255, 0.7), rgba(0, 78, 255, 0.7));
  box-shadow: 0 12px 32px 0 rgba(0, 184, 255, 0.27), 0 0 12px 2px #00b8ff;
  transform: scale(1.06) translateY(-2px);
}
.cool-start-btn:active {
  background: linear-gradient(135deg, rgba(0, 78, 255, 0.8), rgba(0, 255, 184, 0.7));
  box-shadow: 0 4px 12px 0 rgba(0, 78, 255, 0.25);
  transform: scale(0.97);
}


.bg {
  background-image: url("Assets/desktopBackground.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.3s ease;
}

#desktop {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.icon {
  position: absolute;
  cursor: pointer;
  width: 120px;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.icon.dragging {
  opacity: 0.8;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.icon img {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.icon:hover img {
  transform: translateY(-5px);
}

.icon span {
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-size: 14px;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-height: 48px;
  background: linear-gradient(135deg, #3970b8 0%, #2f6ab8 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  padding: 0 8px;
}

@media screen and (max-width: 768px) {
  .taskbar {
    min-height: 44px;
    height: 44px;
    font-size: 0.98rem;
    padding: 0 2vw;
  }
}

@media screen and (max-width: 480px) {
  .taskbar {
    min-height: 40px;
    height: 40px;
    font-size: 0.95rem;
    padding: 0 1vw;
  }
}

.models {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  background: transparent;
  padding-left: 0;
  order: 1; /* ensure models area sits to the right of tabs */
}

/* Tabs on taskbar */
.tabs {
  display: flex;
  gap: 8px;
  margin-left: 0;
  margin-right: auto; /* keep them pinned to the left */
  order: 0;
}

.tab-btn {
  background: rgba(18,18,18,0.88);
  color: #eaeaea;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}
.tab-btn:hover {
  background: rgba(24,24,24,0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.45), 0 0 0 2px rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 0 18px rgba(0, 170, 255, 0.4);
}
.tab-btn.active {
  background: #0f0f10;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.08);
}

/* Sheen (shiny swipe) on hover */
.tab-btn::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -150%;
  width: 120%;
  height: 300%;
  background: linear-gradient(60deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: skewX(-20deg);
  transition: transform 0.5s ease, left 0.5s ease, top 0.5s ease;
  pointer-events: none;
}
.tab-btn:hover::before {
  left: 150%;
}

/* Ripple on click (position via CSS vars --x/--y) */
.tab-btn::after {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.35) 0%, rgba(0, 200, 255, 0.25) 30%, rgba(0,0,0,0) 60%);
  opacity: 0;
  pointer-events: none;
}
.tab-btn.rippling::after {
  animation: tabRipple 600ms ease-out forwards;
}

@keyframes tabRipple {
  0% { opacity: 0.45; width: 0; height: 0; }
  100% { opacity: 0; width: 260px; height: 260px; }
}

/* Funky press animation */
.tab-btn:active {
  transform: translateY(1px) scale(0.98) rotate(-1deg);
}

/* Icons containers for tabs */
.icons-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 48px; /* leave space for taskbar */
  display: none;
}
.icons-container.active {
  display: block;
}
@media screen and (max-width: 768px) {
  body, html {
    overflow-x: hidden;
  }
  #desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
  }

  .icons-container {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: none;
    padding-bottom: 56px; /* space for taskbar */
  }
  .icons-container.active {
    display: block;
  }

  .icon {
    position: static !important;
    margin: 16px auto;
    width: 90vw;
    max-width: 160px;
    min-width: 80px;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
  }

  .icon img {
    width: 64px;
    height: 64px;
  }

  .icon span {
    position: static;
    font-size: 1rem;
    color: white;
    margin-top: 6px;
    display: block;
  }

  .taskbar {
    height: 48px;
    font-size: 1rem;
  }

  .start-menu {
    width: 90vw;
    left: 5vw;
    bottom: 60px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .start-menu-description {
    width: 70vw;
    min-width: 120px;
    font-size: 0.95rem;
    padding: 10px;
    left: 100%;
    top: 0;
    border-radius: 0 8px 8px 0;
  }

  .modal-dialog {
    max-width: 98vw !important;
    margin: 8vw auto;
  }
  .modal-content {
    border-radius: 10px;
    font-size: 0.98rem;
    padding: 0;
  }
  .modal-body {
    padding: 10px;
    overflow-x: auto;
  }
}

/* --- Extra small screens (phones) --- */
@media screen and (max-width: 480px) {
  .icon {
    max-width: 95vw;
    min-width: 60px;
    padding: 8px;
  }
  .icon img {
    width: 48px;
    height: 48px;
  }
  .start-menu {
    width: 98vw;
    left: 1vw;
    font-size: 0.95rem;
  }
  .start-menu-description {
    width: 60vw;
    font-size: 0.9rem;
    padding: 8px;
  }
  .modal-dialog {
    max-width: 99vw !important;
    margin: 4vw auto;
  }
  .modal-content {
    font-size: 0.95rem;
  }
}

/* Scoped overrides for the Hire Me button to match tab button size and colors */
#hireMeButton.cool-start-btn {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 12px;
  min-width: auto;
  max-width: none;
  background: #dc3545; /* red default */
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
  color: #fff;
  transform: none;
}

/* Remove sheen effect from this button only */
#hireMeButton.cool-start-btn::before { 
  display: none; 
}

#hireMeButton.cool-start-btn:hover,
#hireMeButton.cool-start-btn:focus {
  background: #007bff; /* blue on hover */
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.45), 0 0 0 2px rgba(255,255,255,0.06);
}

#hireMeButton.cool-start-btn:active {
  transform: translateY(1px) scale(0.98) rotate(-1deg);
  background: #0069d9;
  box-shadow: 0 4px 12px rgba(0, 78, 255, 0.25);
}

#hireMeButton.cool-start-btn .description {
  letter-spacing: 0.02em; /* align with tab buttons */
  font-size: 1rem;
  text-shadow: none;
}

#hireMeButton.cool-start-btn { flex-direction: column; gap: 2px; line-height: 1.1; }
#hireMeButton.cool-start-btn .button-subtitle { color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 500; }

.desktop-positioning { display: grid; gap: 1px; margin-right: 14px; color: #f8fafc; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.desktop-positioning strong { font-size: .95rem; letter-spacing: .02em; }
.desktop-positioning span { color: #bfdbfe; font-size: .75rem; }
.product-process-icon svg { width: 80px; height: 80px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); animation: product-icon-pulse 2.6s ease-in-out infinite; }
.product-process-icon svg path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.product-process-modal { color: #334155; }
.product-process-modal h2 { margin: 0 0 10px; color: #0f172a; font-size: 1.45rem; }
.process-kicker { margin: 0 0 6px; color: #2563eb; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.desktop-process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 18px; }
.desktop-process-flow > div { position: relative; display: grid; gap: 4px; min-height: 125px; padding: 14px; border: 1px solid #dbeafe; border-radius: 14px; background: linear-gradient(145deg, #eff6ff, #fff); overflow: hidden; }
.desktop-process-flow > div::after { content: '→'; position: absolute; right: -15px; top: 43%; z-index: 1; color: #2563eb; font-size: 22px; font-weight: 700; }
.desktop-process-flow > div:last-child::after { display: none; }
.desktop-process-flow span { color: #2563eb; font-size: .74rem; font-weight: 800; }
.desktop-process-flow strong { color: #172554; }
.desktop-process-flow small { color: #475569; line-height: 1.35; }
.ownership-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ownership-list span { padding: 6px 10px; border: 1px solid #c7d2fe; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: .83rem; font-weight: 600; }
@keyframes product-icon-pulse { 50% { transform: translateY(-4px) scale(1.04); filter: drop-shadow(0 10px 14px rgba(37,99,235,.35)); } }
@media (max-width: 700px) { .desktop-positioning { display: none; } .desktop-process-flow { grid-template-columns: repeat(2, 1fr); } .desktop-process-flow > div:nth-child(2)::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .product-process-icon svg { animation: none; } }

.hire-me-modal { color: #334155; }
.hire-me-modal h2 { margin: 0 0 10px; color: #0f172a; font-size: 1.45rem; line-height: 1.25; }
.hire-me-intro { margin: 0 0 20px; color: #475569; }
.hire-me-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.hire-me-value-grid > div { display: grid; gap: 6px; padding: 14px; border: 1px solid #dbeafe; border-radius: 14px; background: linear-gradient(145deg, #eff6ff, #fff); }
.hire-me-value-grid strong { color: #1d4ed8; font-size: .92rem; }
.hire-me-value-grid span { color: #475569; font-size: .84rem; line-height: 1.4; }
.hire-me-approach { padding: 14px 16px; border-left: 3px solid #2563eb; border-radius: 0 10px 10px 0; background: #f8fafc; }
.hire-me-approach strong { color: #0f172a; }
.hire-me-approach p { margin: 4px 0 0; color: #475569; }
.hire-me-rate { margin: 18px 0 0; color: #475569; font-size: .92rem; }
.hire-me-rate strong { color: #0f172a; }
.hire-me-contact { margin: 16px 0 0; color: #475569; }
.hire-me-contact strong { color: #0f172a; }
@media (max-width: 700px) { .hire-me-value-grid { grid-template-columns: 1fr; } }

#projectModal .modal-dialog { max-width: min(920px, calc(100vw - 48px)); margin: 5vh auto; }
#projectModal .modal-content { overflow: hidden; border: 1px solid rgba(148,163,184,.3); border-radius: 20px; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.28); }
#projectModal .modal-header { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid #e2e8f0; background: linear-gradient(135deg, #f8fafc, #fff); }
#projectModal .modal-title { color: #0f172a; font-size: 1.08rem; font-weight: 750; letter-spacing: -.01em; }
#projectModal .close { display: grid; place-items: center; width: 34px; height: 34px; margin: -4px -4px -4px auto; padding: 0; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; color: #475569; font-size: 25px; font-weight: 400; line-height: 1; opacity: 1; text-shadow: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
#projectModal .close:hover, #projectModal .close:focus { background: #eff6ff; color: #1d4ed8; transform: rotate(90deg); outline: none; }
#projectModal .modal-body { max-height: calc(90vh - 76px); padding: 24px 22px 28px; overflow-x: hidden; overflow-y: auto; color: #334155; line-height: 1.65; }
#projectModal .modal-body > :first-child { margin-top: 0; }
#projectModal .modal-body img { border-radius: 12px; box-shadow: 0 10px 24px rgba(15,23,42,.12); }
#projectModal .modal-body iframe { max-width: 100%; border: 0; border-radius: 12px; box-shadow: 0 10px 24px rgba(15,23,42,.12); }
#projectModal.fade .modal-dialog { transform: translateY(18px) scale(.98); transition: transform .2s ease-out; }
#projectModal.show .modal-dialog { transform: translateY(0) scale(1); }
.modal-backdrop.show { opacity: .68; }
@media (max-width: 600px) { #projectModal .modal-dialog { max-width: calc(100vw - 20px); margin: 10px auto; } #projectModal .modal-header { padding: 15px 16px; } #projectModal .modal-body { max-height: calc(100vh - 80px); padding: 18px 16px 22px; } }

#projectModal .case-study h2 { margin: 0 0 10px; color: #0f172a; font-size: 1.5rem; line-height: 1.25; }
#projectModal .case-study h3 { margin: 26px 0 10px; color: #0f172a; font-size: 1.08rem; }
#projectModal .case-study ul { display: grid; gap: 8px; padding-left: 20px; }
#projectModal .case-study-revenue { display: grid; gap: 4px; margin: 20px 0; padding: 18px; border: 1px solid #86efac; border-radius: 14px; background: linear-gradient(135deg, #f0fdf4, #ecfeff); }
#projectModal .case-study-revenue span { color: #15803d; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#projectModal .case-study-revenue strong { color: #166534; font-size: 1.08rem; }
#projectModal .case-study-revenue p { margin: 0; }
#projectModal .case-study-links { display: flex; flex-wrap: wrap; gap: 10px; }
#projectModal .case-study-link { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; border-radius: 10px; background: #2563eb; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
#projectModal .case-study-link--secondary { border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; }
#projectModal .case-study-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
#projectModal .case-study-grid > div { display: grid; gap: 4px; padding: 14px; border: 1px solid #dbeafe; border-radius: 12px; background: #f8fbff; }
#projectModal .case-study-grid strong { color: #1e3a8a; }
#projectModal .case-study-grid span { font-size: .9rem; line-height: 1.4; }
#projectModal .case-study img { margin-top: 24px; }
@media (max-width: 600px) { #projectModal .case-study-grid { grid-template-columns: 1fr; } }

#projectModal .testimonials-modal { display: grid; gap: 24px; }
#projectModal .testimonial-block { display: grid; gap: 14px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
#projectModal .testimonial-block img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 6px 18px rgba(15,23,42,.12); }
#projectModal .testimonial-block__meta { display: grid; gap: 2px; }
#projectModal .testimonial-block__meta strong { color: #0f172a; font-size: 1.05rem; }
#projectModal .testimonial-block__meta span { color: #475569; font-size: .95rem; }
#projectModal .testimonial-block__meta small { color: #64748b; font-size: .85rem; line-height: 1.4; }