/* =============================================================
   AXENTRA — Corporate / Enterprise Website Template
   Author: Premium Template Co.  |  License: Commercial single-use
   -------------------------------------------------------------
   REBRAND: Change the brand by editing the :root variables below.
   - Colors: swap --brand and accents to match your identity.
   - Fonts:  update the Google Fonts <link> in each .html <head>,
             then change --font-head / --font-body here.
   - Logo:   text logo lives in the header markup of every page.
   ============================================================= */

/* ---------- 1. Design Tokens (edit to rebrand) ---------- */
:root {
  /* Brand palette */
  --brand:        #4338ca;   /* enterprise indigo */
  --brand-dark:   #312e9e;
  --brand-light:  #6d63e6;
  --brand-tint:   #eef0fd;

  /* Neutrals */
  --ink:          #14152b;   /* near-black headings */
  --body:         #4a4d68;   /* body text */
  --muted:        #757891;   /* secondary text */
  --line:         #e5e6f0;   /* borders */
  --white:        #ffffff;
  --soft:         #f4f4fb;   /* soft alt background */

  /* Effects */
  --shadow-sm:  0 2px 8px rgba(20,21,43,.06);
  --shadow-md:  0 12px 32px rgba(20,21,43,.10);
  --shadow-lg:  0 28px 64px rgba(20,21,43,.16);
  --radius:     16px;
  --radius-sm:  10px;

  /* Layout */
  --maxw:       1180px;
  --gutter:     clamp(20px, 5vw, 48px);

  /* Type */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --transition: .35s cubic-bezier(.2,.7,.3,1);
}

