/* ============================================================
   Techify CODE LABS — design tokens
   Palette: deep indigo-navy base + warm amber/gold accent.
   Signals "trustworthy technology" (navy) and "energy / craft"
   (gold — ties solar power and embroidery thread together).
   Type: Poppins (display, geometric, confident) / Inter (body, UI).
   Elevation + motion follow Material principles; components are
   Bootstrap 5 restyled with these tokens (Material Bootstrap).
   ============================================================ */

:root {
  --navy-950: #060A14;
  --navy-900: #0B1220;
  --navy-800: #121C33;
  --navy-700: #1B2947;
  --navy-600: #2A3B63;
  --navy-line: rgba(255, 255, 255, 0.08);

  --gold-300: #FBD48A;
  --gold-400: #F7BB4E;
  --gold-500: #F5A623;
  --gold-600: #C47D0F;
  --gold-700: #94600D;

  --ink-0: #FFFFFF;
  --ink-100: #E9EDF7;
  --ink-300: #B7C0D6;
  --ink-500: #8592AD;

  --success-500: #33C48C;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --elev-1: 0 1px 2px rgba(3, 6, 14, 0.4), 0 1px 1px rgba(3, 6, 14, 0.3);
  --elev-2: 0 6px 16px rgba(3, 6, 14, 0.35), 0 2px 6px rgba(3, 6, 14, 0.3);
  --elev-3: 0 16px 40px rgba(3, 6, 14, 0.45), 0 6px 14px rgba(3, 6, 14, 0.35);

  --container-max: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--font-display);
  color: var(--ink-0);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-300); }

::selection { background: var(--gold-500); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-Techify {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container-Techify { padding-inline: 2rem; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.text-muted-Techify { color: var(--ink-300) !important; }
.text-faint-Techify { color: var(--ink-500) !important; }

.section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.mx-auto-center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Buttons (Material-style: filled + tonal + outline) ---------- */

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  border: 1px solid transparent;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--elev-1);
}
.btn-gold:hover {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--navy-950);
  box-shadow: var(--elev-2);
}

.btn-outline-Techify {
  background: transparent;
  color: var(--ink-0);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-outline-Techify:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-0);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-tonal {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-300);
  border-color: rgba(245, 166, 35, 0.25);
}
.btn-tonal:hover {
  background: rgba(245, 166, 35, 0.2);
  color: var(--gold-200, var(--gold-300));
}

.btn-whatsapp {
  background: #25D366;
  color: #06210F;
  box-shadow: var(--elev-1);
}
.btn-whatsapp:hover { background: #2fe374; color: #06210F; box-shadow: var(--elev-2); }

.btn-sm-pill { padding: 0.45rem 1rem; font-size: 0.9rem; }

/* ---------- Material "surface" card ---------- */

.surface {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-400);
  font-size: 1.4rem;
  flex-shrink: 0;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--navy-line);
  margin-block: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar-Techify {
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-line);
}

