/* =======================================================
   AFROSHINEEXO — SECTIONS CSS
   All section styles. Each block maps to a template part.
   ======================================================= */

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,22,40,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 0.5rem; }
.site-logo img { max-height: 52px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-navy); }
.logo-text strong { color: var(--color-primary); }
.logo-text span { color: var(--color-accent); }

.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-list a {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
}
.nav-list a:hover, .nav-list .current-menu-item a {
  background: var(--color-badge-bg);
  color: var(--color-primary);
}
.nav-list li:last-child a {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}
.nav-list li:last-child a:hover { background: var(--color-accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-navy); border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 72px; right: 0; bottom: 0; left: 0;
    background: var(--color-white);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-list a { padding: 0.75rem 1rem; font-size: 1.1rem; }
}

/* ---- HERO ---- */
.section-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, #e8f0fe 50%, #f0f4ff 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.08; z-index: 0; }
.hero-bg-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  opacity: 0.06;
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; opacity: 0.04; }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 30%; opacity: 0.05; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
}
.hero-subtext { font-size: 1.05rem; color: var(--color-muted); line-height: 1.75; max-width: 520px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--color-primary); }
.stat-label  { display: block; font-size: 0.75rem; color: var(--color-muted); margin-top: 0.2rem; }

.hero-image-wrap { position: relative; }
.hero-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); object-fit: cover; aspect-ratio: 4/3; }
.hero-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: var(--color-muted); text-align: center; padding: 2rem;
  background: rgba(255,255,255,0.5);
}
.hero-img-placeholder .placeholder-icon { font-size: 3rem; }
.hero-img-badge {
  position: absolute;
  bottom: -1rem; left: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 0.4rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats  { grid-template-columns: repeat(2, 1fr); }
  .section-hero { min-height: auto; padding: 4rem 0 3rem; }
}

/* ---- ABOUT ---- */
.section-about { background: var(--color-white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); object-fit: cover; aspect-ratio: 3/4; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: var(--color-muted); text-align: center; padding: 2rem;
  background: var(--color-bg-light);
}
.about-img-placeholder .placeholder-icon { font-size: 3rem; }
.about-content { display: flex; flex-direction: column; gap: 1.25rem; }
.about-para { color: var(--color-muted); line-height: 1.75; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.5rem 0; }
.about-feature {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem; background: var(--color-bg-light);
  border-radius: var(--radius-md);
}
.feature-icon { font-size: 1.5rem; line-height: 1; }
.feature-body h5 { font-size: 0.9rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.2rem; }
.feature-body p  { font-size: 0.8rem; color: var(--color-muted); }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

/* ---- SOLUTIONS ---- */
.section-solutions { background: var(--color-bg-section); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.solution-card { display: flex; flex-direction: column; gap: 0.75rem; }
.solution-icon { font-size: 2rem; }
.solution-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-navy); }
.solution-desc  { font-size: 0.9rem; color: var(--color-muted); line-height: 1.65; flex: 1; }
.solution-points { padding-left: 1rem; }
.solution-points li { font-size: 0.85rem; color: var(--color-muted); padding: 0.2rem 0; position: relative; }
.solution-points li::before { content: '—'; position: absolute; left: -1rem; color: var(--color-accent); }
.solution-cta { margin-top: auto; color: var(--color-primary); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.solution-cta:hover { color: var(--color-accent); }

@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ---- INDUSTRIES ---- */
.section-industries { background: var(--color-white); }
.industry-card { text-align: center; }
.industry-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.industry-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.5rem; }
.industry-desc  { font-size: 0.85rem; color: var(--color-muted); line-height: 1.6; }

/* ---- WHY ---- */
.section-why { background: var(--color-bg-section); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.why-card { position: relative; padding-top: 3rem; }
.why-number {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
  color: var(--color-badge-bg); -webkit-text-stroke: 2px var(--color-border);
}
.why-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.5rem; }
.why-desc  { font-size: 0.875rem; color: var(--color-muted); line-height: 1.65; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- OFFICES ---- */
.section-offices { background: var(--color-white); }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.office-card { display: flex; flex-direction: column; gap: 0.6rem; }
.office-flag   { font-size: 2.5rem; }
.office-name   { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-navy); }
.office-region { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.office-address { font-style: normal; font-size: 0.9rem; color: var(--color-muted); line-height: 1.7; }
.office-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--color-primary); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
}
.office-phone:hover { color: var(--color-accent); }
@media (max-width: 900px) { .offices-grid { grid-template-columns: 1fr; } }

