/* ==========================================================================
   FINLOGIC THEME — Curacel-inspired design layer
   Loads after main.css and restyles the whole site:
   typography, buttons, cards, nav, footer, sections.
   ========================================================================== */

/* Site-wide typeface: Plus Jakarta Sans, matching the redesigned homepage (css/home.css) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --fl-green: #2f9e52;          /* primary action green (refined from #66BB6A) */
  --fl-green-dark: #257f41;     /* hover */
  --fl-green-soft: #eaf7ee;     /* soft tint backgrounds (Curacel lilac equivalent) */
  --fl-green-border: #d5eeda;
  --fl-ink: #0e1633;            /* near-black navy for headings */
  --fl-secondary: #000066;      /* brand secondary — dark backgrounds */
  --fl-navy: #100f5e;           /* legacy brand navy (kept for continuity) */
  --fl-body: #4b5468;           /* body text */
  --fl-muted: #6b7280;
  --fl-line: #e8ecf3;           /* hairline borders */
  --fl-bg-tint: #f6f9f7;        /* alt section background */
  --fl-radius-lg: 24px;
  --fl-radius-md: 16px;
  --fl-shadow-sm: 0 1px 2px rgba(14, 22, 51, 0.05);
  --fl-shadow-md: 0 12px 32px rgba(14, 22, 51, 0.08);
  --fl-shadow-lg: 0 24px 60px rgba(14, 22, 51, 0.12);
  --fl-font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --fl-font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   1. GLOBAL TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
  font-family: var(--fl-font-body) !important;
  color: var(--fl-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display1-size, .display2-size, .display3-size,
.display4-size, .display5-size, .display6-size {
  font-family: var(--fl-font-display) !important;
  color: var(--fl-ink);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1, .h1 { font-weight: 700; }
h2, .h2, h3, .h3 { font-weight: 700; }
h4, .h4, h5, .h5 { font-weight: 600; }

p { color: var(--fl-body); }

/* Legacy font utility classes now map to the new pairing */
.font-dm { font-family: var(--fl-font-body) !important; }
.font-sora { font-family: var(--fl-font-display) !important; }

/* Legacy inline navy headings stay readable; unify link color */
a { transition: color .2s ease; }
a:hover { color: var(--fl-green); }

/* Eyebrow label (Curacel-style small caps kicker) */
.eyebrow {
  display: inline-block;
  font-family: var(--fl-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fl-green);
  margin-bottom: 14px;
}

/* Section rhythm */
.section-pad { padding: 96px 0; }
@media (max-width: 991px) { .section-pad { padding: 64px 0; } }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: 14px;
}
.section-head p { font-size: 1.06rem; color: var(--fl-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   2. BUTTONS — pill shaped, Curacel-style
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 999px !important;
  font-family: var(--fl-font-body);
  font-weight: 600;
  letter-spacing: 0;
  padding: 12px 28px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--fl-shadow-md); }
.btn:active { transform: translateY(0); }

/* Primary green pill (also catches legacy inline background:#66BB6A buttons) */
.btn-fl-primary,
.btn[style*="#66BB6A"], .btn[style*="#66bb6a"] {
  background: var(--fl-green) !important;
  color: #fff !important;
  border: none;
}
.btn-fl-primary:hover,
.btn[style*="#66BB6A"]:hover, .btn[style*="#66bb6a"]:hover {
  background: var(--fl-green-dark) !important;
  color: #fff !important;
}

/* Ghost / outline pill */
.btn-fl-ghost {
  background: #fff;
  color: var(--fl-ink) !important;
  border: 1.5px solid var(--fl-line);
}
.btn-fl-ghost:hover { border-color: var(--fl-ink); background: #fff; }

/* Dark pill */
.btn-fl-dark { background: var(--fl-secondary); color: #fff !important; border: none; }
.btn-fl-dark:hover { background: #1a1a80; }

/* --------------------------------------------------------------------------
   3. HEADER / NAV
   -------------------------------------------------------------------------- */
/* Transparent while the page is at the top so the hero artwork runs behind the
   nav; main.js adds .scroll-header once the page moves, and that state goes
   back to the solid bar so nav text stays readable over scrolling content. */
.header-wrapper {
  background: transparent !important;
  border-bottom: 0 !important;
  transition: background .25s ease, border-color .25s ease;
}
.header-wrapper.scroll-header {
  background: #fff !important;
  border-bottom: 1px solid var(--fl-line) !important;
}
/* Frosted blur on desktop only — backdrop-filter on the header turns it into
   the containing block for the fixed-position mobile menu drawer, which
   traps and hides the menu. Never apply it below 992px. */
@media (min-width: 992px) {
  .header-wrapper {
    background: rgba(255, 255, 255, 0.10) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
  .header-wrapper.scroll-header {
    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
  }
}
/* Header content column == page content column. Bootstrap's .container is
   1320px with 12px gutters; every section on the site uses .lp-wrap, which is
   1300px with 24px gutters, so the logo sat ~2px inside the hero heading. The
   brand PNG also carries ~4px of transparent padding on its left edge (content
   box starts at x17 of 486, shown at 52px tall), which the negative margin
   cancels so the visible mark - not the file - lines up with the copy below. */
.header-wrapper .navbar > .container {
  max-width: calc(1300px + 48px);
  padding-left: 24px;
  padding-right: 24px;
}
.header-wrapper .navbar-brand img { margin-left: -4.2px; }
@media (max-width: 767px) {
  .header-wrapper .navbar > .container { padding-left: 16px; padding-right: 16px; }
}

.navbar-nav .nav-link {
  font-family: var(--fl-font-body);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--fl-ink) !important;
  padding: 10px 6px;
}
.navbar-nav .nav-link:hover { color: var(--fl-green) !important; }

/* Leading item icons. main.css rotates any svg inside .nav-link on hover (that
   rule is for the dropdown caret), so the leading icon has to opt out of it. */
.navbar-nav .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.navbar-nav .nav-link .nav-ico { flex: 0 0 auto; color: var(--fl-muted); transition: color .15s ease; }
.navbar .navbar-nav .nav-item .nav-link:hover .nav-ico { transform: none; color: var(--fl-green); }
@media (max-width: 991.98px) {
  /* The mobile rule is justify-content: space-between, which would strand the
     icon away from its label — push only the caret to the far edge instead. */
  .navbar-one .navbar-nav .nav-item .nav-link { justify-content: flex-start; }
  .navbar-one .navbar-nav .nav-item .nav-link > svg:not(.nav-ico) { margin-left: auto; }
}

/* Dropdown panels */
.sub-menu {
  border: 1px solid var(--fl-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--fl-shadow-lg) !important;
  padding: 10px !important;
  background: #fff;
}
.sub-menu--item a {
  border-radius: 10px;
  padding: 10px 14px !important;
  font-weight: 500;
  color: var(--fl-ink) !important;
  display: block;
  transition: background .15s ease, color .15s ease;
}
.sub-menu--item a:hover {
  background: var(--fl-green-soft);
  color: var(--fl-green-dark) !important;
}

/* --------------------------------------------------------------------------
   4. HERO
   -------------------------------------------------------------------------- */
.fl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 158, 82, 0.10), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(16, 15, 94, 0.06), transparent 55%),
    #fff;
}
.fl-hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--fl-ink);
}
.fl-hero .lead-copy {
  font-size: 1.13rem;
  color: var(--fl-muted);
  max-width: 34rem;
  line-height: 1.7;
}
.fl-hero-img {
  border-radius: var(--fl-radius-lg);
}
.hero-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-badges .badge-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--fl-muted);
}
.hero-badges .badge-item i { color: var(--fl-green); }

