/* ============================================================
   SHOOTUP CAREER — GLOBAL STYLESHEET
   Theme: Deep charcoal + electric emerald
   Fonts: Clash Display (headings) + Satoshi (body)
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@300,400,500,700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --bg:        #0c0f0d;
  --bg2:       #101410;
  --bg3:       #141a15;
  --surface:   #1a2019;
  --surface2:  #1f281e;
  --surface3:  #243023;

  --em:        #22c55e;
  --em-dim:    #16a34a;
  --em-muted:  rgba(34,197,94,0.12);
  --em-border: rgba(34,197,94,0.22);
  --em-glow:   rgba(34,197,94,0.15);
  --em-text:   #86efac;

  --text:      #e8ede9;
  --text2:     #8fa895;
  --text3:     #4d6354;

  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.1);

  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --ease: cubic-bezier(0.4,0,0.2,1);
  --dur:  0.24s;

  --fw-display: 'Clash Display', sans-serif;
  --fw-body:    'Satoshi', sans-serif;

  --max-w: 1180px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fw-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--fw-body); cursor: pointer; border: none; background: none; }

/* ===== Utilities ===== */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em);
  background: var(--em-muted);
  border: 1px solid var(--em-border);
  padding: 5px 13px;
  border-radius: 999px;
}
.tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--em);
  box-shadow: 0 0 6px var(--em);
  animation: blink 2.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head h2 {
  font-family: var(--fw-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.6rem 0 0.75rem;
  line-height: 1.05;
}
.section-head p { color: var(--text2); max-width: 500px; margin: 0 auto; font-size: 1rem; }

/* ===== Buttons ===== */
.btn-em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--em);
  color: #061009;
  font-family: var(--fw-body);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 13px 26px;
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border: none;
}
.btn-em:hover { background: #34d46e; transform: translateY(-2px); box-shadow: 0 12px 32px var(--em-glow); }
.btn-em svg { flex-shrink: 0; }

.btn-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--fw-body);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 12px 24px;
  border-radius: var(--r);
  border: 1px solid var(--border2);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-out:hover { border-color: var(--em-border); color: var(--em-text); transform: translateY(-2px); }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(12,15,13,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; border-radius: 9px; }

