/* ==========================================================================
   Nexmind Academy — clean multi-page site styles
   Brand: black + white + lime green. Fonts: Bebas Neue / Montserrat / Poppins
   ========================================================================== */

:root {
  --bg:        #0b0b0b;
  --surface:   #141414;
  --surface-2: #1c1c1c;
  --border:    #2a2a2a;
  --text:      #f5f5f5;
  --muted:     #a3a3a3;
  --accent:    #a3e635;   /* lime */
  --accent-2:  #c5f84a;
  --accent-ink:#0b0b0b;   /* text on accent */
  --maxw: 1140px;
  --radius: 14px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.5px;
  margin: 0 0 .4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .78rem;
  color: var(--accent);
  margin: 0 0 14px;
}

p { margin: 0 0 1rem; color: #e7e7e7; }
.lead { font-size: 1.15rem; color: var(--muted); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -8px rgba(163,230,53,.55);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background:#25d366; color:#06210f; box-shadow:0 8px 30px -8px rgba(37,211,102,.5); }
.btn-wa:hover { background:#2be576; transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11,11,11,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 30px; filter: invert(1); }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s ease;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active { position: relative; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}
.nav .btn { padding: 10px 20px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); }

/* dropdown */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color .15s ease;
}
.has-sub > a:hover, .has-sub > a.active { color: var(--text); }
.has-sub .fa-chevron-down { font-size: .62rem; transition: transform .2s ease; }
.has-sub:hover .fa-chevron-down { transform: rotate(180deg); }
.has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; } /* hover bridge */
.submenu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: .18s ease;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.75); z-index: 120;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a {
  padding: 10px 12px; border-radius: 8px; font-size: .88rem; font-weight: 600;
  color: var(--muted); white-space: nowrap;
}
.submenu a:hover { background: var(--surface-2); color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--text); margin:5px 0; transition:.2s; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(163,230,53,.16), transparent 60%),
    radial-gradient(700px 420px at 12% 110%, rgba(163,230,53,.08), transparent 60%);
}
.hero .container { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 640px; font-size: 1.2rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top: 34px; }
.hero-trust { margin-top: 30px; font-size:.9rem; color:var(--muted); display:flex; align-items:center; gap:10px; }
.hero-trust .dot { width:8px;height:8px;border-radius:50%;background:var(--accent); box-shadow:0 0 12px var(--accent); }

