/* =========================================================================
   PAGE: SERVICES/TECH-LABS
   ========================================================================= */

#tech-labs-hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  background-color: #090909;
  overflow: hidden;
}

#tech-labs-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#tech-labs-hero .hero-bg picture,
#tech-labs-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#tech-labs-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

#tech-labs-hero .relative {
  position: relative;
  z-index: 10;
}

#tech-labs-hero .hero-content {
  max-width: 800px;
  padding: 100px 0;
}

#tech-labs-hero .hero-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

#tech-labs-hero .hero-desc {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(16px, 2vw, 20px);
  color: #aaaaaa;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

#tech-labs-hero .btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #D9212E;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

#tech-labs-hero .btn-download:hover {
  background-color: #b91c27;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #tech-labs-hero {
    min-height: 80vh;
  }
  
  #tech-labs-hero .hero-desc br {
    display: none;
  }
}


#tech-labs-why {
  padding: 80px 0;
  background-color: #ffffff;
}

#tech-labs-why .section-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: #000;
  margin: 0 0 48px 0;
}

#tech-labs-why .text-center {
  text-align: center;
}

#tech-labs-why .why-wrapper {
  background-color: #F8F8F8;
  border: 1px solid #D9D9D9;
  border-radius: 12px;
  padding: 16px;
}

#tech-labs-why .why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

#tech-labs-why .why-card {
  background-color: #ffffff;
  border: 1px solid #D9D9D9;
  border-radius: 12px;
  padding: 32px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  transform: translateY(0);
}

#tech-labs-why .why-card.wide {
  grid-column: span 3;
}

#tech-labs-why .why-card:hover {
  background: linear-gradient(90deg, #FFF0F0 0%, #FFFFFF 100%);
  border-color: #E48888;
  box-shadow: 0 12px 24px rgba(216, 64, 64, 0.08);
  transform: translateY(-4px);
}

#tech-labs-why .why-icon {
  width: 44px;
  height: 44px;
  background-color: #EEEEEE;
  color: #4D4D4D;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 74px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent;
}

#tech-labs-why .why-card:hover .why-icon {
  background-color: #D84040;
  color: #ffffff;
  box-shadow: 0 0 0 3.5px #FFF0F0, 0 0 0 4.5px #FDBDBD;
}

#tech-labs-why .why-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

#tech-labs-why .why-desc {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 16px;
  color: #4D4D4D;
  margin: 0;
  line-height: 1.5;
}

/* Responsive adjust */
@media (max-width: 1024px) {
  #tech-labs-why .why-card,
  #tech-labs-why .why-card.wide {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  #tech-labs-why .why-wrapper {
    padding: 12px;
  }
  #tech-labs-why .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #tech-labs-why .why-card,
  #tech-labs-why .why-card.wide {
    grid-column: span 1;
    padding: 24px;
  }
  #tech-labs-why .why-icon {
    margin-bottom: 40px;
  }
}


#tech-labs-how {
  padding: 100px 0;
  background-color: #FAFAFA;
  overflow: hidden;
}

#tech-labs-how .section-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: #000;
  text-align: center;
  margin: 0 0 80px 0;
}

#tech-labs-how .how-timeline {
  position: relative;
  max-width: 1013px;
  margin: 0 auto;
}

#tech-labs-how .how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

#tech-labs-how .how-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FCECEC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

#tech-labs-how .how-circle-inner {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #D9212E;
}

#tech-labs-how .how-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 24px;
  font-weight: 500;
  color: #000;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

#tech-labs-how .how-desc {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 16px;
  color: #4D4D4D;
  margin: 0;
  line-height: 1.5;
}