/* ---- TEAM ---- */
.section-team { background: var(--color-bg-section); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.team-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.team-photo-wrap { position: relative; }
.team-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-photo-placeholder {
  aspect-ratio: 1/1;
  background: var(--color-bg-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; color: var(--color-muted); text-align: center; padding: 1rem;
}
.team-photo-placeholder span { font-size: 3rem; }
.team-photo-placeholder p { font-size: 0.85rem; font-weight: 600; }
.team-photo-placeholder small { font-size: 0.75rem; }
.team-info { padding: 1.25rem; flex: 1; }
.team-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-navy); }
.team-role { font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-top: 0.2rem; }
.team-bio  { font-size: 0.85rem; color: var(--color-muted); margin-top: 0.5rem; line-height: 1.55; }
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--color-primary); color: var(--color-white);
  border-radius: 50%; font-size: 0.8rem; font-weight: 700;
  margin-top: 0.75rem; transition: var(--transition);
}
.team-linkedin:hover { background: var(--color-accent); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- PARTNERS ---- */
.section-partners { background: var(--color-white); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.partner-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 130px; height: 70px;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.partner-item:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.partner-item img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.partner-item:hover img { filter: none; opacity: 1; }
.partner-name-text { font-weight: 700; font-size: 0.9rem; color: var(--color-navy); }

/* ---- CLIENTS ---- */
.section-clients { background: var(--color-bg-section); }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.client-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 120px; height: 60px;
  padding: 0.5rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.client-item:hover { box-shadow: var(--shadow-card); }
.client-item img { max-height: 36px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: var(--transition); }
.client-item:hover img { filter: none; opacity: 1; }
.client-name-text { font-size: 0.8rem; font-weight: 600; color: var(--color-navy); text-align: center; }

/* ---- CTA BANNER ---- */
.section-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d47a1 100%);
  padding: 4rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--color-white); margin-bottom: 0.5rem; }