/* Legacy banner backgrounds → soft tint */
.bg-gradient-home-banner,
.light-blue-banner {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(47, 158, 82, 0.10), transparent 60%),
    linear-gradient(180deg, var(--fl-bg-tint), #ffffff) !important;
}
.banner-wrap h1, .banner-wrap h2 {
  letter-spacing: -0.025em;
  color: var(--fl-ink) !important;
}

/* --------------------------------------------------------------------------
   5. LOGO MARQUEE (trust bar) — full-color logos
   -------------------------------------------------------------------------- */
.partners-section .eyebrow-center { text-align: center; }
.partner-logo-wrap img,
.marquee-track img {
  filter: none;
  transition: transform .25s ease;
}
.partner-logo-wrap img:hover,
.marquee-track img:hover { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   6. CARDS
   -------------------------------------------------------------------------- */
.service-card,
.fl-card {
  border: 1px solid var(--fl-line) !important;
  border-radius: var(--fl-radius-lg) !important;
  background: #fff;
  box-shadow: var(--fl-shadow-sm);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover,
.fl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fl-shadow-md);
  border-color: var(--fl-green-border) !important;
}
.service-card h3, .service-card h4, .fl-card h3, .fl-card h4 {
  color: var(--fl-ink) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  margin-top: 20px;
}
.service-card p, .fl-card p { color: var(--fl-body); font-size: 1rem; }

