/* ============================================================
   MARKETING ACADEMY GROUP LTD — Global Stylesheet
   ============================================================ */

:root {
  --ink: #0d0d0d;
  --cream: #f8f5ef;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --muted: #6b6b6b;
  --border: rgba(201,168,76,0.25);
  --card-bg: #141414;
  --card-border: rgba(255,255,255,0.07);
  --radius: 16px;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--ff-display); line-height: 1.15; }
em { font-style: italic; color: var(--gold); }
a { text-decoration: none; color: inherit; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 4rem 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .35;
  animation: float 8s ease-in-out infinite alternate;
}
.orb1 { width: 600px; height: 600px; background: radial-gradient(circle, #c9a84c, transparent); top: -200px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, #4c7ec9, transparent); bottom: -100px; left: -100px; animation-delay: -4s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, #c94c7e, transparent); top: 40%; left: 40%; animation-delay: -2s; opacity: .15; }
@keyframes float { from { transform: translateY(0) scale(1); } to { transform: translateY(-40px) scale(1.05); } }

.hero-content { position: relative; max-width: 720px; }
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeUp .9s ease both;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.65);
  max-width: 480px; margin-bottom: 2.5rem;
  animation: fadeUp .9s .15s ease both;
}
.hero-cta { display: flex; gap: 1.2rem; flex-wrap: wrap; animation: fadeUp .9s .3s ease both; }
@keyframes fadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

.hero-3d {
  position: relative;
  width: 100%; height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.hero-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: .85rem 2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  border-radius: 6px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  padding: .85rem 2rem;
  border: 1px solid var(--border);
  color: rgba(255,255,255,.8);
  font-weight: 500;
  border-radius: 6px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-white {
  display: inline-block;
  padding: .9rem 2.2rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: 6px;
  transition: transform .15s;
}
.btn-white:hover { transform: translateY(-2px); }

/* ── STATS ────────────────────────────────────────────────── */
.stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 3rem 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.stat-item { flex: 1; text-align: center; padding: 1.5rem; }
.stat-num { display: block; font-family: var(--ff-display); font-size: 2.8rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat-divider { width: 1px; height: 60px; background: var(--border); }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.tag {
  display: inline-block;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

/* ── SERVICES ─────────────────────────────────────────────── */
.services { padding: 7rem 4rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: border-color .3s, transform .3s;
  animation: fadeUp .7s var(--delay) ease both;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.service-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.service-card p { color: rgba(255,255,255,.55); font-size: .92rem; }

/* ── WHY ──────────────────────────────────────────────────── */
.why {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.why-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin: 1rem 0 1.5rem; }
.why-text p { color: rgba(255,255,255,.6); margin-bottom: 2rem; font-size: .97rem; }
.why-list { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: .85rem; }
.why-list li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: rgba(255,255,255,.75); }
.check { color: var(--gold); font-weight: 700; }

.why-visual { display: flex; justify-content: center; }
.why-card {
  width: 320px;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 80px rgba(201,168,76,.12), 0 0 0 1px rgba(201,168,76,.08);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.why-badge {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.why-number {
  font-family: var(--ff-display);
  font-size: 3.2rem; font-weight: 900;
  color: var(--gold); letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.why-detail {
  font-size: .87rem; color: rgba(255,255,255,.55);
  margin-bottom: .5rem;
}
.why-seal { margin-top: 2rem; font-size: .82rem; color: rgba(255,255,255,.35); }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #1a1208, #0d0d0d);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 4rem;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.55); margin-bottom: 2.5rem; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { padding: 5rem 4rem 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 2rem; font-weight: 900;
  color: var(--white); display: block; margin-bottom: 1rem;
}
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.8; }
.footer-links h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer-links a { display: block; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: .7rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { font-size: .8rem; color: var(--muted); text-align: center; }

/* ── INNER PAGES ──────────────────────────────────────────── */
.page-hero {
  padding: 10rem 4rem 5rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(201,168,76,.05), transparent);
  border-bottom: 1px solid var(--border);
}
.page-hero .tag { margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.55); max-width: 580px; margin: 0 auto; }

.content-section { padding: 6rem 4rem; max-width: 900px; margin: 0 auto; }
.content-section h2 { font-size: 1.9rem; color: var(--gold); margin: 2.5rem 0 1rem; }
.content-section h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.content-section p { color: rgba(255,255,255,.65); margin-bottom: 1.2rem; font-size: .97rem; }
.content-section ul { padding-left: 1.5rem; color: rgba(255,255,255,.65); font-size: .97rem; margin-bottom: 1.2rem; }
.content-section ul li { margin-bottom: .5rem; }

/* ABOUT */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 4rem 6rem;
  max-width: 1000px; margin: 0 auto;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: border-color .3s;
}
.team-card:hover { border-color: var(--gold); }
.team-avatar {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--gold), #8a6a20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-family: var(--ff-display); font-weight: 900;
  color: var(--ink);
  margin: 0 auto 1.5rem;
}
.team-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.team-card .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 1rem; }
.team-card p { font-size: .9rem; color: rgba(255,255,255,.55); }
.team-shares { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.3); }

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding: 5rem 4rem 7rem;
  max-width: 1100px; margin: 0 auto;
}
.contact-info h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
.contact-info p { color: rgba(255,255,255,.6); margin-bottom: 1rem; font-size: .97rem; }
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.contact-detail .icon { font-size: 1.3rem; }
.contact-detail .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .2rem; }
.contact-detail .val { font-size: .95rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: .85rem 1.1rem;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .95rem;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--ink); }
.form-submit {
  padding: .95rem 2.2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  border: none; border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: var(--ff-body);
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 1.2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,13,13,.98);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 7rem 1.5rem 3rem; grid-template-columns: 1fr; }
  .hero-3d { display: none; }
  .stats { flex-direction: column; padding: 2rem 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
  .why-visual { display: none; }
  .cta-band { padding: 4rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .content-section { padding: 3rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr; padding: 2rem 1.5rem 4rem; }
  .contact-wrap { grid-template-columns: 1fr; padding: 3rem 1.5rem 4rem; gap: 3rem; }
}
