/*
Theme Name: DataXpert Solutions
Theme URI: https://dataxperts.org
Author: DataXpert Solutions LLC
Author URI: https://dataxperts.org
Description: Custom theme for DataXpert Solutions - Data Automation & Business Intelligence Consultancy. Automation-first positioning with Power BI dashboard expertise.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://dataxperts.org/privacy/
Text Domain: dataxpert
Tags: business, professional, custom-colors, custom-logo, full-width-template
*/

/* ============================================================
   DATAXPERT SOLUTIONS — THEME CSS
   Brand: Green #96C33C | Gray #969696 | Charcoal #1A1A1A
   Fonts: Syne (headings) + DM Sans (body)
   ============================================================ */

:root {
  --dx-green:       #96C33C;
  --dx-green-dark:  #7AA533;
  --dx-green-glow:  rgba(150,195,60,0.15);
  --dx-gray:        #969696;
  --dx-gray-dark:   #5A5A5A;
  --dx-charcoal:    #1A1A1A;
  --dx-charcoal-2:  #242424;
  --dx-charcoal-3:  #2E2E2E;
  --dx-off-white:   #F7F7F5;
  --dx-border:      #E2E2E0;
  --dx-white:       #FFFFFF;
  --font-head:      'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --radius:         10px;
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:      0 12px 48px rgba(0,0,0,0.14);
}

/* ── RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dx-white);
  color: var(--dx-charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* WordPress core resets */
.wp-block-group, .wp-block-cover, .entry-content { max-width: none; }
.wp-site-blocks { padding: 0; }
.is-layout-flow > * { margin-block-start: 0; margin-block-end: 0; }

/* ── UTILITY ───────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.text-green { color: var(--dx-green); }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dx-green);
  background: var(--dx-green-glow);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dx-gray); margin-bottom: 10px;
}

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent;
  transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--dx-green); color: var(--dx-charcoal); }
.btn-primary:hover { background: var(--dx-green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(150,195,60,0.35); }
.btn-outline-white { background: transparent; color: var(--dx-white); border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--dx-white); }
.btn-outline-green { background: transparent; color: var(--dx-green); border-color: var(--dx-green); }
.btn-outline-green:hover { background: var(--dx-green-glow); }
.btn-dark { background: var(--dx-charcoal); color: var(--dx-white); }
.btn-dark:hover { background: #333; }

/* ── HEADER / NAV ──────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .3s;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: rgba(255,255,255,.75); padding: 8px 14px;
  border-radius: 6px; transition: all .2s; letter-spacing: .01em;
}
.nav-links a:hover, .nav-links a.current-menu-item,
.nav-links a.current_page_item, .nav-links a[aria-current="page"] {
  color: var(--dx-white); background: rgba(150,195,60,.15);
}
.nav-cta { margin-left: 8px; padding: 10px 20px !important; font-size: 13px !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--dx-white); border-radius: 2px; transition: all .25s;
}
.mobile-menu {
  display: none; position: fixed; inset: 70px 0 0;
  background: var(--dx-charcoal); z-index: 999;
  padding: 24px; flex-direction: column; gap: 6px;
}
.mobile-menu a {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--dx-white); padding: 14px 16px; border-radius: 8px; display: block;
}
.mobile-menu a:hover { background: rgba(150,195,60,.12); color: var(--dx-green); }
.mobile-menu.open { display: flex; }

/* ── SERVICE CARDS ─────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  border: 1px solid var(--dx-border); border-radius: 14px; padding: 32px;
  transition: all .25s; background: var(--dx-white);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--dx-green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc-card.featured { background: var(--dx-charcoal); border-color: var(--dx-green); color: var(--dx-white); }
.svc-card.featured h3, .svc-card.featured .svc-price { color: var(--dx-white); }
.svc-card.featured p, .svc-card.featured .svc-feature { color: rgba(255,255,255,.7); }
.svc-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--dx-green); color: var(--dx-charcoal);
  font-family: var(--font-head); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--dx-green-glow); display: flex;
  align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.svc-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--dx-green); background: var(--dx-green-glow);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.svc-card h3 {
  font-family: var(--font-head); font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.2;
}
.svc-card p { font-size: 14px; color: var(--dx-gray-dark); line-height: 1.65; margin-bottom: 20px; }
.svc-features { margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-feature { font-size: 13px; color: var(--dx-gray-dark); padding-left: 20px; position: relative; }
.svc-feature::before { content: '✓'; position: absolute; left: 0; color: var(--dx-green); font-weight: 700; }
.svc-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.svc-from { font-size: 12px; color: var(--dx-gray); font-weight: 500; }
.svc-price { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--dx-charcoal); }
.svc-period { font-size: 13px; color: var(--dx-gray); }
.svc-link {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--dx-green); display: flex; align-items: center; gap: 6px; margin-top: auto;
}
.svc-link:hover { gap: 10px; }

/* ── CASE/TESTIMONIAL CARDS ────────────────────── */
.case-card {
  border: 1px solid var(--dx-border); border-radius: 14px; padding: 32px;
  transition: all .25s; position: relative; overflow: hidden;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-industry {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dx-green); margin-bottom: 8px;
}
.case-card h3 {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.25; letter-spacing: -.01em;
}
.metric-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--dx-green); line-height: 1; }
.metric-desc { font-size: 11px; color: var(--dx-gray); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

.testi-card { background: var(--dx-white); border: 1px solid var(--dx-border); border-radius: 14px; padding: 28px; position: relative; }
.testi-card::before { content: '\201C'; position: absolute; top: 20px; right: 24px; font-size: 48px; color: var(--dx-green); opacity: .15; font-family: Georgia,serif; line-height: 1; }
.testi-stars { color: var(--dx-green); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card blockquote { font-size: 15px; color: var(--dx-gray-dark); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--dx-charcoal); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--dx-green); flex-shrink: 0; }
.testi-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--dx-charcoal); }
.testi-title { font-size: 12px; color: var(--dx-gray); }