.navbar-brand-Techify {
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.navbar-brand-Techify .fs-5 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-gold-Techify { color: var(--gold-400); }

.nav-link-Techify {
  color: var(--ink-300);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav-link-Techify:hover { color: var(--ink-0); background: rgba(255, 255, 255, 0.06); }

/* Collapsed mobile menu: give it its own solid panel instead of
   floating bare over hero content, and stop the brand lockup from
   wrapping and colliding with the toggler at narrow widths. */
@media (max-width: 991.98px) {
  .navbar-brand-Techify .fs-5 { font-size: 1rem; }

  .navbar-collapse {
    background: var(--navy-900);
    border: 1px solid var(--navy-line);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: var(--elev-2);
    width: 100%;
    flex-basis: 100%;
  }
  .nav-link-Techify { padding: 0.75rem 0.9rem; }
  .navbar-nav .nav-item + .nav-item { border-top: 1px solid var(--navy-line); }
  .navbar-nav .nav-item.ms-lg-2 { border-top: none; padding-top: 0.5rem; }
}

@media (max-width: 400px) {
  .navbar-brand-Techify .fs-5 { font-size: 0.92rem; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero-Techify {
  position: relative;
  padding-top: 8.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(245, 166, 35, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(42, 59, 99, 0.5), transparent 55%),
    var(--navy-950);
}

.hero-trace {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero-trace svg { width: 100%; height: 100%; }

.trace-path {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: trace-draw 3.2s ease-out forwards;
}
.trace-path--dim { stroke: var(--navy-600); opacity: 0.55; animation-delay: 0.3s; }

.trace-node {
  fill: var(--gold-400);
  opacity: 0;
  animation: trace-node-in 600ms ease-out forwards;
}
.trace-node--big { fill: var(--gold-300); }
.trace-node:nth-of-type(1) { animation-delay: 1.1s; }
.trace-node:nth-of-type(2) { animation-delay: 1.5s; }
.trace-node:nth-of-type(3) { animation-delay: 1.9s; }
.trace-node:nth-of-type(4) { animation-delay: 2.3s; }
.trace-node:nth-of-type(5) { animation-delay: 2.1s; }
.trace-node:nth-of-type(6) { animation-delay: 1.3s; }
.trace-node:nth-of-type(7) { animation-delay: 1.7s; }
.trace-node:nth-of-type(8) { animation-delay: 2.4s; }

@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes trace-node-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .trace-path { stroke-dashoffset: 0; animation: none; opacity: 0.4; }
  .trace-node { opacity: 1; animation: none; }
}

.hero-content { position: relative; z-index: 1; }

.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 4px rgba(51, 196, 140, 0.18);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}

.hero-sub {
  color: var(--ink-300);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 42rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  color: var(--gold-400);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.hero-stat-label {
  color: var(--ink-500);
  font-size: 0.82rem;
  margin-top: 0.35rem;
  max-width: 9rem;
}

/* ---------- Slider card ---------- */

.slider-card {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-3);
  padding: 2.4rem 2rem 3.2rem;
  min-height: 320px;
}

.slider-panel { padding-inline: 0.25rem; }

.icon-tile--lg {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  font-size: 1.9rem;
}

.slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-0);
  font-size: 1rem;
}

.carousel-control-prev, .carousel-control-next {
  width: auto;
  top: auto;
  bottom: -0.5rem;
  opacity: 1;
}
.carousel-control-prev { left: 1.75rem; }
.carousel-control-next { right: 1.75rem; }

.slider-indicators {
  position: absolute;
  bottom: 1.6rem;
  margin: 0;
  gap: 0.4rem;
}
.slider-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  opacity: 1;
}
.slider-indicators .active { background: var(--gold-400); width: 22px; border-radius: 999px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  background: var(--navy-800);
  border-bottom: 1px solid var(--navy-line);
}
.trust-item {
  color: var(--ink-300);
  font-size: 0.86rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.trust-item i { color: var(--gold-400); }

/* ============================================================
   SERVICE GROUPS
   ============================================================ */

.service-group-head { position: sticky; top: 6.5rem; }

@media (max-width: 991.98px) {
  .service-group-head { position: static; }
}

.feature-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 166, 35, 0.35);
  background: var(--navy-700);
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-line);
  color: var(--ink-100);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* ============================================================
   AGENT PLATFORM
   ============================================================ */

.platform-panel {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(245, 166, 35, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-700));
}

.platform-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  height: 100%;
}

/* ============================================================
   ABOUT
   ============================================================ */

.ceo-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: inline-flex;
}

.ceo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  height: 100%;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-panel {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}

.contact-list li + li { margin-top: 0.9rem; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-line);
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.contact-row:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.3);
}

.quick-cta-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  height: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer-Techify {
  background: var(--navy-950);
  border-top: 1px solid var(--navy-line);
}

.footer-heading {
  color: var(--ink-0);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links li + li { margin-top: 0.6rem; }
.footer-links a {
  color: var(--ink-500);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--gold-300); }

.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-100);
  transition: background-color 160ms ease, color 160ms ease;
}
.social-icon:hover { background: var(--gold-500); color: var(--navy-950); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #06210F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--elev-3);
  z-index: 1030;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { color: #06210F; transform: translateY(-2px); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: var(--elev-3), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: var(--elev-3), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.policy-hero {
  padding-top: 8.5rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(245, 166, 35, 0.10), transparent 60%),
    var(--navy-950);
  border-bottom: 1px solid var(--navy-line);
}

.policy-notice {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--gold-200, var(--gold-300));
  font-size: 0.92rem;
  line-height: 1.6;
}

.policy-block { margin-bottom: 2.25rem; }
.policy-block p { max-width: 62ch; }

.policy-list {
  color: var(--ink-300);
  padding-left: 1.2rem;
}
.policy-list li { margin-bottom: 0.6rem; max-width: 62ch; }

.policy-toc { position: sticky; top: 6.5rem; }
.policy-toc-list {
  padding-left: 1.1rem;
  color: var(--ink-500);
  font-size: 0.9rem;
}
.policy-toc-list a { color: var(--ink-300); }
.policy-toc-list a:hover { color: var(--gold-300); }

/* ============================================================
   PRIVACY POLICY NAVBAR (brand + standalone back button, no
   hamburger to collapse into — needs its own narrow-width rule
   so the two elements never fight for the same row)
   ============================================================ */

@media (max-width: 420px) {
  .navbar-policy-row .navbar-brand-Techify .fs-5 { font-size: 0.92rem; }
  .navbar-policy-row .back-home-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .navbar-policy-row .back-home-btn i { margin: 0; }
  .navbar-policy-row .back-home-label { display: none; }
}