.cta-text p  { color: rgba(255,255,255,0.8); max-width: 480px; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.section-cta .btn-primary { background: var(--color-white); color: var(--color-primary); }
.section-cta .btn-primary:hover { background: var(--color-bg-light); }
.section-cta .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--color-white); }
.section-cta .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---- CONTACT ---- */
.section-contact { background: var(--color-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; }
.contact-info-item div { display: flex; flex-direction: column; }
.contact-info-item strong { font-size: 0.85rem; color: var(--color-navy); margin-bottom: 0.1rem; }
.contact-info-item a, .contact-info-item span { font-size: 0.9rem; color: var(--color-muted); }
.contact-info-item a:hover { color: var(--color-primary); }

.contact-form-wrap { background: var(--color-bg-section); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-message { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-weight: 600; }
.contact-message.success { background: #d1fae5; color: #065f46; }
.contact-message.error   { background: #fee2e2; color: #991b1b; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); }
.form-group .required { color: var(--color-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(21,101,192,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; }
.form-note { font-size: 0.8rem; color: var(--color-muted); text-align: center; margin-top: 1rem; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- SECTION NOTE ---- */
.section-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-bg-light);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.5rem;
}
.section-note strong { color: var(--color-navy); }
/* Hide admin notes on frontend for non-admins */
body:not(.logged-in) .section-note { display: none; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand .logo-text strong, .footer-brand .logo-text span { color: var(--color-accent); }
.footer-brand .logo-text { color: var(--color-white); }
.footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--color-accent); }
.footer-col-title { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-white); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links li a:hover { color: var(--color-white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}
.footer-copy    { color: rgba(255,255,255,0.5); }
.footer-tagline { color: rgba(255,255,255,0.35); font-style: italic; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   TEAM — clickable cards + full-bio modal (AfroshineExo)
   ===================================================== */
.team-card.has-bio { cursor: pointer; }
.team-card.has-bio:hover { transform: translateY(-6px); }
.team-card.has-bio:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.team-teaser {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.5;
}
.team-readmore {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
}
.team-card.has-bio:hover .team-readmore { text-decoration: underline; }

.team-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.team-modal.open { display: flex; }
.team-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 22, 40, 0.62);
  backdrop-filter: blur(3px);
}
.team-modal-dialog {
  position: relative;
  background: var(--color-card-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 2rem;
  animation: afroModalIn 0.25s ease;
}
@keyframes afroModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.team-modal-close {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 2rem; line-height: 1;
  color: var(--color-muted);
}
.team-modal-close:hover { color: var(--color-primary); }
.team-modal-head {
  display: flex; gap: 1.1rem; align-items: center;
  margin-bottom: 1.25rem; padding-right: 2rem;
}
.team-modal-photo {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--color-badge-bg);
}
.team-modal-name {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin: 0 0 0.2rem; font-size: 1.4rem;
}
.team-modal-role { color: var(--color-primary); font-weight: 600; margin: 0; }
.team-modal-linkedin {
  display: inline-block; margin-top: 0.4rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-accent); text-decoration: none;
}
.team-modal-linkedin:hover { text-decoration: underline; }
.team-modal-bio {
  color: var(--color-text); line-height: 1.7;
  border-top: 1px solid var(--color-border); padding-top: 1.1rem;
}
.team-modal-bio p { margin: 0 0 0.9rem; }
.team-modal-bio :last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .team-modal-dialog { padding: 1.4rem; }
  .team-modal-head { flex-direction: column; text-align: center; padding-right: 0; }
}

/* =====================================================
   SCHEDULER — open placeholder section (AfroshineExo)
   ===================================================== */
.section-scheduler { background: var(--color-bg-section); }
.scheduler-embed { max-width: 920px; margin: 0 auto; }
.scheduler-placeholder {
  max-width: 720px; margin: 0 auto; text-align: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg, 18px);
  background: var(--color-card-bg);
  padding: 3rem 1.5rem; color: var(--color-muted);
}
.scheduler-placeholder .sched-icon { font-size: 2.5rem; display: block; margin-bottom: 0.6rem; }
.scheduler-placeholder strong { color: var(--color-navy); }

/* =====================================================
   STANDARD PAGES (page.php) — AfroshineExo
   ===================================================== */
.page-main { padding-top: 120px; padding-bottom: 80px; }
.page-container { max-width: 860px; }
.page-title {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.page-featured-image img { width: 100%; height: auto; border-radius: var(--radius-lg, 18px); margin-bottom: 2rem; }
.page-content { color: var(--color-text); line-height: 1.8; font-size: 1.05rem; }
.page-content h2, .page-content h3 { color: var(--color-navy); font-family: var(--font-heading); margin: 2rem 0 1rem; }
.page-content a { color: var(--color-primary); }
.page-content img { max-width: 100%; height: auto; border-radius: 12px; }

/* =====================================================
   PRODUCTS — Flagship Platforms (AfroshineExo)
   Reuses .solution-card styling; 3-up grid with a brand accent.
   ===================================================== */
.section-products { background: var(--color-white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  position: relative;
  border-top: 4px solid var(--color-primary);
  padding-top: 1.75rem;
}
.product-card .solution-icon {
  font-size: 2.4rem;
  background: var(--color-badge-bg);
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  margin-bottom: 0.25rem;
}
.product-card .solution-title { font-size: 1.25rem; }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* Live Demo button below the products grid */
.products-demo-cta { text-align: center; margin-top: 2.75rem; }
.btn-demo { font-size: 1.02rem; padding: 0.95rem 2.1rem; }

/* =====================================================
   PARTNER / CLIENT LOGOS — magnify on hover + name below
   ===================================================== */
.partner-item, .client-item { position: relative; flex-direction: column; overflow: visible; }
.partner-item:hover, .client-item:hover { z-index: 3; }

.partner-item img, .client-item img {
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
}
.partner-item:hover img {
  filter: none; opacity: 1;
  transform: scale(1.28) translateY(-5px);
}
.client-item:hover img {
  filter: none; opacity: 1;
  transform: scale(1.28) translateY(-5px);
}

/* Name label — hidden until hover, revealed just below the logo */
.partner-label, .client-label {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  text-align: center;
  padding: 0 8px;
  font-size: 0.76rem; font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.partner-item:hover .partner-label,
.client-item:hover .client-label {
  opacity: 1; transform: translateY(0);
}

/* =====================================================
   SOLUTIONS SHOWCASE — auto-scrolling marquee
   ===================================================== */
.section-showcase { background: var(--color-bg-section); overflow: hidden; }
.showcase-marquee {
  margin-top: 2.5rem;
  padding: 12px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.showcase-track {
  display: flex;
  gap: 1.5rem;
}
.showcase-marquee.is-scrolling .showcase-track {
  width: max-content;
  animation: afroMarquee 60s linear infinite;
}
.showcase-marquee.is-scrolling:hover .showcase-track { animation-play-state: paused; }
.showcase-marquee.is-static .showcase-track {
  justify-content: center;
  flex-wrap: nowrap;
}
@keyframes afroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.showcase-card {
  flex: 0 0 280px; width: 280px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card, 0 20px 40px rgba(0,0,0,.12)); }
.showcase-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-light);
  display: flex; align-items: center; justify-content: center;
}
.showcase-img-fallback { font-size: 2rem; color: var(--color-primary); opacity: .35; }
.showcase-meta { padding: 1rem 1.1rem 1.2rem; }
.showcase-card-title {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 1.02rem; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 600px) {
  .showcase-card { flex-basis: 230px; width: 230px; }
  .showcase-img { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
  .showcase-marquee { overflow-x: auto; }
}

/* =====================================================
   LEADERSHIP — single-row scrolling marquee
   ===================================================== */
.team-marquee {
  margin-top: 2.5rem;
  padding: 14px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.team-track { display: flex; gap: var(--gap, 1.5rem); }
.team-marquee.is-scrolling .team-track {
  width: max-content;
  animation: afroMarquee 55s linear infinite;
}
.team-marquee.is-scrolling:hover .team-track { animation-play-state: paused; }
.team-marquee.is-static .team-track { justify-content: center; flex-wrap: nowrap; }
.team-track .team-card { flex: 0 0 280px; width: 280px; }
@media (max-width: 600px) {
  .team-track .team-card { flex-basis: 240px; width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-marquee.is-scrolling .team-track { animation: none; }
  .team-marquee { overflow-x: auto; }
}

/* =====================================================
   SINGLE BLOG POST (single.php) — AfroshineExo
   ===================================================== */
.single-cats { margin-bottom: 0.75rem; }
.single-cats a {
  display: inline-block;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  text-decoration: none; margin-right: 0.3rem;
}
.single-meta {
  color: var(--color-muted);
  font-size: 0.9rem; margin-bottom: 2rem;
  display: flex; gap: 0.5rem; align-items: center;
}
.single-tags { margin-top: 2rem; }
.single-tags a {
  display: inline-block; font-size: 0.8rem;
  color: var(--color-primary); border: 1px solid var(--color-border);
  padding: 0.2rem 0.6rem; border-radius: 6px; margin: 0 0.3rem 0.3rem 0;
  text-decoration: none;
}
.single-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: 2.5rem 0 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.single-nav a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.single-nav a:hover { text-decoration: underline; }
.single-nav-next { text-align: right; margin-left: auto; }
.single-back { margin-top: 1rem; }

/* =====================================================
   NEWS & EVENTS — thin top ticker
   ===================================================== */
.news-ticker {
  background: var(--nt-bg, var(--color-primary));
  color: var(--nt-text, #fff);
  font-size: 0.85rem;
  overflow: hidden;
}
.news-ticker-inner { display: flex; align-items: stretch; }
.news-ticker-label {
  flex: 0 0 auto;
  display: flex; align-items: center;
  background: rgba(0,0,0,0.18);
  color: inherit; font-weight: 700;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  letter-spacing: .2px;
}
.news-ticker-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  padding-left: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent);
}
.news-ticker-track {
  display: inline-flex; align-items: center; gap: 1.25rem;
  white-space: nowrap; width: max-content;
  animation: afroMarquee 45s linear infinite;
}
.news-ticker:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-item {
  color: inherit; text-decoration: none;
  padding: 0.5rem 0; font-weight: 500;
}
.news-ticker-item:hover { text-decoration: underline; opacity: .82; }
.news-ticker-dot { color: currentColor; opacity: .45; font-size: .7rem; }
@media (max-width: 600px) {
  .news-ticker-label { font-size: .72rem; padding: .5rem .65rem; }
  .news-ticker { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
  .news-ticker-viewport { overflow-x: auto; }
}

/* =====================================================
   REVOLVING GLOBE — Global Presence
   ===================================================== */
.globe-wrap { display: flex; justify-content: center; margin: 0 auto 3rem; }
#afro-globe { width: 100%; max-width: 460px; }
#afro-globe svg { user-select: none; }
.globe-sphere { fill: var(--color-bg-light); stroke: var(--color-border); stroke-width: 1; }
.globe-graticule { fill: none; stroke: var(--color-border); stroke-width: .4; opacity: .55; }
.globe-land { fill: var(--color-primary); opacity: .9; stroke: var(--color-white); stroke-width: .3; }
.globe-pin-dot { fill: var(--color-success); stroke: #fff; stroke-width: 1.3; }
.globe-pin-pulse {
  fill: var(--color-success); opacity: .55;
  animation: afroGlobePulse 2.2s ease-out infinite;
}
@keyframes afroGlobePulse {
  0%   { r: 5;  opacity: .55; }
  100% { r: 17; opacity: 0; }
}
.globe-pin-label {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  fill: var(--color-navy); text-anchor: middle;
  paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round;
}
.globe-failed { display: none; }
@media (prefers-reduced-motion: reduce) {
  .globe-pin-pulse { animation: none; opacity: 0; }
}
