/* ===========================
   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;
  }
}

/* ============================================================
   PurnaFinX Footer — Premium CSS  v2.0
   Theme: Deep forest green + charcoal dark bg + gold accents
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --pfx-green-dark:   #0f6b2c;
  --pfx-green:        #15803d;
  --pfx-green-light:  #22c55e;
  --pfx-gold:         #d4a017;
  --pfx-bg:           #0d1a0f;
  --pfx-bg-card:      #13261a;
  --pfx-border:       rgba(34,197,94,.12);
  --pfx-text-primary: #e8f0ea;
  --pfx-text-muted:   #8da898;
  --pfx-radius:       12px;
  --pfx-transition:   0.3s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Header safeguard (unchanged)
   ============================================================ */
.pfx-header .pfx-btn-primary {
  background: radial-gradient(circle at top, #22c55e, #16a34a) !important;
  color: #ffffff !important;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pfx-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pfx-shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}

@keyframes pfx-pulse-border {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

@keyframes pfx-dot-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .25; }
}

/* ============================================================
   FOOTER WRAPPER
   ============================================================ */
.pfx-footer {
  position: relative;
  background: var(--pfx-bg);
  color: var(--pfx-text-primary);
  padding: 72px 80px 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
}

/* Animated shimmer top border */
.pfx-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--pfx-green-light) 30%,
    var(--pfx-gold) 65%,
    transparent 100%
  );
  background-size: 1600px 2px;
  animation: pfx-shimmer 4s linear infinite;
}

/* Ambient glow orb */
.pfx-footer::after {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   TOP GRID
   ============================================================ */
.pfx-footer-top {
  display: grid;
  grid-template-columns: 2.2fr 2fr 1.6fr;
  gap: 52px;
  align-items: start;
  padding-bottom: 52px;
  animation: pfx-fadeUp .75s ease both;
}

/* Media + Connect always side by side */
.pfx-footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ============================================================
   BRAND COLUMN
   ============================================================ */
.pfx-footer-brand {
  display: flex;
  flex-direction: column;
}

.pfx-footer h3 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0 0 6px;
  background: linear-gradient(135deg, var(--pfx-green-light) 0%, var(--pfx-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pfx-footer-brand .pfx-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pfx-green-light);
  margin: 0 0 16px;
  opacity: .75;
}

.pfx-footer-brand .pfx-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--pfx-text-muted);
  max-width: 255px;
  margin: 0;
}

/* Pulsing live dot */
.pfx-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--pfx-text-muted);
  letter-spacing: .4px;
}
.pfx-live-dot::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pfx-green-light);
  animation: pfx-dot-blink 2s ease-in-out infinite;
}

/* ============================================================
   LINK COLUMNS  (Media / Connect)
   ============================================================ */
.pfx-footer-links {
  display: flex;
  flex-direction: column;
}

/* Section headings */
.pfx-footer h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--pfx-text-muted);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 12px;
}

.pfx-footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--pfx-green-light);
  border-radius: 2px;
  transition: width var(--pfx-transition);
}

.pfx-footer-links:hover h4::after,
.pfx-footer-cta:hover h4::after { width: 44px; }

/* Nav links */
.pfx-footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--pfx-text-primary);
  text-decoration: none;
  padding: 5px 0;
  margin-bottom: 2px;
  transition: color var(--pfx-transition), transform var(--pfx-transition);
}

/* Underline sweep */
.pfx-footer-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 1px;
  width: 0; height: 1.5px;
  background: var(--pfx-green-light);
  transition: width var(--pfx-transition);
  border-radius: 2px;
}

.pfx-footer-links a:hover {
  color: var(--pfx-green-light);
  transform: translateX(6px);
}
.pfx-footer-links a:hover::after { width: 100%; }

/* ============================================================
   EMAIL BUTTON
   ============================================================ */
.pfx-email-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 7px 17px !important;
  font-size: 13px !important;
  font-weight: 600;
  border: 1.5px solid var(--pfx-green);
  border-radius: 8px;
  color: var(--pfx-green-light) !important;
  background: rgba(34,197,94,.07);
  text-decoration: none;
  transition: all var(--pfx-transition);
  animation: pfx-pulse-border 2.5s ease-in-out infinite;
}

.pfx-email-btn:hover {
  background: var(--pfx-green-dark) !important;
  border-color: var(--pfx-green-dark) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(15,107,44,.45);
  animation: none;
}

.pfx-email-btn::after,
.pfx-footer-btn::after { display: none !important; }

