/**
 * Shared styles for Technology sub-pages (Languages & Platforms)
 * Used by language/*.html and platform/*.html - TekRevol-inspired layout
 */

/* Hero section - breadcrumb and title area */
.tech-hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .tech-hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

/* Consultation form card */
.tech-consult-card {
  border-radius: 2rem;
  border: 1px solid rgba(229, 231, 235, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}
.dark .tech-consult-card {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Why We Prefer section - benefit cards */
.tech-benefit-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(229, 231, 235, 1);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tech-benefit-card:hover {
  border-color: rgba(185, 6, 6, 0.3);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}
.dark .tech-benefit-card {
  border-color: rgba(255, 255, 255, 0.05);
}
.dark .tech-benefit-card:hover {
  border-color: rgba(185, 6, 6, 0.4);
}

/* CTA section dark background */
.tech-cta-section {
  background-color: #0c0a09;
  position: relative;
  overflow: hidden;
}
.tech-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(185, 6, 6, 0.08), transparent 50%);
  pointer-events: none;
}

/* Mega menu link styling in tech dropdown */
.tech-mega-link {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: rgb(107, 114, 128);
  transition: color 0.15s;
}
.tech-mega-link:hover {
  color: rgb(185, 6, 6);
}
.dark .tech-mega-link {
  color: rgb(156, 163, 175);
}
.dark .tech-mega-link:hover {
  color: rgb(248, 113, 113);
}