/* ── PAIN CARDS ────────────────────────────────── */
.pain-card {
  background: var(--dx-white); border: 1px solid var(--dx-border);
  border-radius: 12px; padding: 28px; position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.pain-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pain-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dx-green); }
.pain-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--dx-gray-dark); line-height: 1.6; }

/* ── PRICING ───────────────────────────────────── */
.price-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 28px; display: flex; flex-direction: column; transition: all .25s;
}
.price-card.popular { background: rgba(150,195,60,.08); border-color: var(--dx-green); position: relative; }
.price-card.popular::before {
  content: 'MOST POPULAR'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--dx-green); color: var(--dx-charcoal);
  font-family: var(--font-head); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; padding: 4px 14px; border-radius: 0 0 8px 8px;
}
.price-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--dx-white); margin-bottom: 6px; }
.price-big { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--dx-white); line-height: 1; }
.price-feature { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.price-feature::before { content: '✓'; color: var(--dx-green); font-weight: 700; flex-shrink: 0; }

/* ── FAQ ───────────────────────────────────────── */
.faq-item { background: var(--dx-white); border: 1px solid var(--dx-border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; user-select: none; }
.faq-q span { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--dx-charcoal); line-height: 1.35; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--dx-off-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--dx-green); transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--dx-green); color: var(--dx-charcoal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }
.faq-a p { font-size: 15px; color: var(--dx-gray-dark); line-height: 1.7; }

/* ── TRUST BAR ─────────────────────────────────── */
.trust-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }
.trust-item svg { color: var(--dx-green); flex-shrink: 0; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,.08); }

/* ── BLOG/INSIGHTS CARDS ───────────────────────── */
.blog-card { border: 1px solid var(--dx-border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-thumb { height: 180px; background: var(--dx-charcoal); position: relative; overflow: hidden; }
.blog-cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--dx-green); color: var(--dx-charcoal); padding: 4px 10px; border-radius: 6px; }
.blog-body { padding: 22px; }
.blog-date { font-size: 12px; color: var(--dx-gray); margin-bottom: 8px; }
.blog-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; letter-spacing: -.01em; }
.blog-read { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--dx-green); margin-top: 14px; }

/* ── FOOTER ────────────────────────────────────── */
#footer { background: var(--dx-charcoal); padding: 72px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 16px; transition: all .2s; }
.social-btn:hover { background: var(--dx-green); color: var(--dx-charcoal); }
.footer-col h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--dx-green); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: 12px; }
.footer-contact-item svg { color: var(--dx-green); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact-item a:hover { color: var(--dx-green); }
.footer-map-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: center; }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--dx-green); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ── RESPONSIVE ────────────────────────────────── */
@media(max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-map-grid { grid-template-columns: 1fr !important; }
}
@media(max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
  .trust-inner { justify-content: center; }
}

/* ── WORDPRESS GUTENBERG OVERRIDES ─────────────── */
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .cx-wrap,
.entry-content > div[style*="grid"],
.entry-content > div[class*="cx-"] { max-width: 100% !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.entry-content > .alignwide { max-width: 1160px; }
.entry-content > .alignfull { max-width: none; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.wp-block-image img { border-radius: 10px; }
.wp-block-quote { border-left: 4px solid var(--dx-green); padding-left: 20px; font-style: italic; color: var(--dx-gray-dark); }
.wp-block-separator { border-color: var(--dx-border); }



