/*
Theme Name: Marlton Business Advantage
Author: Empirical Edge Inc.
Version: 1.0
*/

:root {
  --mba-primary: #8c1ec8;
  --mba-secondary: #22509b;
  --mba-dark: #1a1030;
  --mba-light: #faf7fd;
  --mba-shadow: 0 10px 30px rgba(34, 80, 155, 0.12);
  --mba-shadow-hover: 0 18px 44px rgba(140, 30, 200, 0.22);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #2b2b38;
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mba-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p {
  font-family: 'Inter', sans-serif;
}

a {
  color: var(--mba-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--mba-secondary);
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--mba-primary);
  margin-bottom: 0.75rem;
}

/* Navbar */
.site-navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 2px 18px rgba(34, 80, 155, 0.08);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.site-navbar .navbar-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mba-dark);
}

.site-navbar .navbar-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #33323f;
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.site-navbar .navbar-nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--mba-primary), var(--mba-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-navbar .navbar-nav a:hover,
.site-navbar .navbar-nav a.active {
  color: var(--mba-primary);
}

.site-navbar .navbar-nav a:hover::after,
.site-navbar .navbar-nav a.active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  background: linear-gradient(125deg, var(--mba-secondary) 0%, var(--mba-primary) 100%);
  color: #ffffff;
  padding: clamp(4rem, 9vw, 8rem) 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero .lead {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

/* Brand section */
.section-brand {
  width: 100%;
  background: linear-gradient(135deg, var(--mba-primary), var(--mba-secondary));
  color: #ffffff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-brand h1,
.section-brand h2,
.section-brand h3,
.section-brand h4,
.section-brand h5,
.section-brand h6 {
  color: #ffffff;
}

.section-brand p {
  color: rgba(255, 255, 255, 0.9);
}

/* Cards */
.card {
  border: none;
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: var(--mba-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mba-shadow-hover);
}

.card .card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--mba-dark);
}

.card .card-body {
  padding: 1.75rem;
}

.card .card-text,
.card p {
  font-family: 'Inter', sans-serif;
  color: #4a4a58;
}

/* Buttons */
.btn-primary {
  --bs-btn-bg: var(--mba-primary);
  --bs-btn-border-color: var(--mba-primary);
  --bs-btn-hover-bg: #741aa6;
  --bs-btn-hover-border-color: #741aa6;
  --bs-btn-active-bg: #641590;
  --bs-btn-active-border-color: #641590;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  box-shadow: 0 8px 20px rgba(140, 30, 200, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(140, 30, 200, 0.36);
}

.btn-outline-primary {
  --bs-btn-color: var(--mba-primary);
  --bs-btn-border-color: var(--mba-primary);
  --bs-btn-hover-bg: var(--mba-primary);
  --bs-btn-hover-border-color: var(--mba-primary);
  --bs-btn-active-bg: var(--mba-primary);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
}

.hero .btn-light {
  border-radius: 50px;
  font-weight: 700;
  padding: 0.7rem 1.9rem;
  color: var(--mba-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

/* Footer */
.site-footer {
  background-color: var(--mba-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #ffffff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #c98cec;
}

/* Contact form (Contact Form 7) */
.wpcf7 input,
.wpcf7 textarea {
  font-family: 'Inter', sans-serif;
  width: 100%;
  border: 1.5px solid #dcd6e6;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  color: #2b2b38;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--mba-primary);
  box-shadow: 0 0 0 4px rgba(140, 30, 200, 0.14);
}

.wpcf7 textarea {
  min-height: 140px;
}

.wpcf7 .wpcf7-submit {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mba-primary), var(--mba-secondary));
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2.2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(140, 30, 200, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(140, 30, 200, 0.36);
}

@media (max-width: 767.98px) {
  .hero {
    padding: 3.5rem 0;
  }
  .card .card-body {
    padding: 1.4rem;
  }
}
/* brand-lock (authoritative — loads last) */
:root{--bs-primary:#8c1ec8;--bs-primary-rgb:140,30,200;--bs-link-color:#8c1ec8;--bs-link-color-rgb:140,30,200;--bs-link-hover-color:#22509b}
.btn-primary{--bs-btn-bg:#8c1ec8;--bs-btn-border-color:#8c1ec8;--bs-btn-hover-bg:#22509b;--bs-btn-hover-border-color:#22509b;--bs-btn-active-bg:#22509b;--bs-btn-active-border-color:#22509b}
.btn-outline-primary{--bs-btn-color:#8c1ec8;--bs-btn-border-color:#8c1ec8;--bs-btn-hover-bg:#22509b;--bs-btn-hover-border-color:#22509b;--bs-btn-active-bg:#22509b}
.text-primary{color:#8c1ec8!important}.bg-primary{background-color:#8c1ec8!important}.link-primary{color:#8c1ec8!important}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
h1,h2,h3,h4,h5,h6,.navbar-brand,.footer-brand{font-family:'Nunito', system-ui, sans-serif}
.topbar{background:#8c1ec8;color:#fff;font-size:.85rem}
.topbar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem 0}
.topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem;margin-right:1rem}
.topbar a:hover{color:#22509b}
.topbar-contact svg,.topbar-social svg{width:15px;height:15px;fill:currentColor}
.topbar-social a{margin-right:.55rem}
.navbar{background:#fff;border-bottom:1px solid #e9ecef}
.navbar .navbar-brand{font-weight:800;color:#8c1ec8}
.navbar .custom-logo{max-height:46px;width:auto}
.navbar .navbar-nav a,.navbar .nav-link{color:#1f2937;font-weight:500;padding:.5rem 1rem;text-decoration:none}
.navbar .navbar-nav a:hover,.navbar .nav-link:hover,.navbar .current-menu-item>a,.navbar .nav-link.active{color:#22509b}
.site-footer{background:#0f172a;color:#cbd5e1;border-top:4px solid #8c1ec8;padding:2.75rem 0 1.5rem}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{color:#22509b}
.site-footer .footer-brand{color:#fff}
.footer-extras{margin-top:1.25rem}
.footer-logo{margin-bottom:1rem}
.footer-logo img,.footer-logo .custom-logo{max-height:48px;width:auto;background:#fff;padding:6px 10px;border-radius:8px}
.footer-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;margin:0 0 1rem}
.footer-cta{display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-weight:500}
.footer-cta:hover{color:#22509b}
.footer-cta svg{width:16px;height:16px;fill:currentColor}
.footer-social{display:flex;justify-content:center;gap:.75rem;margin:.25rem 0 0}
.footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;transition:background .2s,color .2s}
.footer-social-link:hover{background:#22509b;color:#fff}
.footer-social-link svg{width:18px;height:18px;fill:currentColor}
.footer-credit{margin:1.25rem 0 0;font-size:.8rem;color:rgba(255,255,255,.6)}
.footer-credit a{color:rgba(255,255,255,.7);text-decoration:none}
.footer-credit a:hover{color:#fff;text-decoration:underline}
.card{--bs-card-color:#1f2937;color:#1f2937}
.card .card-body,.card p,.card li,.card .card-title{color:#1f2937}
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6{color:#1f2937}
.hero,.section-brand{color:#fff}
.hero .wp-block-heading,.section-brand .wp-block-heading{color:#fff}
.wp-block-button__link{background:#8c1ec8;color:#fff;border-radius:.5rem;padding:.7rem 1.6rem;font-weight:600;text-decoration:none;display:inline-block}
.wp-block-button__link:hover{background:#7218a4;color:#fff}
.hero .wp-block-button__link,.section-brand .wp-block-button__link{background:#fff;color:#8c1ec8}
.wp-block-columns{gap:1.5rem;margin-top:1.5rem}
.wp-block-columns .wp-block-image{margin:0}
.wp-block-columns .wp-block-image img{width:100%;border-radius:.75rem}
.wp-block-group.card{height:100%}
.card .wp-block-image{margin:0 0 1rem}
.card .wp-block-image img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:.5rem}
.feature-stack{max-width:100%;margin:0}
.wpcf7 input:not([type=submit]),.wpcf7 textarea{width:100%}
.wpcf7 .wpcf7-submit{width:auto;display:inline-block;min-width:180px}
.wpcf7 .wpcf7-form{max-width:640px}
.text-center h1,.text-center h2,.text-center h3,.text-center h4,.text-center h5,.text-center h6,.text-center p,.text-center .eyebrow{text-align:center}
.text-center .wp-block-buttons{justify-content:center}
.text-center p,.text-center .lead,.text-center .wp-block-paragraph{margin-left:auto;margin-right:auto}
.card{border-radius:.4rem;border:1px solid #e5e7eb;box-shadow:none}
.btn,.wp-block-button__link{border-radius:.3rem}
.navbar{background:rgba(140,30,200,.06);border-bottom:0;box-shadow:0 2px 14px rgba(15,23,42,.06)}
.hero{padding-top:3.25rem;padding-bottom:3.25rem}
.wp-block-group.py-5{padding-top:2.75rem!important;padding-bottom:2.75rem!important}
h1,h2,h3,.wp-block-heading{letter-spacing:-.02em;font-weight:800}
html,body{overflow-x:hidden}
img{max-width:100%;height:auto}
