/* ===========================
   Global font & background
   =========================== */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f8fafc;
}

/* If you still use hero-bg & gradient-text anywhere */
.hero-bg {
  background: linear-gradient(rgba(16,115,64,0.85), rgba(10,77,42,0.85)),
              url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.gradient-text {
  background: linear-gradient(to right, #a7f3d0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hide old Astra footer copyright bar */
.site-info,
.footer-bottom,
.footer-credits {
  display: none !important;
}

/* ===========================
   PurnaFinX – SINGLE HEADER STYLE
   =========================== */

.pfx-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

/* Layout */
.pfx-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.pfx-header-logo {
  flex-shrink: 0;
}

.pfx-logo-link {
  text-decoration: none;
}

.pfx-logo-main {
  display: block;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #019000;
}

.pfx-logo-tagline {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6b7280;
}

/* Desktop nav */
.pfx-header-nav {
  flex: 1;
}

.pfx-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* Base nav link */
.pfx-header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.18s ease-out,
    background-color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out;
}

/* Hover */
.pfx-header-nav a:hover {
  color: #019000;
}

/* Active nav pill */
.pfx-header-nav a.is-active {
  background: radial-gradient(circle at top, #e7fff2, #d9fff0);
  color: #047857;
  box-shadow: 0 18px 35px rgba(1, 144, 0, 0.16);
  transform: translateY(-1px);
}

.pfx-header-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* CTA buttons container */
.pfx-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Generic button */
.pfx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out;
}

/* PRIMARY – Book a call (same on ALL pages) */
.pfx-header .pfx-btn-primary {
  background: radial-gradient(circle at top, #22c55e, #16a34a);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 26px 60px rgba(22, 163, 74, 0.45);
  font-size: 14px;
  padding-inline: 24px;
}

.pfx-header .pfx-btn-primary:hover {
  background: radial-gradient(circle at top, #16a34a, #15803d);
  box-shadow: 0 30px 70px rgba(22, 163, 74, 0.6);
  transform: translateY(-1px) scale(1.02);
}

/* Mobile burger */
.pfx-header-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
  margin-left: 4px;
  border-radius: 999px;
  cursor: pointer;
}

.pfx-header-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.pfx-header-toggle span + span {
  margin-top: 4px;
}

/* Mobile nav */
.pfx-header-mobile-nav {
  display: none;
  background: #020617;
}

.pfx-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 10px 16px 18px;
  max-width: 1180px;
  margin-inline: auto;
}

.pfx-mobile-nav-list li {
  margin: 6px 0;
}

.pfx-mobile-nav-list a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 14px;
}

.pfx-mobile-nav-list a:hover {
  color: #bbf7d0;
}

.pfx-mobile-cta {
  margin-top: 10px;
}

/* When header is open on mobile */
.pfx-header.pfx-header-open .pfx-header-mobile-nav {
  display: block;
}

.pfx-header.pfx-header-open .pfx-header-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.pfx-header.pfx-header-open .pfx-header-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Responsive breakpoints */
@media (max-width: 960px) {
  .pfx-header-inner {
    padding-inline: 12px;
  }
  .pfx-header-nav {
    display: none;
  }
  .pfx-header-cta {
    display: none;
  }
  .pfx-header-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
  .pfx-logo-main {
    font-size: 18px;
  }
  .pfx-logo-tagline {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  .pfx-header-inner {
    padding-inline: 10px;
  }
  .pfx-logo-tagline {
    display: none;
  }
}

/* Last safeguard: nobody overrides the CTA color */
.pfx-header .pfx-btn-primary {
  background: radial-gradient(circle at top, #22c55e, #16a34a) !important;
  color: #ffffff !important;
}
