/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==== Metafrasis Design System ==== */
:root {
  --mf-navy: #1a2744;
  --mf-navy-dark: #111b33;
  --mf-gold: #b8973a;
  --mf-gold-light: #d4af55;
  --mf-gold-pale: #f5edd8;
  --mf-off-white: #f8f7f4;
  --mf-border: #dde2ea;
  --mf-grey-dark: #5a6070;
  --mf-radius: 6px;
  --mf-radius-lg: 12px;
  --mf-shadow: 0 4px 16px rgba(26,39,68,.10);
  --mf-shadow-lg: 0 12px 40px rgba(26,39,68,.18);
}

/* Inter font everywhere */
body, .fusion-body, .awb-live, h1, h2, h3, h4, h5, h6,
.fusion-title-heading, .fusion-button, .fusion-text, p, li, a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}
body { color: #1e2535; }

/* Section labels: gold uppercase letter-spacing */
.fusion-title-heading { letter-spacing: 0 !important; }
.section-label, .fusion-title[style*="uppercase"] .fusion-title-heading {
  letter-spacing: .14em !important;
}

/* Buttons — gold, rounded, subtle hover */
.fusion-button.button-custom {
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all .25s ease !important;
}
.fusion-button.button-custom:hover { transform: translateY(-1px); }

/* ---- Cards (hover lift + shadow) ---- */
.service-card, .intro-card, .fach-card, .client-item, .about-stat {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
  overflow: hidden;
}
.service-card:hover, .intro-card:hover, .fach-card:hover, .client-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--mf-shadow-lg) !important;
  border-color: var(--mf-gold) !important;
}
.client-item { text-align: center !important; }
.client-item:hover { background: var(--mf-gold-pale) !important; }

/* Dark "why" cards */
.why-item {
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--mf-radius-lg) !important;
  background: rgba(255,255,255,.04) !important;
  transition: border-color .25s ease !important;
}
.why-item:hover { border-color: var(--mf-gold) !important; }