/* Desktop layout */
@media (min-width: 769px) {
  #tech-labs-how .how-timeline {
    height: 560px;
  }
  
  #tech-labs-how .how-track {
    position: absolute;
    top: 50%;
    left: -40px;
    right: -40px;
    height: 2px;
    background-image: linear-gradient(90deg, #BEBEBE 50%, transparent 50%);
    background-size: 8px 2px;
    margin-top: -1px;
    z-index: 1;
  }
  
  #tech-labs-how .how-step {
    position: absolute;
    width: clamp(220px, 20vw, 260px);
  }
  
  #tech-labs-how .how-step.top {
    bottom: calc(50% + 140px);
  }
  
  #tech-labs-how .how-step.bottom {
    top: calc(50% + 140px);
  }
  
  #tech-labs-how .how-circle::after {
    content: "";
    position: absolute;
    left: 19px;
    width: 2px;
    height: 140px;
    background-image: linear-gradient(180deg, #BEBEBE 50%, transparent 50%);
    background-size: 2px 8px;
    z-index: 1;
  }
  
  #tech-labs-how .how-step.top .how-circle::after {
    top: 40px;
  }
  
  #tech-labs-how .how-step.bottom .how-circle::after {
    bottom: 40px;
  }
}

/* Mobile & Tablet Portrait layout */
@media (max-width: 768px) {
  #tech-labs-how .how-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
  }
  
  #tech-labs-how .how-track {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 19px;
    width: 2px;
    background-image: linear-gradient(180deg, #BEBEBE 50%, transparent 50%);
    background-size: 2px 8px;
    z-index: 1;
  }
  
  #tech-labs-how .how-step {
    position: relative;
    width: 100%;
    margin: 0;
    left: 0 !important;
  }
  
  #tech-labs-how .how-circle::after {
    display: none;
  }
}


#tech-labs-best-for {
  padding: 80px 0;
  background-color: #ffffff;
}

#tech-labs-best-for .section-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: #000;
  text-align: center;
  margin: 0 0 48px 0;
}

#tech-labs-best-for .best-for-wrapper {
  background-color: #F2F2F2;
  border: 1px solid #E7E7E7;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

#tech-labs-best-for .best-for-card {
  background-color: #ffffff;
  border: 1px solid #E7E7E7;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 171px; /* Matches SVG design */
  transition: all 0.3s ease;
}

#tech-labs-best-for .best-for-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: #D1D1D1;
}

#tech-labs-best-for .card-label {
  display: inline-flex;
  background-color: #F5F5F5;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 16px;
  font-weight: 500;
  color: #1D1D1D;
  text-transform: uppercase;
  margin-bottom: 24px;
  align-self: flex-start;
}

#tech-labs-best-for .card-desc {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 18px;
  color: #383838;
  margin: 0;
  line-height: 1.5;
}

/* Responsive constraints */
@media (max-width: 992px) {
  #tech-labs-best-for .best-for-wrapper {
    grid-template-columns: 1fr;
  }
  
  #tech-labs-best-for .best-for-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  #tech-labs-best-for {
    padding: 60px 0;
  }
  
  #tech-labs-best-for .card-label {
    font-size: 14px;
    padding: 6px 10px;
    margin-bottom: 16px;
  }
  
  #tech-labs-best-for .card-desc {
    font-size: 16px;
  }
}


#tech-labs-different {
  padding: 120px 0;
  background-color: #FAFAFA;
}

#tech-labs-different .section-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: #000;
  text-align: center;
  margin: 0 0 54px 0;
}

#tech-labs-different .diff-wrapper {
  background-color: #F2F2F2;
  border: 1px solid #E7E7E7;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

#tech-labs-different .diff-card {
  position: relative;
  background-color: #1F1F1F;
  border: 1px solid #E7E7E7;
  border-radius: 8px;
  height: 516px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#tech-labs-different .diff-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

#tech-labs-different .diff-card:hover .diff-card-bg {
  transform: scale(1.05);
}

#tech-labs-different .diff-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#tech-labs-different .diff-title {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  padding: 80px 32px 32px 32px;
  margin: 0;
  line-height: 1.3;
  transition: transform 0.5s ease;
}

#tech-labs-different .diff-card:hover .diff-title {
  transform: translateY(-10px);
}

