/* ==========================================================
   Mansee Consultancy Ltd — main stylesheet
   Brand colours are taken from the company logo.
   Change them here and the whole site updates.
   ========================================================== */
:root {
  --indigo-900: #1E1838;
  --indigo-800: #2E2654;
  --indigo-700: #3D3468;
  --indigo-600: #4F4579;   /* logo text */
  --indigo-100: #ECEAF4;
  --indigo-50:  #F6F5FA;
  --green-600:  #6E9A4C;
  --green-500:  #92BA71;   /* logo swoosh */
  --green-100:  #EAF3E2;
  --ink:        #1F1B2E;
  --muted:      #5D5970;
  --line:       #E3E1EC;
  --white:      #FFFFFF;
  --radius:     14px;
  --shadow-sm:  0 1px 2px rgba(30,24,56,.06), 0 2px 8px rgba(30,24,56,.05);
  --shadow-md:  0 10px 30px rgba(30,24,56,.10);
  --max:        1180px;
  --font-head:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  font-size: 17px; line-height: 1.65; background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--indigo-800); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--indigo-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em;
  border-radius: 999px; font-weight: 600; font-family: var(--font-head); font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--green-500); color: var(--indigo-900); }
.btn-primary:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--indigo-700); color: #fff; }
.btn-dark:hover { background: var(--indigo-800); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--indigo-800); }
.btn-outline-dark { border-color: var(--indigo-600); color: var(--indigo-700); }
.btn-outline-dark:hover { background: var(--indigo-700); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand img { height: 68px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--indigo-600); background: var(--indigo-50); }
.nav-links > li > a.btn { margin-left: 10px; padding: .7em 1.35em; color: #fff; background: var(--indigo-700); }
.nav-links > li > a.btn:hover { background: var(--green-500); color: var(--indigo-900); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transition: all .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--indigo-50); color: var(--indigo-600); }
.dropdown .ico-sm { width: 30px; height: 30px; border-radius: 8px; background: var(--indigo-100); color: var(--indigo-600); display: grid; place-items: center; flex-shrink: 0; }
.dropdown .ico-sm svg { width: 16px; height: 16px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--indigo-800); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(146,186,113,.28), transparent 60%),
              linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-800) 55%, var(--indigo-600) 100%);
  padding: 110px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-swoosh { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 260px; border: 3px solid rgba(146,186,113,.55); border-radius: 50%; transform: rotate(-3deg); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--green-500); }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 580px; margin-bottom: 2em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-600); margin-bottom: 14px; }
.hero .eyebrow { color: var(--green-500); background: rgba(146,186,113,.12); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(146,186,113,.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green-500); }

.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px;
  backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.stack { display: grid; gap: 12px; }
.stack-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); padding: 14px 16px; border-radius: 12px; }
.stack-item .ico-sm { width: 40px; height: 40px; border-radius: 10px; background: rgba(146,186,113,.18); color: var(--green-500); display: grid; place-items: center; flex-shrink: 0; }
.stack-item .ico-sm svg { width: 20px; height: 20px; }
.stack-item strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.stack-item small { color: rgba(255,255,255,.65); font-size: .84rem; }
.stack-item .bar { margin-left: auto; width: 70px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.stack-item .bar i { display: block; height: 100%; background: var(--green-500); border-radius: 99px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at 90% -20%, rgba(146,186,113,.25), transparent 60%),
              linear-gradient(135deg, var(--indigo-900), var(--indigo-700));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: var(--green-500); }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--indigo-50); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card p { color: var(--muted); font-size: .98rem; }
.ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--indigo-100), var(--green-100)); color: var(--indigo-600);
}
.ico svg { width: 26px; height: 26px; }
.card-link { font-weight: 600; font-family: var(--font-head); font-size: .94rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }
.card .stretched::after { content: ""; position: absolute; inset: 0; }

/* Category tag */
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-600); margin-bottom: 12px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1838' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.visual-panel {
  display: flex; align-items: center;
  border-radius: 20px; padding: 36px; color: #fff; position: relative; overflow: hidden; min-height: 360px;
  background: linear-gradient(145deg, var(--indigo-800), var(--indigo-600));
}
.visual-panel::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -150px; height: 200px; border: 3px solid rgba(146,186,113,.6); border-radius: 50%; transform: rotate(-4deg); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--indigo-700); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.2rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--green-500); display: block; margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-block:last-child { border-bottom: 0; }
.service-block .ico { width: 64px; height: 64px; }
.service-block .ico svg { width: 30px; height: 30px; }
.service-block .intro p { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.feature { background: var(--indigo-50); border-radius: 12px; padding: 18px 20px; }
.feature h4 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }
.service-nav { position: sticky; top: 86px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); padding: 0; }
.service-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.service-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); }
.service-nav a:hover, .service-nav a.active { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }

/* Courses */
.course { display: flex; flex-direction: column; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.course-meta span { font-size: .8rem; background: var(--indigo-50); color: var(--indigo-600); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.course ul { padding-left: 1.1em; color: var(--muted); font-size: .94rem; margin: 0 0 20px; }
.course .btn { margin-top: auto; align-self: flex-start; }

/* Testimonial / values */
.quote { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote footer { font-size: .9rem; color: var(--muted); }

/* CTA */
.cta {
  border-radius: 24px; padding: 64px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 100% 0, rgba(146,186,113,.35), transparent 60%), linear-gradient(135deg, var(--indigo-800), var(--indigo-600));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.8); margin: 0; font-size: 1.1rem; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--indigo-800); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .ico { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
.contact-info h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-info p { margin: 0; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--indigo-800); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-600); box-shadow: 0 0 0 4px var(--indigo-100); }
.consent { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 5px; accent-color: var(--indigo-600); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #B3261E; }
.hp { position: absolute; left: -5000px; }

/* Legal */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }

/* Footer */
.site-footer { background: var(--indigo-900); color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--green-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--green-500); color: var(--indigo-900); }
.socials svg { width: 18px; height: 18px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-head); font-size: 7rem; font-weight: 800; color: var(--indigo-100); line-height: 1; -webkit-text-stroke: 2px var(--indigo-600); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .process, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-links {
    position: fixed; top: 86px; visibility: hidden; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px 24px 40px; gap: 2px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links > li > a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links > li > a.btn { margin: 18px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
  .has-dropdown > a::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; padding: 6px 0 10px 8px; grid-template-columns: 1fr; }
  .has-dropdown:hover .dropdown { transform: none; }
  .hero .container, .split, .service-block, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 100px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta { padding: 44px 32px; }
  .cta .actions { justify-content: flex-start; }
  .service-block { gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .grid-3, .grid-2, .grid-4, .process, .feature-list, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .brand img { height: 58px; }
}
.eyebrow svg { width: 14px; height: 14px; }
.course > .tag, .course > .ico { align-self: flex-start; }