/* Icons */
.service-icon, .intro-card-icon, .fach-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--mf-gold-pale);
  border-radius: var(--mf-radius);
  color: var(--mf-gold);
  margin-bottom: 18px;
}
.service-icon svg, .intro-card-icon svg { width: 28px; height: 28px; }
.client-icon { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.why-number {
  font-size: 2.5rem; font-weight: 700; color: var(--mf-gold);
  opacity: .55; line-height: 1; margin-bottom: 12px;
}

/* Card link */
.card-link {
  display: inline-block; margin-top: 12px;
  font-size: .88rem; font-weight: 600; color: var(--mf-gold);
  text-decoration: none; transition: color .25s ease;
}
.card-link:hover { color: var(--mf-gold-light); }

/* Card headings & text */
.service-card h3, .service-card .fusion-title-heading,
.intro-card h3, .fach-card h3 { color: var(--mf-navy) !important; }
.service-card p, .intro-card p, .fach-card p,
.intro-card .fusion-text, .service-card .fusion-text { color: var(--mf-grey-dark); }

/* Heading color (navy) */
h1, h2, h3, h4, .fusion-title-heading { color: var(--mf-navy); }

/* Hero / dark section white text */
.fusion-fullwidth[style*="1a2744"] h1,
.fusion-fullwidth[style*="1a2744"] h2,
.fusion-fullwidth[style*="1a2744"] .fusion-title-heading,
.fusion-fullwidth[style*="111b33"] h1,
.fusion-fullwidth[style*="111b33"] h2,
.fusion-fullwidth[style*="111b33"] .fusion-title-heading { color: #ffffff !important; }

/* Smooth links */
a { transition: color .25s ease; }


/* ==== Hero & dark section gradients ==== */
.mf-hero {
  background-image: linear-gradient(135deg, #111b33 0%, #1a2744 55%, #2a4a8a 100%) !important;
}
.mf-dark {
  background-image: linear-gradient(135deg, #1a2744 0%, #111b33 100%) !important;
}
/* Hero content max-width + spacing */
.mf-hero .fusion-title-heading { line-height: 1.15 !important; }
.mf-hero .fusion-text { max-width: 640px; }

/* ==== Header & Footer chrome → Metafrasis theme ==== */

/* ── HEADER: white bar, navy logo, gold sub-line, navy nav (matches theme) ── */
.fusion-tb-header .fusion-fullwidth {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--mf-border) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  min-height: 80px !important;
}

/* "Metafrasis" main logo line */
.fusion-tb-header .fusion-title-1 .fusion-title-heading {
  color: var(--mf-navy) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.01em !important;
  margin-bottom: 2px !important;
}

/* "Professional Language Services" sub-line (fix broken letter-spacing) */
.fusion-tb-header .fusion-title-2 .fusion-title-heading {
  color: var(--mf-gold) !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}

/* Header nav links: navy, gold hover + pale pill */
.fusion-tb-header .fusion-tb-header .awb-menu__main-li > a,
.fusion-tb-header .awb-menu__main-li > a {
  color: var(--mf-navy) !important;
  font-weight: 600 !important;
  font-size: .92rem !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
}
.fusion-tb-header .awb-menu__main-li:hover > a {
  color: var(--mf-gold) !important;
  background: var(--mf-gold-pale) !important;
}
.fusion-tb-header .awb-menu__main-li.current-menu-item > a,
.fusion-tb-header .awb-menu__main-li.current_page_item > a {
  color: var(--mf-gold) !important;
  background: var(--mf-gold-pale) !important;
}

/* ── FOOTER: navy, gold accents, light links (matches theme) ── */
.fusion-tb-footer .fusion-tb-footer,
.fusion-tb-footer .fusion-fullwidth,
.fusion-tb-footer .fusion-footer-widget-area {
  background-color: var(--mf-navy-dark) !important;
}
.fusion-tb-footer .fusion-title-heading {
  color: #ffffff !important;
}
.fusion-tb-footer .fusion-title-27 .fusion-title-heading {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
}
.fusion-tb-footer .fusion-text,
.fusion-tb-footer .fusion-text p,
.fusion-tb-footer p {
  color: rgba(255,255,255,.6) !important;
}
.fusion-tb-footer .awb-menu__main-li > a,
.fusion-tb-footer a {
  color: rgba(255,255,255,.7) !important;
}
.fusion-tb-footer .awb-menu__main-li:hover > a,
.fusion-tb-footer a:hover {
  color: var(--mf-gold-light) !important;
}
.fusion-tb-footer .fusion-title-28 .fusion-title-heading,
.fusion-tb-footer .fusion-title-29 .fusion-title-heading,
.fusion-tb-footer .fusion-title-30 .fusion-title-heading {
  color: var(--mf-gold) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
}

/* Footer bottom copyright bar */
.fusion-tb-footer .fusion-footer-copyright-area,
.fusion-tb-footer .fusion-footer-widget-area .fusion-column:last-child {
  border-top: 1px solid rgba(255,255,255,.1) !important;
}

/* Footer nav links: force light + gold hover (beats Avada default blue) */
body .fusion-tb-footer .fusion-footer-widget-area .awb-menu__main-li .awb-menu__main-a_regular,
body .fusion-tb-footer .fusion-footer-widget-area a,
body .fusion-tb-footer .awb-menu__main-li > .awb-menu__main-a_regular,
body .fusion-tb-footer a {
  color: rgba(255,255,255,.8) !important;
}
body .fusion-tb-footer .awb-menu__main-li:hover .awb-menu__main-a_regular,
body .fusion-tb-footer .fusion-footer-widget-area a:hover,
body .fusion-tb-footer a:hover {
  color: var(--mf-gold-light) !important;
}
/* Footer copyright / bottom bar text light */
body .fusion-tb-footer .fusion-footer-copyright-area,
body .fusion-tb-footer .fusion-copyright-notice p {
  color: rgba(255,255,255,.55) !important;
}
body .fusion-tb-footer .fusion-copyright-notice a {
  color: rgba(255,255,255,.75) !important;
}

/* Body background + text → match theme (white page, #1e2535 text) */
body, .fusion-body {
  background-color: #ffffff !important;
  color: #1e2535 !important;
}
/* Page content wrapper must not re-introduce grey */
.fusion-page-title-bar,
.fusion-body .fusion-page-wrapper {
  background-color: transparent !important;
}
