/* ==========================================================
   Repliq — supplementary styles
   Reusable buttons + extra animation polish, layered on
   top of the base styles (main.css) without modifying
   them directly.
   ========================================================== */

/* Generic primary CTA button, usable outside .about/.why-us scopes */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.btn-primary-custom:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.btn-outline-custom:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Section eyebrow / kicker label used above headings on inner pages */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Homepage "teaser" cards that link out to full pages */
.teaser-banner {
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teaser-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Numbered step cards for How It Works page */
.step-card-full {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.step-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.step-card-full .step-number {
  position: absolute;
  top: -18px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.step-card-full .step-icon {
  font-size: 34px;
  color: var(--accent-color);
  margin: 18px 0 18px;
}

/* Gentle pulse animation for primary CTA buttons in hero-style banners */
@keyframes repliq-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color), transparent 55%); }
  70% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent-color), transparent 100%); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color), transparent 100%); }
}

.cta-pulse {
  animation: repliq-pulse 2.4s infinite;
  border-radius: 50px;
}

/* Comparison-style "with vs without" cards on Features/How It Works pages */
.compare-card {
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: transform 0.3s ease;
}

.compare-card:hover {
  transform: translateY(-5px);
}

.compare-card.without {
  background: color-mix(in srgb, #ef4444, transparent 94%);
  border: 1px solid color-mix(in srgb, #ef4444, transparent 80%);
}

.compare-card.with {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.compare-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #475569;
}

.compare-card.without ul li i { color: #ef4444; margin-top: 3px; }
.compare-card.with ul li i { color: var(--accent-color); margin-top: 3px; }

/* Small stat pill row, reusable anywhere */
.pill-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.pill-stats span {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Slightly stronger hover lift for generic cards site-wide (subtle animation polish) */
.service-card, .feature-box, .capability-card, .step-card-full, .teaser-banner {
  will-change: transform;
}

/* Contact form-card controls — the base rules are scoped to
   .php-email-form, which the Repliq contact form deliberately does not use
   (it's a plain Laravel POST with flash messages, not an AJAX submit).
   Re-apply the same look here so the inputs and button stay on-brand. */
.contact .form-card .input-wrapper input,
.contact .form-card .input-wrapper textarea {
  width: 100%;
  height: 56px;
  padding: 16px 16px 16px 52px;
  font-size: 15px;
  color: var(--default-color);
  background: color-mix(in srgb, var(--default-color) 4%, transparent);
  border: 2px solid transparent;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.contact .form-card .input-wrapper.textarea-wrapper textarea {
  height: auto;
  min-height: 140px;
  padding-top: 16px;
}

.contact .form-card .input-wrapper input::placeholder,
.contact .form-card .input-wrapper textarea::placeholder {
  color: color-mix(in srgb, var(--default-color) 40%, transparent);
}

.contact .form-card .input-wrapper input:focus,
.contact .form-card .input-wrapper textarea:focus {
  outline: none;
  background: var(--surface-color);
  border-color: var(--accent-color);
}

.contact .form-card .btn-submit {
  width: 100%;
  height: 56px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact .form-card .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color) 85%, #000);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent-color) 40%, transparent);
}

.contact .form-card .btn-submit i {
  font-size: 20px;
}

.contact .form-card .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.contact .form-card .input-wrapper i {
  position: absolute;
  left: 18px;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
  z-index: 1;
}

.contact .form-card .input-wrapper.textarea-wrapper i {
  top: 18px;
}

.contact .form-card .input-wrapper input:focus ~ i,
.contact .form-card .input-wrapper textarea:focus ~ i {
  color: var(--accent-color);
}

/* ==========================================================
   Simplified one-line footer (logo · nav · social, then a
   thin copyright / legal bar). Replaces the old 4-column
   footer-top; .footer-bottom styling in main.css still applies.
   ========================================================== */
.footer .footer-oneline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer .footer-nav a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: color 0.3s ease;
}

.footer .footer-nav a:hover {
  color: var(--accent-color);
}

.footer .footer-bottom .copyright p a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: color 0.3s ease;
}

.footer .footer-bottom .copyright p a:hover {
  color: var(--accent-color);
}

@media (max-width: 767.98px) {
  .footer .footer-oneline {
    justify-content: center;
    text-align: center;
  }
  .footer .footer-nav {
    justify-content: center;
  }
}

/* Hero videos (Superadmin → Website → Hero videos) — full-width row below
   the hero grid: one big 16:9, or two side by side (stacked on mobile). */
.hero-videos {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
}
.hero-videos--two {
  grid-template-columns: 1fr 1fr;
}
.hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  background: #000;
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 767.98px) {
  .hero-videos {
    margin-top: 32px;
  }
  .hero-videos--two {
    grid-template-columns: 1fr;
  }
}

/* Contact page: the "About" heading uses the same type as the
   page-title "Get In Touch" (.page-title .title-wrapper h1). */
.about-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}
.about-title p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-title h2 {
    font-size: 2rem;
  }
  .about-title p {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .about-title h2 {
    font-size: 1.75rem;
  }
}
