/* shared site colours */
html body { background: #FFFAD3 !important; color: #000000; }
html body main, html body section:not([class*="hero"]) { background: #FFFAD3 !important; }

html body section:not([class*="hero"]) h1,
html body section:not([class*="hero"]) h2,
html body section:not([class*="hero"]) h3,
html body section:not([class*="hero"]) h4,
html body section:not([class*="hero"]) .gold-text,
html body section:not([class*="hero"]) .eyebrow { color: #0000ff !important; opacity: 1 !important; }

html body section:not([class*="hero"]) p,
html body section:not([class*="hero"]) li,
html body section:not([class*="hero"]) label,
html body section:not([class*="hero"]) small,
html body section:not([class*="hero"]) td,
html body section:not([class*="hero"]) th,
html body section:not([class*="hero"]) dt,
html body section:not([class*="hero"]) dd,
html body section:not([class*="hero"]) a:not([class*="btn"]) { color: #000000 !important; opacity: 1 !important; }

html body section:not([class*="hero"]) [class*="card"] {
  background: #ffffff !important; border: 1px solid #d1d5db; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
html body section:not([class*="hero"]) [class*="card"] h1,
html body section:not([class*="hero"]) [class*="card"] h2,
html body section:not([class*="hero"]) [class*="card"] h3,
html body section:not([class*="hero"]) [class*="card"] h4 { color: #0000ff !important; }

html body section:not([class*="hero"]) .btn,
html body section:not([class*="hero"]) [class*="btn-"],
html body section:not([class*="hero"]) button[type="submit"] {
  background: #ffd700 !important; color: #0000ff !important; font-weight: 700; border: none !important;
}

html body header { background: #ffffff !important; background-image: none !important; }
html body footer { background: #2373F4 !important; background-image: none !important; color: #ffffff !important; }
html body footer * { color: #ffffff !important; }
html body footer a { color: #FFFAD3 !important; font-weight: 600; }

html body input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
html body select, html body textarea {
  border: 1.5px solid #6b7280 !important; border-radius: 8px !important; background: #ffffff !important; color: #000000 !important;
}

/* no arrows */
html body select { -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important; background-image: none !important; }
html body summary { list-style: none !important; }
html body summary::-webkit-details-marker { display: none !important; }
html body summary::marker { content: "" !important; }
html body [class~="arrow"], html body [class~="arrows"], html body [class~="chevron"], html body [class~="caret"],
html body [class*="-arrow"], html body [class*="arrow-"], html body [class*="_arrow"],
html body [class*="-chevron"], html body [class*="chevron-"], html body [class*="-caret"], html body [class*="caret-"] { display: none !important; }

/* portfolio fixes */
html body header a, html body header.topbar a, html body nav a, html body nav.nav-links a, html body #navLinks a, html body header nav a, html body header.topbar nav a, html body nav nav a, html body nav.nav-links nav a, html body #navLinks nav a { color: #ffffff !important; opacity: 1 !important; }
html body section, html body section.hero, html body #home { background: #ffffff !important; background-image: none !important; }
html body section::before, html body section.hero::before, html body #home::before, html body section::after, html body section.hero::after, html body #home::after { background: none !important; background-image: none !important; }
html body section h1, html body section.hero h1, html body #home h1, html body section h2, html body section.hero h2, html body #home h2 { color: #0000ff !important; opacity: 1 !important; }
html body section h1 span, html body section.hero h1 span, html body #home h1 span, html body section h1 em, html body section.hero h1 em, html body #home h1 em, html body section h1 mark, html body section.hero h1 mark, html body #home h1 mark { color: #2373F4 !important; }
html body section p, html body section.hero p, html body #home p, html body section small, html body section.hero small, html body #home small, html body section li, html body section.hero li, html body #home li { color: #000000 !important; opacity: 1 !important; }
html body section a, html body section.hero a, html body #home a { background: #ffd700 !important; color: #0000ff !important; font-weight: 700; border: none !important; }
html body section [class*="card"], html body section.hero [class*="card"], html body #home [class*="card"], html body section [class*="mock"], html body section.hero [class*="mock"], html body #home [class*="mock"], html body section [class*="dash"], html body section.hero [class*="dash"], html body #home [class*="dash"], html body section [class*="panel"], html body section.hero [class*="panel"], html body #home [class*="panel"], html body section [class*="stat"], html body section.hero [class*="stat"], html body #home [class*="stat"], html body section [class*="chart"], html body section.hero [class*="chart"], html body #home [class*="chart"] { background: #FFFAD3 !important; }
html body section [class*="card"] *, html body section.hero [class*="card"] *, html body #home [class*="card"] * { color: #000000; }

/* portfolio eyebrow */
html body .menu-toggle, html body .hero, html body .container.hero-grid, html body .eyebrow, html body [class*="eyebrow"], html body [class*="kicker"], html body [class*="badge"], html body [class*="tagline"], html body [class*="pill"], html body [class*="label"], html body [class*="overline"], html body [class*="subtitle"], html body [class*="tag"] { color: #000000 !important; opacity: 1 !important; text-shadow: none !important; -webkit-text-fill-color: #000000 !important; }
html body .menu-toggle *, html body .hero *, html body .container.hero-grid *, html body .eyebrow *, html body [class*="eyebrow"] *, html body [class*="kicker"] *, html body [class*="badge"] *, html body [class*="tagline"] *, html body [class*="pill"] *, html body [class*="label"] *, html body [class*="overline"] *, html body [class*="subtitle"] *, html body [class*="tag"] * { color: #000000 !important; opacity: 1 !important; -webkit-text-fill-color: #000000 !important; }

/* hide balls */
html body .hero::before, html body .hero::after { display: none !important; content: none !important; }
html body .hero [class*="orb"], html body .hero [class*="blob"], html body .hero [class*="circle"], html body .hero [class*="bubble"], html body .hero [class*="ball"], html body .hero [class*="shape"], html body .hero [class*="glow"], html body .hero [class*="decor"] { display: none !important; }
html body .hero [class*="orb"]::before, html body .hero [class*="orb"]::after, html body .hero [class*="blob"]::before, html body .hero [class*="blob"]::after, html body .hero [class*="circle"]::before, html body .hero [class*="circle"]::after, html body .hero [class*="bubble"]::before, html body .hero [class*="bubble"]::after, html body .hero [class*="ball"]::before, html body .hero [class*="ball"]::after, html body .hero [class*="shape"]::before, html body .hero [class*="shape"]::after, html body .hero [class*="glow"]::before, html body .hero [class*="glow"]::after, html body .hero [class*="decor"]::before, html body .hero [class*="decor"]::after { display: none !important; }

/* hero glass */
html body .hero { background: linear-gradient(135deg, #e6f4fb 0%, #ffffff 45%, #fff6c9 100%) !important; }
html body .hero .dashboard-card, html body .hero .dash-top, html body .hero .status-dot, html body .hero [class*="card"], html body .hero [class*="mock"], html body .hero [class*="dash"], html body .hero [class*="panel"], html body .hero [class*="visual"] { background: rgba(255,255,255,0.28) !important; backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,0.7) !important; box-shadow: 0 8px 32px rgba(35,115,244,0.18) !important; }
html body .hero [class*="card"] [class*="card"], html body .hero [class*="mock"] [class*="mock"], html body .hero [class*="dash"] [class*="dash"], html body .hero [class*="panel"] [class*="panel"], html body .hero [class*="visual"] [class*="visual"] { background: rgba(255,255,255,0.35) !important; border: 1px solid rgba(255,255,255,0.6) !important; box-shadow: none !important; }

/* hero glass v2 */
html body section#home.hero {
  background: linear-gradient(135deg, #cfe9f8 0%, #ffffff 45%, #ffeea6 100%) !important;
}
html body section#home.hero .dashboard-card {
  background: rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(18px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
  border: 1px solid rgba(255,255,255,0.75) !important;
  box-shadow: 0 8px 32px rgba(35,115,244,0.22) !important;
}
html body section#home.hero .dashboard-card .dash-top,
html body section#home.hero .dashboard-card .dash-body {
  background: transparent !important; border: none !important; box-shadow: none !important;
}
html body section#home.hero .dashboard-card .metric {
  background: rgba(255,255,255,0.30) !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  box-shadow: none !important;
}

/* white cards */
html body section#portfolio [class*="card"], html body section#portfolio .portfolio-card.reveal { background: #ffffff !important; border: 1px solid #e5e7eb !important; }
html body section#portfolio .portfolio-card.reveal, html body section#portfolio .portfolio-visual.portfolio-educom, html body section#portfolio .portfolio-badge { background: #ffffff !important; background-image: none !important; }
html body section#portfolio .text-btn { background: transparent !important; background-image: none !important; color: #0000ff !important; font-weight: 700; box-shadow: none !important; border: none !important; }
html body section#portfolio [class*="card"] a, html body section#portfolio [class*="card"] [class*="link"], html body section#portfolio [class*="card"] [class*="more"] { background: transparent !important; color: #0000ff !important; }

/* contact black */
html body section#contact p,
html body section#contact span:not(.eyebrow):not(.gold-text),
html body section#contact a:not([class*="btn"]):not(.inq-open-btn),
html body section#contact div,
html body section#contact strong,
html body section#contact li {
  color: #000000 !important; opacity: 1 !important; -webkit-text-fill-color: #000000 !important;
}
html body section#contact .inq-open-btn { color: #0000ff !important; -webkit-text-fill-color: #0000ff !important; }

/* no selection colour */
html body ::selection, html body *::selection { background: transparent !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
html body ::-moz-selection, html body *::-moz-selection { background: transparent !important; color: inherit !important; }

/* contact links plain */
html body section#contact a:not(.inq-open-btn),
html body section#contact a:not(.inq-open-btn):hover {
  background: transparent !important; background-image: none !important;
  color: #000000 !important; -webkit-text-fill-color: #000000 !important;
  box-shadow: none !important; border: none !important; padding: 0 !important; border-radius: 0 !important;
}

/* footer everywhere */
html body footer, html body [class*="footer"], html body [id*="footer"] {
  background: #2373F4 !important; background-image: none !important; color: #ffffff !important;
}
html body footer *, html body [class*="footer"] *, html body [id*="footer"] * {
  color: #ffffff !important; opacity: 1 !important; -webkit-text-fill-color: #ffffff !important;
}
html body footer a, html body [class*="footer"] a, html body [id*="footer"] a {
  color: #FFFAD3 !important; -webkit-text-fill-color: #FFFAD3 !important; font-weight: 600; background: transparent !important;
}

/* short footer */
html body footer { padding-top: 22px !important; padding-bottom: 12px !important; margin-top: 0 !important; min-height: 0 !important; }
html body footer > *, html body footer .container { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
html body footer [class*="grid"], html body footer [class*="cols"], html body footer [class*="columns"], html body footer [class*="row"] { gap: 10px 28px !important; row-gap: 10px !important; margin: 0 !important; }
html body footer h3, html body footer h4, html body footer h5 { font-size: 15px !important; margin: 0 0 6px !important; padding: 0 !important; line-height: 1.2 !important; }
html body footer ul { margin: 0 !important; padding: 0 !important; }
html body footer li { margin: 0 !important; padding: 0 !important; line-height: 1.2 !important; }
html body footer a { display: inline-block; font-size: 13px !important; line-height: 1.25 !important; padding: 2px 0 !important; margin: 0 !important; }
html body footer p { font-size: 12.5px !important; line-height: 1.3 !important; margin: 4px 0 0 !important; padding: 0 !important; }
html body footer [class*="bottom"], html body footer [class*="copy"] { margin-top: 8px !important; padding-top: 8px !important; }

/* ===== White header on ALL pages ===== */
html body header,
html body header.site-header,
html body header#header,
html body #header {
  background: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #e6e6ef !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
}
html body header nav a,
html body #header nav a {
  color: #0000ff !important;
}
html body header nav a:hover,
html body header nav a.active,
html body header nav a[aria-current],
html body #header nav a:hover {
  color: #0b0b8f !important;
}
html body header button:not([class*="quote"]):not([class*="cta"]):not([class*="btn"]),
html body header .theme-toggle {
  background: #ffffff !important;
  color: #0000ff !important;
  border: 1px solid #0000ff !important;
}

/* ===== Blue text in headers + portfolio page header/hero ===== */
html body header,
html body header *:not(.btn):not([class*="quote"]):not([class*="cta"]),
html body #header nav a,
html body header nav a,
html body header nav a:visited {
  color: #0000ff !important;
  -webkit-text-fill-color: #0000ff !important;
}
/* portfolio page title banner / hero */
html body .page-hero, html body .page-header, html body .portfolio-hero,
html body .portfolio-header, html body section.hero, html body main > section:first-of-type,
html body .page-hero *, html body .page-header *, html body .portfolio-hero *,
html body .portfolio-header *, html body section.hero h1, html body section.hero h2,
html body section.hero p, html body section.hero .eyebrow {
  color: #0000ff !important;
  -webkit-text-fill-color: #0000ff !important;
}
/* keep gold buttons readable: blue text on gold */
html body header .btn, html body header [class*="quote"], html body header [class*="cta"],
html body .page-hero a, html body .page-header a {
  background: #ffd700 !important;
  color: #0000ff !important;
  -webkit-text-fill-color: #0000ff !important;
}

/* ===== Gold footer text on ALL pages ===== */
html body footer,
html body footer *,
html body footer a,
html body footer a:visited,
html body footer h1, html body footer h2, html body footer h3, html body footer h4,
html body footer p, html body footer li, html body footer span, html body footer small {
  color: #ffd700 !important;
  -webkit-text-fill-color: #ffd700 !important;
}
html body footer a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ===== ALL footer text gold (max specificity) ===== */
html body footer:not(#x),
html body footer:not(#x) *:not(#x),
html body footer:not(#x) a:not(#x),
html body footer:not(#x) a:visited:not(#x),
html body footer:not(#x) a:link:not(#x),
html body footer:not(#x) h1:not(#x), html body footer:not(#x) h2:not(#x),
html body footer:not(#x) h3:not(#x), html body footer:not(#x) h4:not(#x),
html body footer:not(#x) p:not(#x), html body footer:not(#x) li:not(#x),
html body footer:not(#x) span:not(#x), html body footer:not(#x) small:not(#x),
html body footer:not(#x) .footer-bottom:not(#x) {
  color: #ffd700 !important;
  -webkit-text-fill-color: #ffd700 !important;
  opacity: 1 !important;
}

/* ===== Legal pages (Terms / Privacy) ===== */
html body .legal-page .container { max-width: 900px; }
html body .legal-page h1 { margin-bottom: 4px; }
html body .legal-page .legal-co { font-weight: 700; color: #0000ff; margin: 0 0 6px; }
html body .legal-page h2 { font-size: 22px; margin: 34px 0 10px; }
html body .legal-page h3 { font-size: 18px; margin: 22px 0 8px; }
html body .legal-page p, html body .legal-page li { line-height: 1.7; color: #000; }
html body .legal-page ul, html body .legal-page ol { padding-left: 24px; margin: 8px 0 14px; }
html body .legal-page a { color: #0000ff !important; background: none !important; text-decoration: underline; font-weight: 600; }



/* DERRICO-SPACING-START */
html body main > section#services.section,
html body main > section#educom.section,
html body main > section#videos.section,
html body main > section#about.section,
html body main > section#process.section,
html body main > section#portfolio.section,
html body main > section#pricing.section,
html body main > section#faq.section,
html body main > section#contact.section {
  padding-top: 28px !important; padding-bottom: 28px !important;
  margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0 !important;
}
html body main > section.section > .container {
  padding-top: 0 !important; padding-bottom: 0 !important;
  margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0 !important;
}
html body main > section.section > .container > :first-child { margin-top: 0 !important; }
html body main > section.section > .container > :last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
html body main > section.section .section-heading { margin-bottom: 20px !important; }
html body main > section.section .section-head { margin-bottom: 4px !important; }
html body main > section#home.hero { min-height: 0 !important; padding-top: 120px !important; padding-bottom: 32px !important; }
html body .hero-visual, html body .service-card, html body .educom-slider { min-height: 0 !important; }
html body .footer { margin-top: 0 !important; }
@media (max-width: 700px) {
  html body main > section.section { padding-top: 24px !important; padding-bottom: 24px !important; }
  html body main > section#home.hero { padding-top: 104px !important; padding-bottom: 24px !important; }
}
/* DERRICO-SPACING-END */

/* DERRICO-VIDEOS-ALIGN-START */
html body #videos .section-heading { text-align: left !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
html body #videos .section-heading p { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
html body #videos .dv-grid { justify-content: start !important; }
html body #videos .dv-filters { justify-content: flex-start !important; }
/* DERRICO-VIDEOS-ALIGN-END */
