/* Front fallback styles for landing pages when template assets are unavailable. */

:root {
  --lb-primary: #e11d48;
  --lb-dark: #111827;
  --lb-muted: #6b7280;
  --lb-bg: #f8fafc;
}

html,
body {
  background: var(--lb-bg);
  color: #1f2937;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.section-py {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.first-section-pt {
  padding-top: 6rem;
}

.h-px-300 {
  height: 300px;
}

.w-px-200 {
  width: 200px;
}

.text-lg {
  font-size: 1.1rem;
}

.text-md {
  font-size: 1rem;
}

.layout-navbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
}

.landing-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5e7eb;
  min-height: 70px;
}

.landing-navbar .nav-link {
  color: #374151;
}

.landing-navbar .nav-link:hover {
  color: var(--lb-primary);
}

.landing-nav-menu .dropdown-menu {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

@media (min-width: 992px) {
  .mega-dropdown > .dropdown-menu {
    display: none;
  }

  .mega-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.bg-label-primary {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.12);
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
}

.avatar.avatar-sm {
  width: 1.75rem;
  height: 1.75rem;
}

.avatar .avatar-initial {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.landing-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.icon-box {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
}

.btn-primary,
.btn-danger {
  border: 0;
}

.landing-faq .accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.65rem;
}

.landing-faq .accordion-button {
  font-weight: 600;
}

.landing-contact .card {
  border-radius: 1rem;
}

.typed-container {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15rem;
}

.typed-container .typed {
  position: relative;
  z-index: 2;
  display: inline-block;
  border-right: 2px solid currentColor;
  padding-right: 0.12rem;
  color: #be123c;
  font-weight: 700;
}

.typed-container .underline {
  position: absolute;
  left: 0;
  bottom: 0.08rem;
  height: 0.48em;
  width: 0;
  z-index: 1;
  background: rgba(225, 29, 72, 0.24);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.fade-in {
  animation: lb-fade-in 0.7s ease both;
}

.slide-in-left {
  animation: lb-slide-in-left 0.7s ease both;
}

.shake {
  animation: lb-shake 4s ease-in-out infinite;
}

.wow {
  visibility: visible !important;
}

.rotate {
  display: inline-block;
}

.rotate-42 {
  transform: rotate(42deg);
}

.rotate-316 {
  transform: rotate(316deg);
}

.rotate-318 {
  transform: rotate(318deg);
}

.landing-footer {
  margin-top: 3rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.landing-footer a {
  color: #334155;
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--lb-primary);
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lb-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lb-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}
