:root {
  /* Header & Unified Variables */
  --primary-dark: #0f172a;
  --accent-coral: #ea580c;
  --accent-blue: #0066cc;
  --accent-blue-light: #eef5fc;
  --text-main: #334155;
  --text-muted: #57606a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-height: 80px;

  /* Mission Page specific Variables */
  --navy: #111827; 
  --ink: #172033; 
  --orange: #ff7a00;
  --red: #c91522; 
  --soft: #fff7f0; 
  --line: #eceff3; 
  --white: #fff;
  --grad: linear-gradient(135deg, #ff8a00 0%, #ff4b00 48%, #c91522 100%);
  
  /* Assayor Framework Colors */
  --color-biz: #F58220;
  --color-peo: #F05A28;
  --color-pro: #ED1C24;
  --color-tech: #C1272D;
  --color-out: #9E0039;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; 
  color: var(--ink); 
  background: #fff; 
  line-height: 1.55; 
}
a { text-decoration: none; color: inherit; }

/* ========================================================
   Header & Unified Mega-Menu Navigation
   ======================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 5%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.logo-container img {
  height: 48px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

nav ul li { position: relative; }

nav ul li a, .services-toggle {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: inherit;
  padding: 0.5rem 0;
}

nav ul li a:hover, nav ul li a.active, .services-toggle:hover {
  color: var(--accent-coral);
}

.services-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}
li.dropdown-open > .services-toggle i, li:hover > .services-toggle i {
  transform: rotate(180deg);
}

.btn-contact {
  background-color: var(--accent-coral) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 6px;
  transition: all 0.3s ease; 
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* Mega-Menu Dropdown */
.services-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -80px;
  display: block;
  width: min(880px, calc(100vw - 40px));
  padding: 0;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
  overflow: hidden;
}
nav ul li:hover > .services-dropdown, nav ul li.dropdown-open > .services-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu { display: grid; grid-template-columns: 220px 1fr; min-height: 340px; list-style: none; padding: 0; margin: 0; }
.mega-menu-sidebar { display: flex; flex-direction: column; padding: 30px 22px; background: #0f172a; }
.mega-menu-tab { display: flex; align-items: center; justify-content: center; padding: 1.2rem 1rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); background: #1e293b; color: #ffffff; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; }
.mega-menu-content { padding: 30px; background: #ffffff; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.mega-service-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #edf2f7;
  transition: all 0.25s ease;
}
.mega-service-card:hover {
  background: var(--accent-blue-light);
  border-color: rgba(0, 102, 204, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.mega-service-card strong { display: flex; align-items: center; gap: 0.45rem; color: var(--accent-blue); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.mega-service-card strong::before { content: '\2192'; font-size: 1.15rem; transition: transform 0.2s ease; }
.mega-service-card:hover strong::before { transform: translateX(4px); }
.mega-service-card p { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.45; }

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid var(--border-color); padding: 1.2rem 0; display: none; box-shadow: var(--shadow-md); }
  nav.nav-open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav ul li { width: 100%; }
  nav a, .services-toggle { display: flex; justify-content: space-between; width: 100%; padding: 0.9rem 6%; border-bottom: 1px solid #f1f5f9; font-size: 1rem; }
  nav.nav-open .services-dropdown { position: static; display: none; width: 100%; box-shadow: none; border: 0; transform: none; background: #f8fafc; opacity: 1; pointer-events: auto; padding: 0; }
  nav.nav-open li.dropdown-open > .services-dropdown { display: block; }
  .mega-menu { display: block; min-height: 0; }
  .mega-menu-sidebar { display: none; }
  .mega-menu-content { padding: 1rem 6%; background: transparent; }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .btn-contact { margin: 1.2rem 6% 0.5rem; text-align: center; border-radius: var(--radius-sm); }
}

/* ========================================================
   Mission Page Specific Styles
   ======================================================== */
.progress { position: fixed; z-index: 1002; top: var(--header-height); left: 0; height: 3px; background: var(--grad); width: 0; transition: width .1s; }

.hero { min-height: 82vh; padding: 150px 7vw 90px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 50px; background: radial-gradient(circle at 20% 20%, rgba(255,122,0,.12), transparent 30%), linear-gradient(180deg, #fff 0%, #fffaf7 100%); overflow: hidden; margin-top: var(--header-height); }
.eyebrow { color: var(--accent-coral); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; }
h1 { font-size: clamp(48px, 6vw, 82px); line-height: .98; margin: 14px 0 22px; letter-spacing: -.045em; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 20px; color: var(--text-muted); max-width: 650px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; align-items: center; }
.btn { padding: 14px 22px; border-radius: 999px; font-weight: 750; }
.btn.primary { background: var(--grad); color: #fff; }
.btn.secondary { border: 1px solid #dfe3e8; background: #fff; }

/* ----------------------------------------------------
   Interactive Hero Accordion / Expanding Cards 
------------------------------------------------------- */
.hero-accordion {
  display: flex;
  gap: 12px;
  height: 460px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.hero-accordion .tile {
  flex: 0.6;
  position: relative;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.hero-accordion .tile.active {
  flex: 4;
}

.hero-accordion .tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0) 100%);
  opacity: 0.65;
  transition: opacity 0.4s;
}

.hero-accordion .tile.active::before {
  opacity: 0.95;
}

.hero-accordion .tile-collapsed-label {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}

.hero-accordion .tile.active .tile-collapsed-label {
  opacity: 0;
  pointer-events: none;
}

.hero-accordion .tile-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
  pointer-events: none;
}

.hero-accordion .tile.active .tile-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-accordion .tile-content h3 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  white-space: pre-wrap;
}

.hero-accordion .tile-content p {
  color: #cbd5e1;
  font-size: 15px;
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-accordion .tile-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--grad);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-accordion .tile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 40px;}
  .hero-accordion {
    flex-direction: column;
    height: 600px;
  }
  .hero-accordion .tile-collapsed-label {
    bottom: 50%;
    left: 25px;
    transform: translateY(50%);
  }
  .hero-accordion .tile-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .hero-accordion .tile-content h3 { font-size: 22px; }
}

/* ---------------------------------------------------- */

.mission { padding: 70px 5vw; }
.section { max-width: 1180px; margin: 0 auto; padding: 92px 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.grid2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }

.num { font-size: 92px; font-weight: 900; line-height: .8; color: #ffe8d8; letter-spacing: -.06em; }
.kicker { font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-coral); }
h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.02; letter-spacing: -.04em; margin: 10px 0 16px; }
.lead { font-size: 21px; color: #e54b0b; font-weight: 700; margin: 0 0 18px; }
.copy { font-size: 16px; color: var(--text-muted); max-width: 650px; }
.quote { margin-top: 24px; padding: 18px 20px; border-left: 4px solid #f36a00; background: #fff8f2; border-radius: 0 14px 14px 0; font-weight: 800; }

.method-detailed-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.detailed-phase {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-top: 6px solid var(--orange);
  display: flex;
  flex-direction: column;
}
.method-detailed-phases.show .detailed-phase {
  opacity: 1;
  transform: translateX(0);
}
.method-detailed-phases.show .phase-1 { transition-delay: 0.1s; }
.method-detailed-phases.show .phase-2 { transition-delay: 0.3s; }
.method-detailed-phases.show .phase-3 { transition-delay: 0.5s; }

.phase-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.phase-num { font-size: 12px; font-weight: 800; background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 20px; text-transform: uppercase;}
.detailed-phase h3 { margin: 0; font-size: 20px; color: var(--primary-dark); }
.detailed-phase h4 { font-size: 14px; color: #e54b0b; margin: 0 0 12px 0; font-weight: 700; }
.detailed-phase p { font-size: 14px; color: var(--text-main); margin-bottom: 16px; line-height: 1.5; }
.assess-box { flex-grow: 1; margin-bottom: 20px; }
.assess-box strong { display: block; margin-bottom: 8px; font-size: 13px; color: var(--primary-dark); }
.assess-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.assess-box li { position: relative; padding-left: 16px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.assess-box li::before { content: "•"; color: #e54b0b; position: absolute; left: 0; font-size: 16px; line-height: 1; top: 1px; }
.deliverable { background: #fff8f2; padding: 12px 14px; border-radius: 8px; font-size: 13px; color: var(--primary-dark); border: 1px dashed #ffb37c; margin-top: auto; }

/* Promise Styling Highlights */
.promise { display: grid; grid-template-columns: 0.85fr 1.25fr; gap: 30px; align-items: center; }
.principles { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; }
.principle { padding: 16px 20px; background: #fff8f2; border-left: 4px solid var(--accent-coral); border-radius: 0 10px 10px 0; font-size: 18px; color: var(--primary-dark); display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: transform 0.2s; }
.principle:hover { transform: translateX(5px); }
.principle i { color: var(--accent-coral); font-size: 20px; }


/* New Vision Leadership Section styles */
.vision { background: linear-gradient(145deg, #fff7f0, #fff); border-radius: 28px; padding: 35px; border: 1px solid #f1e5dc; }
.leadership-section { margin-top: 40px; display: flex; flex-direction: column; gap: 40px; }
.leadership-content h3, .beyond-delivery h3 { color: var(--primary-dark); font-size: 28px; margin-bottom: 16px; }
.leadership-content p, .beyond-delivery p { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.leadership-list { list-style: none; padding: 0; margin: 0 0 20px 0; display: grid; gap: 12px; }
.leadership-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-main); }
.leadership-list i { color: var(--accent-coral); margin-top: 4px; }
.highlight-text { font-weight: 700; color: var(--accent-coral) !important; font-size: 18px !important; border-left: 4px solid var(--accent-coral); padding-left: 15px; }

.value-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; }
.pillar { background: #fff; border: 1px solid var(--border-color); padding: 20px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform 0.3s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-coral); }
.pillar strong { display: block; color: var(--accent-coral); font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.pillar p { font-size: 14px; margin: 0; color: var(--text-muted); }

.success-metric { background: var(--grad); padding: 20px 30px; border-radius: 12px; color: #fff; text-align: center; font-size: 20px; box-shadow: 0 10px 20px rgba(229, 75, 11, 0.2); }
.success-metric strong { font-weight: 700; }

/* New Founder Message Style */
.founder { margin-top: 40px;
    padding: 35px 40px;
    border-radius: 22px;
    background: #09243f;
    color: #fff;
}
.founder-title { font-size: 26px; font-weight: 800; margin-bottom: 20px; line-height: 1.3; color: #ff8302;}
.founder-body p { font-size: 16px; font-weight: 400; margin-bottom: 14px; line-height: 1.6; color: rgba(255,255,255,0.95); margin-top: 0; }
.founder-quote { font-size: 18px; font-weight: 700; font-style: italic; border-left: 4px solid #fff; padding-left: 18px; margin: 20px 0; line-height: 1.4; color: #ff8302;}
.founder small { display: block; margin-top: 25px; opacity: .9; font-size: 16px; font-weight: 600;}


.footer { padding: 60px 7vw 30px; background: #101827; color: #fff; text-align: center; }
.footer .brand img { filter: none; margin: 0 auto 18px; height: 48px; }
.footer p { color: #b8c0ce; margin-bottom: 8px; }
.footerline { height: 4px; background: var(--grad); margin-top: 40px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.show { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } } 
@keyframes slowspin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .grid2, .promise { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .method-detailed-phases { grid-template-columns: 1fr; gap: 20px; }
  .num { font-size: 70px; }
  .mission { padding: 30px 5vw; }
  .section { padding: 70px 0; }
}

/* ========================================================
   Infographic CSS (Assayor Philosophy Integration)
   ======================================================== */
.ig-wrapper { 
  width: 100%; 
  background-color: #fff; 
  padding: 30px; 
  border-radius: 16px; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
  border: 1px solid var(--border-color);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.ig-top-pillars { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 35px; }
.ig-top-pillars::before { content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 50px; background-image: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 25%, transparent 25%), linear-gradient(225deg, rgba(243, 156, 18, 0.1) 25%, transparent 25%); background-size: 30px 30px; opacity: 0.5; z-index: 0; }
.ig-pillar { text-align: center; width: 30%; z-index: 1; }
.ig-icon-circle { width: 80px; height: 80px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 15px auto; border-width: 5px; border-style: solid; background: #fff;}
.ig-pillar-business .ig-icon-circle { border-color: #f39c12; }
.ig-pillar-technology .ig-icon-circle { border-color: #e74c3c; }
.ig-pillar-outcomes .ig-icon-circle { border-color: #c0392b; }
.ig-icon-circle svg { width: 35px; height: 35px; }
.ig-pillar-title { font-weight: 800; font-size: 1.05em; margin-bottom: 5px; }
.ig-pillar-business .ig-pillar-title { color: #f39c12; }
.ig-pillar-technology .ig-pillar-title { color: #e74c3c; }
.ig-pillar-outcomes .ig-pillar-title { color: #c0392b; }
.ig-pillar-subtitle { color: #555; font-size: 0.82em; line-height: 1.4; font-weight: 500; }
.ig-chevron { color: #f39c12; font-size: 1.6em; font-weight: bold; align-self: center; margin-bottom: 30px;}

.ig-comparison { display: flex; justify-content: space-between; align-items: stretch; margin-bottom: 30px; gap: 15px; }
.ig-approach-col { width: 46%; border-top: 1px solid #ddd; padding-top: 15px; display: flex; flex-direction: column; }
.ig-approach-header { text-align: center; padding: 8px 15px; border-radius: 20px; font-weight: 800; font-size: 0.75em; margin-bottom: 20px; }
.ig-traditional .ig-approach-header { background-color: #e0e0e0; color: #333; }
.ig-assayor .ig-approach-header { background-color: #fff3e0; color: #f39c12; }
.ig-vs-circle { width: 38px; height: 38px; background-color: #333; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 0.85em; margin-top: 48px; flex-shrink: 0; }

.ig-workflow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-grow: 1; }
.ig-step { text-align: center; width: 28%; }
.ig-step-circle { width: 42px; height: 42px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 8px auto; border-width: 3px; border-style: solid; background: #fff;}
.ig-step-circle svg { width: 20px; height: 20px; }
.ig-traditional .ig-step-circle { border-color: #e0e0e0; color: #555; font-size: 0.8rem; font-weight: bold; }
.ig-assayor .ig-step-circle { border-color: #f39c12; }
.ig-step-label { font-size: 0.7em; color: #555; font-weight: 800; }
.ig-arrow { color: #f39c12; font-size: 1.2em; }

.ig-focus-box { background-color: #f5f5f5; padding: 12px; border-radius: 8px; text-align: center; font-size: 0.82em; color: #555; font-weight: 600; }
.ig-traditional .ig-focus-box { background-color: #f0f0f0; }
.ig-assayor .ig-focus-box { background-color: #fff3e0; border: 1px solid #ffe0b2; }

.ig-footer-banner { background-color: #fff; border: 2px solid #ddd; border-radius: 30px; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); }
.ig-footer-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; background: #fff; font-size: 1.1em;}
.ig-footer-left-icon { border: 2px solid #f39c12; color: #f39c12; }
.ig-footer-right-icon { border: 2px solid #c0392b; color: #c0392b; }
.ig-footer-text { flex-grow: 1; text-align: center; font-size: 0.9em; font-weight: 800; color: #333; margin: 0 15px; line-height: 1.4; }
.ig-highlight-red { color: #c0392b; }
.ig-highlight-orange { color: #f39c12; }

@keyframes igCirclePulse {
    0% { opacity: 0.35; transform: scale(0.95); box-shadow: 0 0 0 rgba(0,0,0,0); }
    30% { opacity: 1; transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
    60%, 100% { opacity: 0.35; transform: scale(0.95); box-shadow: 0 0 0 rgba(0,0,0,0); }
}

.ig-pillar-business .ig-icon-circle { animation: igCirclePulse 4s infinite 0s; }
.ig-pillar-technology .ig-icon-circle { animation: igCirclePulse 4s infinite 1.33s; }
.ig-pillar-outcomes .ig-icon-circle { animation: igCirclePulse 4s infinite 2.66s; }

@media(max-width: 1024px) {
    .ig-wrapper { padding: 25px 20px; }
    .ig-comparison { flex-direction: column; align-items: center; }
    .ig-approach-col { width: 100%; border-top: none; }
    .ig-traditional { border-bottom: 1px dashed #ddd; padding-bottom: 25px; }
    .ig-vs-circle { margin: -25px 0; z-index: 10; border: 4px solid #fff; }
}
@media(max-width: 768px) {
    .ig-top-pillars { flex-direction: column; gap: 15px; align-items: center; }
    .ig-top-pillars::before { display: none; }
    .ig-pillar { width: 100%; }
    .ig-chevron { transform: rotate(90deg); margin: 5px 0; }
    .ig-footer-banner { flex-direction: column; text-align: center; gap: 12px; border-radius: 15px; padding: 15px; }
    .ig-footer-text { margin: 10px 0; }
}


/* ========================================================
   Section 3: Assayor Consulting Framework Custom CSS
   ======================================================== */
.framework-container { width: 100%; margin: 40px auto 0; position: relative; }
.flow-grid { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.flow-grid::before { content: ''; position: absolute; top: 60px; left: 10%; right: 10%; height: 12px; background: linear-gradient(to right, var(--color-biz), var(--color-peo), var(--color-pro), var(--color-tech), var(--color-out)); transform: translateY(-50%); z-index: -1; opacity: 0; }
.reveal.show .flow-grid::before { animation: fcFadeIn 1s ease forwards; }

.fc-column { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; padding: 0 10px; }
.circle-block { width: 120px; height: 120px; border-radius: 50%; background-color: white; border: 8px solid var(--col-color); display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 10px 20px rgba(0,0,0,0.1); position: relative; transform: scale(0); opacity: 0; }
.circle-block i { font-size: 35px; color: var(--col-color); margin-bottom: 5px; }
.circle-block .label { font-size: 13px; font-weight: 700; color: var(--col-color); text-transform: uppercase; }

.fc-column:not(:last-child) .arrow-right { position: absolute; top: 60px; right: -15px; transform: translateY(-50%); color: white; font-size: 24px; font-weight: bold; z-index: 2; opacity: 0; }
.vertical-connector { width: 1px; height: 40px; background-color: #e0e0e0; position: relative; opacity: 0; }
.vertical-connector::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--col-color); background: white; }

.details-card { background: #fffcfb; border: 1px solid rgba(200, 200, 200, 0.3); border-radius: 8px; padding: 20px 15px; width: 100%; box-sizing: border-box; box-shadow: 0 4px 15px rgba(0,0,0,0.03); min-height: 250px; display: flex; flex-direction: column; transform: translateY(-30px); opacity: 0; }
.details-card ul { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.details-card li { font-size: 13px; margin-bottom: 12px; display: flex; align-items: flex-start; color: var(--text-main); line-height: 1.3; padding-left: 0 !important; }
.details-card li::before { content: '➤'; color: var(--col-color); margin-right: 8px; font-size: 12px; margin-top: 2px; position: static !important;}
.details-card .card-footer { margin-top: 15px; font-size: 11px; font-style: italic; text-align: center; color: var(--text-muted); border-top: 1px solid transparent; }

@keyframes fcZoomIn { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fcSlideDownDetails { 0% { transform: translateY(-30px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes fcFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

.reveal.show .col-1 .circle-block { animation: fcZoomIn 0.5s ease forwards 0.2s; }
.reveal.show .col-2 .circle-block { animation: fcZoomIn 0.5s ease forwards 0.6s; }
.reveal.show .col-3 .circle-block { animation: fcZoomIn 0.5s ease forwards 1.0s; }
.reveal.show .col-4 .circle-block { animation: fcZoomIn 0.5s ease forwards 1.4s; }
.reveal.show .col-5 .circle-block { animation: fcZoomIn 0.5s ease forwards 1.8s; }

.reveal.show .col-1 .arrow-right { animation: fcFadeIn 0.5s ease forwards 0.6s; }
.reveal.show .col-2 .arrow-right { animation: fcFadeIn 0.5s ease forwards 1.0s; }
.reveal.show .col-3 .arrow-right { animation: fcFadeIn 0.5s ease forwards 1.4s; }
.reveal.show .col-4 .arrow-right { animation: fcFadeIn 0.5s ease forwards 1.8s; }

.reveal.show .col-1 .vertical-connector { animation: fcFadeIn 0.5s ease forwards 2.2s; }
.reveal.show .col-2 .vertical-connector { animation: fcFadeIn 0.5s ease forwards 2.6s; }
.reveal.show .col-3 .vertical-connector { animation: fcFadeIn 0.5s ease forwards 3.0s; }
.reveal.show .col-4 .vertical-connector { animation: fcFadeIn 0.5s ease forwards 3.4s; }
.reveal.show .col-5 .vertical-connector { animation: fcFadeIn 0.5s ease forwards 3.8s; }

.reveal.show .col-1 .details-card { animation: fcSlideDownDetails 0.5s ease forwards 2.4s; }
.reveal.show .col-2 .details-card { animation: fcSlideDownDetails 0.5s ease forwards 2.8s; }
.reveal.show .col-3 .details-card { animation: fcSlideDownDetails 0.5s ease forwards 3.2s; }
.reveal.show .col-4 .details-card { animation: fcSlideDownDetails 0.5s ease forwards 3.6s; }
.reveal.show .col-5 .details-card { animation: fcSlideDownDetails 0.5s ease forwards 4.0s; }
.reveal.show .framework-footer-banner { animation: fcFadeIn 1s ease forwards 4.5s; }

@media (max-width: 1024px) {
  .flow-grid { flex-direction: column; align-items: center; gap: 40px; }
  .flow-grid::before { display: none; }
  .fc-column { width: 100%; max-width: 400px; padding: 0; }
  .fc-column:not(:last-child) .arrow-right { top: auto; bottom: -30px; right: 50%; transform: translateX(50%) rotate(90deg); color: var(--col-color); }
  .details-card { min-height: auto; }
}

/* ========================================================
   Assayor Promise Interactive Diagram
   ======================================================== */
.ap-diagram-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  overflow: visible;
  top: 71px;
  left: 60px;
}
.ap-circle-wrapper {
  position: relative;
  width: 500px; 
  height: 500px; 
}

/* Center Logo */
.ap-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 180px;
}

.ap-center-img-logo {
  max-width: 100px; 
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  object-fit: contain;
}

.ap-center-logo h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-dark);
}

/* SVG Arrows */
.ap-svg-arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.ap-bg-arrow {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 6;
}
.ap-active-arrow {
  fill: none;
  stroke: #ff5722;
  stroke-width: 6;
}

/* Nodes */
.ap-node {
  position: absolute;
  width: 80px; 
  height: 80px; 
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem; 
  color: #fff;
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px #f1f5f9, 0 6px 12px rgba(0,0,0,0.05);
  z-index: 5;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; 
}
.ap-step-num {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #ff9800;
  color: #fff;
  border-radius: 50%;
  width: 26px; 
  height: 26px; 
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}
.ap-node-1 { background: linear-gradient(135deg, #ff9800, #ff5722); }
.ap-node-2 { background: linear-gradient(135deg, #f44336, #d32f2f); }
.ap-node-3 { background: linear-gradient(135deg, #d32f2f, #b71c1c); }
.ap-node-4 { background: linear-gradient(135deg, #ff5722, #e64a19); }
.ap-node-5 { background: linear-gradient(135deg, #ffb300, #ff9800); }

.ap-node.active {
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px #ff5722, 0 10px 20px rgba(255,87,34,0.3);
}

/* Pop-out Descriptions */
.ap-description {
  position: absolute;
  width: 220px; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease; 
  color: var(--text-main);
  text-align: left;
}
.ap-node.active .ap-description { opacity: 1; }
.ap-description h4 { margin: 0 0 5px 0; font-size: 1rem; color: #d32f2f; text-transform: uppercase; font-weight: 800;}
.ap-description p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; font-family: 'Plus Jakarta Sans', sans-serif;}

/* Position each description depending on side */
.ap-desc-1 { top: 50%; left: calc(100% + 20px); transform: translateY(-50%) translateX(10px); }
.ap-node-1.active .ap-desc-1 { transform: translateY(-50%) translateX(0); }

.ap-desc-2 { top: 50%; left: calc(100% + 20px); transform: translateY(-50%) translateX(10px); }
.ap-node-2.active .ap-desc-2 { transform: translateY(-50%) translateX(0); }

.ap-desc-3 { top: 50%; left: calc(100% + 20px); transform: translateY(-50%) translateX(10px); }
.ap-node-3.active .ap-desc-3 { transform: translateY(-50%) translateX(0); }

.ap-desc-4 { top: 50%; right: calc(100% + 20px); transform: translateY(-50%) translateX(-10px); text-align: right; }
.ap-node-4.active .ap-desc-4 { transform: translateY(-50%) translateX(0); }

.ap-desc-5 { top: 50%; right: calc(100% + 20px); transform: translateY(-50%) translateX(-10px); text-align: right; }
.ap-node-5.active .ap-desc-5 { transform: translateY(-50%) translateX(0); }

/* Connecting dotted lines */
.ap-desc-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: 15px;
  border-bottom: 2px dotted #d32f2f;
}
.ap-desc-1 .ap-desc-line, .ap-desc-2 .ap-desc-line, .ap-desc-3 .ap-desc-line { right: 100%; margin-right: 8px; }
.ap-desc-4 .ap-desc-line, .ap-desc-5 .ap-desc-line { left: 100%; margin-left: 8px; }

/* Dynamic Scale Adjustments to maintain constraints */
@media (max-width: 1250px) {
  .ap-circle-wrapper { transform: scale(0.85); }
}
@media (max-width: 1024px) {
  .ap-circle-wrapper { transform: scale(0.75); }
}
@media (max-width: 900px) {
  .ap-diagram-container { min-height: 500px; }
  .ap-circle-wrapper { transform: scale(0.9); } 
}
@media (max-width: 600px) {
  .ap-diagram-container { min-height: 380px; }
  .ap-circle-wrapper { transform: scale(0.65); }
}
@media (max-width: 450px) {
  .ap-diagram-container { min-height: 320px; }
  .ap-circle-wrapper { transform: scale(0.55); }
}