/* ---------- banner strip ---------- */
.strip {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  padding: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.strip p { margin:0; color: var(--accent-ink); }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .num {
  font-family:'Bebas Neue',sans-serif; font-size:2.4rem; color:var(--accent); line-height:1;
}
.card .ico {
  width:54px;height:54px;border-radius:12px;display:grid;place-items:center;
  background:rgba(163,230,53,.12); color:var(--accent); font-size:1.4rem; margin-bottom:18px;
}
.card h3 { margin-bottom:.5em; }
.card p { color: var(--muted); font-size:.97rem; }
.card .btn { margin-top: 20px; }
.card ul { margin:14px 0 0; padding-left:18px; color:var(--muted); font-size:.95rem; }
.card ul li { margin-bottom:6px; }

/* media + text split */
.split { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.split img { border-radius: var(--radius); border:1px solid var(--border); }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }

/* ---------- service blocks ---------- */
.service { padding: clamp(40px,6vw,72px) 0; border-bottom:1px solid var(--border); }
.service:last-of-type { border-bottom: 0; }
.service .tag {
  display:inline-block; font-family:'Poppins',sans-serif; font-weight:600; font-size:.8rem;
  color:var(--accent); border:1px solid var(--accent); border-radius:999px; padding:5px 14px; margin-bottom:18px;
}

/* ---------- testimonials / results ---------- */
.stat-row { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:10px; }
.stat-row.cols-3 { grid-template-columns:repeat(3,1fr); }
.stat-row.cols-2 { grid-template-columns:repeat(2,1fr); }
.stat { text-align:center; padding:26px 14px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.stat .big { font-family:'Bebas Neue',sans-serif; font-size:3rem; color:var(--accent); line-height:1; }
.stat small { color:var(--muted); font-size:.85rem; }

.quote {
  background:var(--surface); border:1px solid var(--border); border-left:3px solid var(--accent);
  border-radius:var(--radius); padding:26px;
}
.quote p { font-size:1rem; color:#e7e7e7; }
.quote .who { color:var(--muted); font-size:.85rem; font-weight:600; margin-top:10px; }

.proof-img { border-radius:var(--radius); border:1px solid var(--border); background:var(--surface); }

/* ---------- team ---------- */
.team-card { text-align:center; }
.team-card img { width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 16px;border:2px solid var(--accent); }
.team-card .role { color:var(--accent); font-size:.85rem; font-weight:600; }
.team-card .ig { display:inline-flex; align-items:center; gap:6px; margin-top:12px; color:var(--accent); font-weight:600; font-size:.9rem; transition:.2s; }
.team-card .ig:hover { opacity:.75; transform:translateY(-1px); }

/* ---------- contact ---------- */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-grid > *, .split > * { min-width:0; }
.field { margin-bottom:18px; }
.field label { display:block; font-size:.85rem; font-weight:600; margin-bottom:7px; color:var(--muted); }
.field input, .field textarea {
  width:100%; padding:13px 15px; background:var(--surface-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font:inherit; font-size:.95rem;
}
.field input:focus, .field textarea:focus { outline:none; border-color:var(--accent); }
.field textarea { resize:vertical; min-height:120px; }
.contact-list { list-style:none; padding:0; margin:0; }
.contact-list li { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.contact-list .ico { flex:0 0 auto; width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:rgba(163,230,53,.12);color:var(--accent); }
.contact-list li > div { min-width:0; overflow-wrap:anywhere; }
.socials { display:flex; gap:14px; margin-top:8px; }
.socials a {
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--border); color:var(--text); font-size:1.1rem; transition:.2s;
}
.socials a:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }

/* ---------- CTA band ---------- */
.cta-band { background:linear-gradient(135deg,#141414,#0b0b0b); border:1px solid var(--border); border-radius:20px; padding:clamp(36px,5vw,60px); text-align:center; }
.cta-band h2 { margin-bottom:.3em; }
.cta-band .lead { margin-inline:auto; max-width:560px; }
.cta-band .hero-actions { justify-content:center; }

/* ---------- footer ---------- */
.site-footer { border-top:1px solid var(--border); padding:54px 0 30px; background:var(--surface); }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:38px; }
.site-footer img { height:28px; filter:invert(1); margin-bottom:16px; }
.site-footer h4 { font-family:'Montserrat',sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:1.5px; color:var(--muted); margin:0 0 16px; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer ul li { margin-bottom:10px; }
.site-footer ul a { color:var(--muted); font-size:.92rem; }
.site-footer ul a:hover { color:var(--accent); }
.footer-bottom { border-top:1px solid var(--border); padding-top:22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; color:var(--muted); font-size:.82rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns:1fr; }
  .grid-2 { grid-template-columns:1fr; }
  .split, .contact-grid { grid-template-columns:1fr; gap:30px; }
  .split.alt { direction:ltr; }
  .stat-row { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom:1px solid var(--border);
    padding: 8px 22px 18px; transform: translateY(-120%); transition: transform .25s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding:13px 0; border-bottom:1px solid var(--border); }
  .nav a.active::after { display:none; }
  .nav .btn { margin-top:14px; justify-content:center; }
  .nav-toggle { display:block; }

  /* dropdown -> nested static list on mobile */
  .has-sub { flex-direction:column; align-items:stretch; }
  .has-sub > a { padding:13px 0; border-bottom:1px solid var(--border); justify-content:space-between; }
  .has-sub .fa-chevron-down { display:none; }
  .submenu {
    position:static; transform:none; opacity:1; visibility:visible;
    box-shadow:none; border:0; background:transparent; min-width:auto;
    padding:0 0 6px 14px; gap:0;
  }
  .submenu a { padding:11px 0; border-bottom:1px solid var(--border); font-size:.9rem; }
}
@media (max-width: 540px) {
  .stat-row { grid-template-columns:1fr 1fr; }
  .stat-row.cols-3 { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .btn.center-mobile { display:flex; width:fit-content; margin-inline:auto; }
}