/* Icon chip */
.icon-chip {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--fl-green-soft);
  color: var(--fl-green);
  font-size: 24px;
}

/* Soft tinted feature panel (Curacel's lilac panels) */
.tint-panel {
  background: var(--fl-green-soft);
  border-radius: var(--fl-radius-lg);
  border: 1px solid var(--fl-green-border);
}
.tint-panel-gray { background: var(--fl-bg-tint); border: 1px solid var(--fl-line); border-radius: var(--fl-radius-lg); }

/* Alternating product rows */
.product-row { padding: 48px 0; }
.product-row .product-visual {
  border-radius: var(--fl-radius-lg);
  overflow: hidden;
  background: var(--fl-bg-tint);
  border: 1px solid var(--fl-line);
}
.product-row .product-visual img { width: 100%; display: block; }
.product-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--fl-body);
}
.feature-list li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 1px;
  color: var(--fl-green);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. STATS BAND — secondary color background
   -------------------------------------------------------------------------- */
.stats-box {
  background: var(--fl-secondary) !important;
  border-radius: var(--fl-radius-lg) !important;
  padding: 56px 32px !important;
  margin-top: 80px;
}
.stats-box .stat-number {
  font-family: var(--fl-font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.stats-box .stat-plus { color: var(--fl-green); font-size: 2rem; font-weight: 700; }
.stats-box .stat-text { color: rgba(255,255,255,.72); font-size: 1rem; font-weight: 400; margin-top: 4px; }

/* --------------------------------------------------------------------------
   8. TESTIMONIALS — light cards (Curacel style)
   -------------------------------------------------------------------------- */
.feedback-wrap { background: var(--fl-bg-tint) !important; }
.feedback-wrap h2 { color: var(--fl-ink) !important; }
.feedback-wrap .section-sub { color: var(--fl-muted) !important; }
.feedback,
.feedback.bg-dark-gray, .feedback.bg-gray-800 {
  background: #fff !important;
  border: 1px solid var(--fl-line);
  border-radius: var(--fl-radius-lg) !important;
  box-shadow: var(--fl-shadow-sm);
}
.feedback p { color: var(--fl-ink) !important; font-size: 1.05rem !important; font-weight: 400 !important; line-height: 1.75; }
.feedback .quote-icon { color: var(--fl-green-border) !important; }
.feedback .author-name { color: var(--fl-ink) !important; font-weight: 600; }
.feedback .author-role { color: var(--fl-muted) !important; }
/* legacy inner text colors */
.feedback .text-gray-100, .feedback .text-gray-300 { color: var(--fl-ink) !important; }
.feedback .text-gray-300, .feedback span.fs-14 { color: var(--fl-muted) !important; }
.feedback .text-gray-600 { color: var(--fl-green-border) !important; }

/* --------------------------------------------------------------------------
   9. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--fl-line) !important;
  border-radius: var(--fl-radius-md) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.accordion-button {
  font-family: var(--fl-font-body) !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  color: var(--fl-ink) !important;
  padding: 20px 22px;
}
.accordion-button:not(.collapsed) {
  background: var(--fl-green-soft) !important;
  color: var(--fl-green-dark) !important;
  box-shadow: none !important;
}
.accordion-button:focus { box-shadow: none !important; }
.accordion-body p { font-size: .98rem !important; line-height: 1.7 !important; }

/* --------------------------------------------------------------------------
   10. CTA BANDS — secondary color background
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--fl-radius-lg);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band.cta-dark {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(47,158,82,.25), transparent 60%),
    var(--fl-secondary);
}
.cta-band.cta-green {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--fl-green), #1f7c3e);
}
.cta-band h3 { color: #fff !important; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 0; }
.cta-band p { color: rgba(255,255,255,.8); }
@media (max-width: 991px) { .cta-band { padding: 44px 28px; } }

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer-wrap {
  background: var(--fl-bg-tint) !important;
  border-top: 1px solid var(--fl-line);
  padding-top: 64px;
}
.footer-wrap .footer-link-title {
  font-family: var(--fl-font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--fl-ink) !important;
}
.footer-wrap .footer-link a {
  color: var(--fl-muted) !important;
  font-size: .95rem;
  transition: color .15s ease;
}
.footer-wrap .footer-link a:hover { color: var(--fl-green) !important; }
.footer-wrap .footer-about { color: var(--fl-muted); font-size: .95rem; line-height: 1.75; }
.footer-wrap .footer-contact { color: var(--fl-muted); font-size: .92rem; }
.footer-wrap .footer-contact i { color: var(--fl-green); }
.footer-wrap .footer-legal { color: var(--fl-muted); font-size: .85rem; line-height: 1.7; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fl-line);
  background: #fff;
  color: var(--fl-ink);
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--fl-green); border-color: var(--fl-green); color: #fff; }

/* --------------------------------------------------------------------------
   12. MISC POLISH (site-wide)
   -------------------------------------------------------------------------- */
img.img-fluid { border-radius: 0; }
.rounded-4 { border-radius: var(--fl-radius-lg) !important; }
.box-shadow-light-cyan { box-shadow: var(--fl-shadow-sm) !important; }

/* Legacy step timeline (Core services) */
.steps::before { background-color: var(--fl-green-border) !important; }
.step-number {
  border-color: var(--fl-green) !important;
  color: var(--fl-green) !important;
  background: var(--fl-green-soft) !important;
}
.step-title { color: var(--fl-ink) !important; font-family: var(--fl-font-display); }
.step-text { color: var(--fl-body) !important; }

/* Forms */
.form-control, .form-select {
  border-radius: 12px !important;
  border-color: var(--fl-line) !important;
  padding: 12px 16px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--fl-green) !important;
  box-shadow: 0 0 0 4px rgba(47, 158, 82, .12) !important;
}

/* WhatsApp float aligns with brand */
.whatsapp-float { box-shadow: var(--fl-shadow-md) !important; }

/* Selection color */
::selection { background: rgba(47, 158, 82, .2); }

/* Scroll-top arrow */
.arrow-round-wrap.primary .text-primary { color: var(--fl-green) !important; }

/* Media mention logos — full color */
.media-logos img { filter: none; transition: transform .25s ease; height: 34px; }
.media-logos img:hover { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   APP DOWNLOAD BAND — glossy navy strip below hero
   -------------------------------------------------------------------------- */
.app-band {
  background: linear-gradient(135deg, #0d0d99 0%, #000066 50%, #00004d 100%);
  border-radius: 28px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.app-band::before {
  /* glossy diagonal sheen */
  content: "";
  position: absolute;
  top: -60%; left: -8%;
  width: 55%; height: 220%;
  background: linear-gradient(105deg, rgba(255,255,255,.16), rgba(255,255,255,0) 65%);
  transform: rotate(10deg);
  pointer-events: none;
}
.app-band::after {
  /* soft light glow, same hue */
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.app-band > * { position: relative; z-index: 1; }
.app-band .qr-tile {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.app-band .qr-tile img { width: 100%; height: 100%; border-radius: 8px; }
.app-band .ab-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.22);
}
.app-band .ab-kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}
.app-band .ab-title {
  font-family: var(--fl-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 6px;
  line-height: 1.2;
}
.app-band .ab-sub { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 0; }
.app-band .ab-download-label { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 12px; }
.btn-store {
  background: #fff !important;
  color: var(--fl-ink) !important;
  border: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.btn-store i { font-size: 1.15rem; }
.btn-store:hover { background: #f1f3f7 !important; color: var(--fl-ink) !important; }
@media (max-width: 991px) {
  .app-band { padding: 32px 26px; }
  .app-band .ab-divider { display: none; }
}

/* --------------------------------------------------------------------------
   13. POLICY / LEGAL PAGES (.our-skill is unique to policy pages)
   -------------------------------------------------------------------------- */
.our-skill {
  max-width: 820px;
  margin: 0 auto;
}
.our-skill p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--fl-body);
  margin-bottom: 1.1rem;
}
.our-skill .policy-h {
  font-family: var(--fl-font-display) !important;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fl-ink);
  letter-spacing: -0.015em;
  margin: 2.6rem 0 1rem;
  padding-top: 0.4rem;
}
.our-skill .policy-h:first-of-type { margin-top: 1rem; }
.our-skill hr {
  border: none;
  border-top: 1px solid var(--fl-line);
  opacity: 1;
  margin: 2.2rem 0 0.4rem;
}
.our-skill ul.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.our-skill ul.policy-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.75;
  color: var(--fl-body);
}
.our-skill ul.policy-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fl-green);
}
/* meta card: effective date / version lines */
.our-skill .policy-meta {
  display: inline-block;
  background: var(--fl-green-soft);
  border: 1px solid var(--fl-green-border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: .92rem;
  color: var(--fl-ink);
  margin-bottom: 1.4rem;
}
.our-skill strong { color: var(--fl-ink); font-weight: 600; }
.our-skill a { color: var(--fl-green); text-decoration: underline; text-underline-offset: 3px; }