/* ============================================================
   CTA COLUMN
   ============================================================ */
.pfx-footer-cta {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pfx-cta-card {
  background: var(--pfx-bg-card);
  border: 1px solid var(--pfx-border);
  border-radius: var(--pfx-radius);
  padding: 26px 24px;
  transition: border-color var(--pfx-transition), transform var(--pfx-transition), box-shadow var(--pfx-transition);
}

.pfx-cta-card:hover {
  border-color: rgba(34,197,94,.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

.pfx-cta-card p {
  font-size: 13px;
  color: var(--pfx-text-muted);
  margin: 0 0 16px;
  line-height: 1.65;
}

/* Primary CTA button */
.pfx-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--pfx-green) 0%, var(--pfx-green-dark) 100%);
  box-shadow: 0 4px 18px rgba(21,128,61,.3);
  transition: all var(--pfx-transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer sweep on hover */
.pfx-footer-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .55s ease;
}

.pfx-footer-btn:hover::before { left: 150%; }

.pfx-footer-btn:hover {
  background: linear-gradient(135deg, var(--pfx-green-light) 0%, var(--pfx-green) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(21,128,61,.5);
  color: #fff !important;
}

/* ============================================================
   BOTTOM BAR
   ============================================================ */
.pfx-footer-bottom {
  padding: 22px 0 32px;
  border-top: 1px solid var(--pfx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--pfx-text-muted);
}

.pfx-footer-bottom-links {
  display: flex;
  gap: 28px;
}

.pfx-footer-bottom-links a {
  font-size: 13px;
  color: var(--pfx-text-muted);
  text-decoration: none;
  position: relative;
  transition: color var(--pfx-transition);
}

.pfx-footer-bottom-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--pfx-green-light);
  transition: width var(--pfx-transition);
}

.pfx-footer-bottom-links a:hover { color: var(--pfx-green-light); }
.pfx-footer-bottom-links a:hover::after { width: 100%; }

.pfx-footer-bottom span { color: var(--pfx-text-muted); }
.footer-btn-connect-now { display: none; }

/* ============================================================
   TABLET  (768px – 1023px)
   ============================================================ */
@media (max-width:1023px) and (min-width:768px) {
  .pfx-footer { padding: 60px 48px 0; }

  .pfx-footer-top {
    grid-template-columns: 1.8fr 2fr;
    gap: 36px;
  }

  .pfx-footer-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pfx-cta-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
  }

  .pfx-cta-card p { margin: 0; flex: 1; }
}

/* ============================================================
   MOBILE  (≤767px)
   ============================================================ */
@media (max-width:767px) {
  .pfx-footer {
    padding: 48px 20px 0;
    text-align: center;
  }

  .pfx-footer::after {
    width: 280px; height: 280px;
    top: -60px; right: -60px;
  }

  .pfx-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  /* Media + Connect side by side in 2 columns */
  .pfx-footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Brand centered */
  .pfx-footer-brand {
    align-items: center;
  }
  .pfx-footer-brand .pfx-desc { text-align: center; max-width: 320px; }
  .pfx-footer h3 { font-size: 30px; }
  .pfx-live-dot { justify-content: center; }

  /* Link columns — card style on mobile */
  .pfx-footer-links {
    align-items: center;
    padding: 20px 24px;
    background: var(--pfx-bg-card);
    border: 1px solid var(--pfx-border);
    border-radius: var(--pfx-radius);
  }

  .pfx-footer-links:hover { border-color: rgba(34,197,94,.3); }

  .pfx-footer h4 { margin-bottom: 14px; }
  .pfx-footer h4::after { left: 50%; transform: translateX(-50%); }

  .pfx-footer-links a {
    justify-content: center;
    transform: none !important;
  }

  .pfx-email-btn { margin: 6px auto 0; }

  /* CTA full width */
  .pfx-footer-cta {
    justify-self: center;
    align-items: center;
    width: 100%;
  }
  .pfx-cta-card { width: 100%; box-sizing: border-box; }

  /* Bottom */
  .pfx-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-bottom: 32px;
  }
  .pfx-footer-bottom-links { display: none; }
}

/* ============================================================
   SMALL PHONE  (≤380px)
   ============================================================ */
@media (max-width:380px) {
  .pfx-footer { padding: 36px 14px 0; }
  .pfx-footer h3 { font-size: 26px; }
  .pfx-footer-btn { padding: 11px 18px; font-size: 13px; }
}