/* ---------- 2. Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

h1,h2,h3,h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }

p { color: var(--body); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--soft); }
.section--ink  { background: var(--ink); color: #cfd0e6; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section--ink .eyebrow { color: var(--brand-light); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .97rem;
  color: var(--body);
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(1100px 540px at 85% -10%, rgba(109,99,230,.20), transparent 60%),
    radial-gradient(900px 500px at -5% 20%, rgba(67,56,202,.10), transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero p.lead { color: var(--body); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--muted); display:flex; align-items:center; gap:8px; }

/* Hero visual (pure CSS/SVG card) */
.hero-visual {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(160deg, #fff, var(--soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-visual .vstat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-visual .vstat:last-child { margin-bottom: 0; }
.vstat-label { font-size: .82rem; color: var(--muted); }
.vstat-value { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.25rem; }
.vbar { height: 8px; border-radius: 99px; background: var(--brand-tint); overflow: hidden; flex: 1; margin: 0 14px; }
.vbar i { display:block; height:100%; background: linear-gradient(90deg, var(--brand-light), var(--brand)); border-radius: 99px; }

/* ---------- 7. Page Banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(800px 380px at 80% -40%, rgba(109,99,230,.28), transparent 60%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: clamp(72px, 10vw, 130px) 0 clamp(52px, 7vw, 90px);
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 16px; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin-inline: auto; font-size: 1.12rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.crumbs a { color: #fff; }

/* ---------- 8. Trusted-by strip ---------- */
.trusted { padding: 44px 0; border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 6vw, 64px); }
.logo-item { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #9a9cb4; letter-spacing: -.02em; display:flex; align-items:center; gap:8px; }
.logo-item svg { opacity: .7; }

/* ---------- 9. Cards & Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.card .link { display:inline-flex; align-items:center; gap:6px; margin-top: 16px; color: var(--brand); font-weight:600; font-family: var(--font-head); font-size:.92rem; }
.card .link:hover { gap: 10px; }

/* ---------- 10. Why-us (split feature) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,72px); align-items: center; }
.feature-list li { display:flex; gap:16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .fic { flex: 0 0 auto; width: 42px; height:42px; border-radius:11px; background: var(--brand); color:#fff; display:grid; place-items:center; font-size:1.1rem; }
.feature-list h4 { font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; font-size: 1.05rem; }
.feature-list p { font-size: .94rem; }

/* ---------- 11. Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align:center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height:1; }
.section--ink .stat .num { color:#fff; }
.stat .num { color: var(--brand); }
.stat .lbl { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.section--ink .stat .lbl { color: #aeb0cf; }

/* ---------- 12. Testimonial ---------- */
.quote-card {
  max-width: 860px; margin-inline: auto; text-align: center;
}
.quote-card blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section--ink .quote-card blockquote { color:#fff; }
.quote-mark { font-size: 4rem; line-height: 0; color: var(--brand-light); font-family: Georgia, serif; }
.quote-author { margin-top: 28px; display:flex; align-items:center; justify-content:center; gap: 14px; }
.avatar { width: 52px; height:52px; border-radius:50%; background: linear-gradient(135deg, var(--brand-light), var(--brand-dark)); display:grid; place-items:center; color:#fff; font-family:var(--font-head); font-weight:700; }
.quote-author .who { text-align:left; }
.quote-author .who strong { display:block; color: var(--ink); font-family: var(--font-head); }
.section--ink .quote-author .who strong { color:#fff; }
.quote-author .who span { font-size:.88rem; color: var(--muted); }

/* ---------- 13. CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 15% 120%, rgba(109,99,230,.4), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 28px;
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color:#fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content:center; }

/* ---------- 14. About / values / team ---------- */
.value-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.value-card .ic { margin-bottom: 16px; }
.team-card { text-align:center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; transition: var(--transition); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo { width: 92px; height:92px; border-radius:50%; margin: 0 auto 18px; display:grid; place-items:center; font-family:var(--font-head); font-weight:700; font-size:1.6rem; color:#fff; background: linear-gradient(135deg, var(--brand-light), var(--brand-dark)); }
.team-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.team-card .role { color: var(--brand); font-weight:600; font-family:var(--font-head); font-size:.9rem; }
.team-card .bio { font-size:.9rem; margin-top: 12px; }

/* Timeline */
.timeline { position: relative; max-width: 760px; margin-inline:auto; padding-left: 34px; }
.timeline::before { content:""; position:absolute; left: 7px; top:6px; bottom:6px; width:2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position:absolute; left: -34px; top: 4px; width: 16px; height:16px; border-radius:50%; background: var(--brand); border:3px solid #fff; box-shadow: 0 0 0 2px var(--brand-tint); }
.tl-year { font-family: var(--font-head); font-weight:700; color: var(--brand); font-size: 1.05rem; }
.tl-item h4 { font-family:var(--font-head); color: var(--ink); margin: 4px 0 6px; }
.tl-item p { font-size:.95rem; }

/* Map region list */
.region-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.region { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.region h4 { font-family:var(--font-head); color:var(--ink); display:flex; align-items:center; gap:8px; }
.region p { font-size:.9rem; margin-top:6px; color: var(--muted); }

/* ---------- 15. Solutions ---------- */
.sol-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: var(--transition); }
.sol-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sol-card .ic { width: 56px; height:56px; font-size:1.6rem; }
.sol-card ul { margin-top: 16px; }
.sol-card ul li { font-size:.92rem; padding: 5px 0; padding-left: 24px; position: relative; color: var(--body); }
.sol-card ul li::before { content:"✓"; position:absolute; left:0; color: var(--brand); font-weight:700; }
.industry-pill { display:inline-flex; align-items:center; gap:8px; padding:12px 20px; background:#fff; border:1px solid var(--line); border-radius:999px; font-family:var(--font-head); font-weight:500; font-size:.95rem; color:var(--ink); }
.pill-wrap { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

/* ---------- 16. Investors ---------- */
.report-table { width:100%; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.report-row { display:grid; grid-template-columns: 1.4fr 1fr .8fr auto; gap:16px; align-items:center; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom:0; }
.report-row.head { background: var(--soft); font-family:var(--font-head); font-weight:600; color:var(--ink); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; }
.report-row .tag { display:inline-block; font-size:.78rem; padding:4px 12px; border-radius:999px; background: var(--brand-tint); color: var(--brand); font-weight:600; }
.report-row .dl { color: var(--brand); font-weight:600; font-family:var(--font-head); font-size:.9rem; white-space:nowrap; }
.report-row .dl:hover { text-decoration: underline; }

.gov-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.gov-card h3 { font-size:1.1rem; margin-bottom:8px; }
.gov-card p { font-size:.94rem; }

/* FAQ / accordion */
.faq { max-width: 820px; margin-inline:auto; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 22px 26px; font-family:var(--font-head); font-weight:600; font-size:1.04rem; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-q .pm { color: var(--brand); font-size:1.4rem; transition: var(--transition); flex:0 0 auto; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 26px 24px; font-size:.96rem; }

/* ---------- 17. Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,5vw,56px); align-items:start; }
.form-field { margin-bottom: 20px; }
.form-field label { display:block; font-family:var(--font-head); font-weight:500; font-size:.9rem; color:var(--ink); margin-bottom:8px; }
.form-field input, .form-field select, .form-field textarea {
  width:100%; padding: 13px 16px; font-family: var(--font-body); font-size:.98rem; color: var(--ink);
  border:1px solid var(--line); border-radius: var(--radius-sm); background:#fff; transition: var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.error input, .form-field.error select, .form-field.error textarea { border-color: #e2434b; }
.field-msg { font-size:.8rem; color:#e2434b; margin-top:6px; display:none; }
.form-field.error .field-msg { display:block; }
.form-note { display:none; margin-top: 12px; padding: 14px 18px; border-radius: var(--radius-sm); background: #e9fbf0; color:#0f7a45; font-weight:600; font-size:.92rem; }
.form-note.show { display:block; }

.office-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding: 24px; margin-bottom: 16px; }
.office-card h4 { font-family:var(--font-head); color:var(--ink); display:flex; align-items:center; gap:8px; }
.office-card p { font-size:.92rem; margin-top:8px; color:var(--muted); }
.map-placeholder {
  height: 260px; border-radius: var(--radius); border:1px solid var(--line); overflow:hidden; position:relative;
  background:
    linear-gradient(rgba(67,56,202,.06), rgba(67,56,202,.06)),
    repeating-linear-gradient(0deg, transparent, transparent 38px, var(--line) 38px, var(--line) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, var(--line) 38px, var(--line) 39px),
    var(--soft);
  display:grid; place-items:center; text-align:center; color:var(--muted); font-size:.9rem;
}
.map-pin { font-size:2.2rem; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--ink); color:#aeb0cf; padding: 72px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color:#fff; margin-bottom: 16px; }
.footer-brand p { font-size:.92rem; color:#8d90b3; max-width: 300px; }
.footer-col h5 { font-family:var(--font-head); color:#fff; font-size:.95rem; margin-bottom: 18px; }
.footer-col a { display:block; font-size:.92rem; color:#aeb0cf; padding: 6px 0; transition: color var(--transition); }
.footer-col a:hover { color:#fff; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top:1px solid rgba(255,255,255,.1); display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; font-size:.85rem; color:#8d90b3; }
.social { display:flex; gap:14px; }
.social a { width:36px; height:36px; border-radius:9px; background: rgba(255,255,255,.07); display:grid; place-items:center; color:#cfd0e6; transition: var(--transition); }
.social a:hover { background: var(--brand); color:#fff; }

/* ---------- 19. Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity:1; transform:none; }
/* Fallback: if JS disabled, everything visible */
.no-js .reveal { opacity:1; transform:none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .region-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width:100%; padding: 14px 0; border-bottom:1px solid var(--line); }
  .nav-links a.active::after { display:none; }
  .nav-toggle { display:flex; }
  .nav-cta .btn:not(.nav-toggle) { display:none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px 20px; }
  .grid-3, .grid-2, .region-grid { grid-template-columns: 1fr; }
  .report-row { grid-template-columns: 1fr; gap:6px; padding: 18px 20px; }
  .report-row.head { display:none; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