nav.primary ul {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
nav.primary a {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}
nav.primary a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
nav.primary a.active { color: var(--em-text); }
nav.primary a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 999px;
  background: var(--em);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.h-btn-ghost {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text2); padding: 8px 16px;
  border: 1px solid var(--border); border-radius: var(--r);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.h-btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.h-btn-em {
  font-size: 0.85rem; font-weight: 700;
  background: var(--em); color: #061009;
  padding: 8px 18px; border-radius: var(--r);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.h-btn-em:hover { background: #34d46e; transform: translateY(-1px); }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px;
  cursor: pointer;
}
.ham:hover .ham-bar { background: #ffffff; }
.ham-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 3px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.ham.open .ham-bar { background: #ffffff; }
.ham.open .ham-bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.ham.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open .ham-bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ===== MOBILE PANEL ===== */
#mob-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 190;
  backdrop-filter: blur(4px);
}
#mob-overlay.open { display: block; }

#mob-panel {
  display: none; position: fixed;
  top: 72px; left: 12px; right: 12px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r-xl); padding: 14px;
  z-index: 191; box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
#mob-panel.open { display: block; }
#mob-panel ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
#mob-panel ul a {
  display: block; padding: 11px 16px; border-radius: var(--r);
  font-size: 0.95rem; font-weight: 500; color: var(--text2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
#mob-panel ul a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.mob-ctas {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 12px; margin-top: 10px;
  border-top: 1px solid var(--border);
}
.mob-ghost, .mob-primary {
  display: block; text-align: center; padding: 12px;
  border-radius: var(--r); font-weight: 700; font-size: 0.93rem;
}
.mob-ghost { border: 1px solid var(--border2); color: var(--text2); }
.mob-primary { background: var(--em); color: #061009; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.foot-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.foot-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.foot-brand img { height: 36px; width: auto; border-radius: 8px; margin-bottom: 14px; }
.foot-brand p { font-size: 0.85rem; color: var(--text3); line-height: 1.65; max-width: 240px; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border2); background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.foot-social a:hover { border-color: var(--em-border); transform: translateY(-2px); }
.foot-social img { width: 26px; height: 26px; object-fit: cover; border-radius: 6px; display: block; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); margin-bottom: 4px; }
.foot-col a { font-size: 0.87rem; color: var(--text2); transition: color var(--dur) var(--ease); }
.foot-col a:hover { color: var(--em-text); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.foot-bottom span { font-size: 0.8rem; color: var(--text3); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { font-size: 0.8rem; color: var(--text3); transition: color var(--dur) var(--ease); }
.foot-legal a:hover { color: var(--text2); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-up { animation: fadeUp 0.6s var(--ease) both; }
.anim-in { animation: fadeIn 0.5s var(--ease) both; }

/* Intersection observer driven */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.d1 { transition-delay: 0.05s; animation-delay: 0.1s; }
.d2 { transition-delay: 0.12s; animation-delay: 0.2s; }
.d3 { transition-delay: 0.2s;  animation-delay: 0.3s; }
.d4 { transition-delay: 0.28s; animation-delay: 0.4s; }
.d5 { transition-delay: 0.36s; animation-delay: 0.5s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ===== FOCUS ===== */
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  nav.primary ul { display: none !important; }
  .h-btn-ghost, .h-btn-em { display: none; }
  .ham { display: flex; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-brand { text-align: center; }
  .foot-brand p { max-width: 100%; }
  .foot-brand img { margin: 0 auto 14px; }
  .foot-social { justify-content: center; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .foot-col { text-align: center; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .foot-legal { justify-content: center; }

  /* Global mobile — center all section headings */
  .section-head { text-align: center; }
  .page-hero { text-align: center; }
  .page-hero p { margin-left: auto; margin-right: auto; }
  .legal-hero { text-align: center; }
  .legal-hero p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .foot-nav { grid-template-columns: 1fr; gap: 24px; }
  .foot-col { text-align: center; }
  .foot-bottom { flex-direction: column; align-items: center; }
  .foot-legal { justify-content: center; }
  .foot-inner { padding: 0 18px; }
}

/* ===== Legal page styles ===== */
.legal-hero {
  padding: 120px 0 64px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--em-muted) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero h1 {
  font-family: var(--fw-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.6rem 0 0.5rem;
  line-height: 1.05;
}
.legal-hero .meta { font-size: 0.85rem; color: var(--text3); }

.legal-body {
  padding: 64px 0 100px;
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  reveal: true;
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-family: var(--fw-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section h2 span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--em); background: var(--em-muted); border: 1px solid var(--em-border);
  padding: 2px 9px; border-radius: 999px;
}
.legal-section p, .legal-section li {
  font-size: 0.93rem; color: var(--text2); line-height: 1.75;
}
.legal-section ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.legal-section ul li { padding-left: 18px; position: relative; }
.legal-section ul li::before { content: '→'; position: absolute; left: 0; color: var(--em-dim); font-size: 0.8rem; top: 1px; }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section a { color: var(--em-text); text-decoration: underline; text-underline-offset: 3px; }

.legal-contact-box {
  background: var(--surface);
  border: 1px solid var(--em-border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-top: 16px;
}
.legal-contact-box h3 { font-family: var(--fw-display); font-size: 1rem; color: var(--text); margin-bottom: 10px; font-weight: 600; }
.legal-contact-box p { font-size: 0.88rem; color: var(--text2); }
.legal-contact-box a { color: var(--em-text); }

/* ===== GLOBAL MOBILE — center all page headings & content ===== */
@media (max-width: 860px) {

  /* Page hero sections (courses, about, contact, legal) */
  .page-hero .wrap,
  .legal-hero .wrap { text-align: center; }
  .page-hero .tag,
  .legal-hero .tag { margin-left: auto; margin-right: auto; display: inline-flex; }

  /* About page */
  .mission-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .mission-left { text-align: center; }
  .mission-left .tag { margin: 0 auto; }
  .stats-row { grid-template-columns: repeat(2,1fr) !important; }
  .tutor-card { grid-template-columns: 1fr !important; }
  .tc-photo { height: 280px !important; }
  .tc-photo-grad { background: linear-gradient(180deg,transparent 55%,var(--surface)) !important; }
  .tc-body { padding: 28px 24px !important; text-align: center; }
  .tc-socials { justify-content: center; }
  .agency-inner { text-align: center; }
  .agency-inner .btn-em { display: inline-flex; }

  /* About values list */
  .mv-item { text-align: left; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-side { position: static !important; }
  .cf-row { grid-template-columns: 1fr 1fr; }

  /* Courses page */
  .cb-inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .cb-right { position: static !important; }
  .cb-label { justify-content: center; }
  .cb-left { text-align: center; }
  .cb-left h2 { font-size: 1.7rem; }
  .cb-modules { text-align: left; }

  /* Why / feature section */
  .why-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Footer nav centered */
  .foot-nav { grid-template-columns: repeat(3,1fr) !important; text-align: center !important; }
}

@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr !important; }
  .cf-row { grid-template-columns: 1fr !important; }
  .foot-nav { grid-template-columns: 1fr !important; }
  .tc-body { padding: 24px 18px !important; }
  .cb-inner { gap: 24px !important; }
}