#tech-labs-different .diff-desc {
  font-family: var(--font-sans, 'Satoshi', sans-serif);
  font-size: 16px;
  color: #C5C5C5;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px;
  margin: 0;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;

  /* Hover Animation */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#tech-labs-different .diff-card:hover .diff-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Tablet */
@media (max-width: 992px) {
  #tech-labs-different {
    padding: 80px 0;
  }
  
  #tech-labs-different .diff-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  #tech-labs-different .diff-card {
    height: 400px;
  }
}

/* Responsive Mobile */
@media (max-width: 768px) {
  #tech-labs-different {
    padding: 60px 0;
  }
  
  #tech-labs-different .diff-title {
    font-size: 20px;
    padding: 48px 24px 24px 24px;
  }
  
  #tech-labs-different .diff-desc {
    font-size: 14px;
    padding: 24px;
  }
  
  #tech-labs-different .diff-card {
    height: 380px;
  }
}


/* ============================================================
   #tech-labs-faq — FAQ Section
   Page: services/tech-labs
   CSS-only accordion using <details>/<summary>
   ============================================================ */

#tech-labs-faq {
  background: #ffffff;
  padding: 4rem 0;
}

#tech-labs-faq .section-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Section Title --- */
#tech-labs-faq .section-title {
  font-family: 'Satoshi Variable', 'Satoshi', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #181818;
  text-align: center;
  margin: 0 0 3rem;
}

/* --- FAQ List --- */
#tech-labs-faq .faq-list {
  max-width: 1072px;
  margin: 0 auto;
}

/* --- FAQ Item --- */
#tech-labs-faq .faq-item {
  border-bottom: 1px solid #dddddd;
}

/* --- Question (summary) --- */
#tech-labs-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

/* Remove default marker */
#tech-labs-faq .faq-question::-webkit-details-marker {
  display: none;
}

#tech-labs-faq .faq-question::marker {
  display: none;
  content: "";
}

/* Number prefix */
#tech-labs-faq .faq-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.125rem;
  font-weight: 600;
  color: #d9212e;
  flex-shrink: 0;
  min-width: 3rem;
}

/* Question text */
#tech-labs-faq .faq-text {
  font-family: 'Satoshi Variable', 'Satoshi', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #000000;
  flex: 1;
}

/* Chevron icon */
#tech-labs-faq .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: auto;
  transition: transform 0.25s ease;
}

#tech-labs-faq .faq-icon::before,
#tech-labs-faq .faq-icon::after {
  content: "";
  position: absolute;
  background: #323232;
  border-radius: 1px;
}

/* Horizontal bar */
#tech-labs-faq .faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Vertical bar (becomes + when closed) */
#tech-labs-faq .faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* When open: vertical bar disappears (- sign) */
#tech-labs-faq .faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* --- Answer --- */
#tech-labs-faq .faq-answer {
  padding: 0 0 1.25rem 4rem;
}

#tech-labs-faq .faq-answer p {
  font-family: 'Satoshi Variable', 'Satoshi', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #292929;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

#tech-labs-faq .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Responsive — Tablet (768px)
   ============================================================ */
@media (min-width: 768px) {
  #tech-labs-faq {
    padding: 5rem 0;
  }

  #tech-labs-faq .section-inner {
    padding: 0 2.5rem;
  }

  #tech-labs-faq .faq-number {
    font-size: 1.25rem;
    min-width: 3.5rem;
  }

  #tech-labs-faq .faq-text {
    font-size: 1.25rem;
  }

  #tech-labs-faq .faq-answer {
    padding-left: 4.5rem;
  }

  #tech-labs-faq .faq-answer p {
    font-size: 1.125rem;
  }
}

/* ============================================================
   Responsive — Desktop (1024px)
   ============================================================ */
@media (min-width: 1024px) {
  #tech-labs-faq {
    padding: 5.5rem 0;
  }

  #tech-labs-faq .section-inner {
    padding: 0 5rem;
  }

  #tech-labs-faq .section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
  }

  #tech-labs-faq .faq-question {
    padding: 1.5rem 0;
  }
}


