/*
Theme Name: Empirical Edge Inc.
Author: Empirical Edge Inc.
Version: 1.0
*/

:root {
  --ee-primary: #075a90;
  --ee-primary-light: #1a8fd6;
  --ee-dark: #000200;
  --ee-accent: #ffb703;
  --ee-accent-pink: #ff5d8f;
  --ee-soft: #eef7fc;
  --ee-radius: 1.25rem;
  --ee-shadow: 0 12px 30px rgba(7, 90, 144, 0.12);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1c2a33;
  background-color: #fbfdff;
  line-height: 1.7;
}

p, .card, .card-text, li, small, input, textarea, select, label {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  color: var(--ee-dark);
  letter-spacing: -0.01em;
}

a {
  color: var(--ee-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ee-primary-light);
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ee-accent);
  background: rgba(255, 183, 3, 0.14);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Navbar */
.site-navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(7, 90, 144, 0.08);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-navbar .navbar-brand {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  color: var(--ee-primary) !important;
  letter-spacing: -0.02em;
}

.site-navbar .navbar-nav a {
  color: var(--ee-dark) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1rem !important;
  margin: 0 0.15rem;
  transition: all 0.2s ease;
}

.site-navbar .navbar-nav a:hover,
.site-navbar .navbar-nav a.active {
  color: var(--ee-primary) !important;
  background: var(--ee-soft);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  color: #ffffff;
  padding: 6rem 0;
  background: linear-gradient(135deg, #075a90 0%, #0a7bc4 55%, #1a8fd6 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: rgba(255, 183, 3, 0.22);
  border-radius: 50%;
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -70px;
  width: 300px;
  height: 300px;
  background: rgba(255, 93, 143, 0.18);
  border-radius: 50%;
  filter: blur(12px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 640px;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

/* Brand section */
.section-brand {
  width: 100%;
  color: #ffffff;
  padding: 4.5rem 0;
  background: linear-gradient(120deg, var(--ee-dark) 0%, var(--ee-primary) 100%);
}

.section-brand h1,
.section-brand h2,
.section-brand h3,
.section-brand h4,
.section-brand h5,
.section-brand h6 {
  color: #ffffff;
}

.section-brand p {
  color: rgba(255, 255, 255, 0.9);
}

.section-brand .eyebrow {
  color: var(--ee-accent);
  background: rgba(255, 183, 3, 0.16);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--ee-radius);
  background: #ffffff;
  box-shadow: var(--ee-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(7, 90, 144, 0.2);
}

.card .card-title {
  color: var(--ee-primary);
  font-weight: 800;
}

.card .card-body {
  padding: 1.6rem;
}

.card::after {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--ee-accent), var(--ee-accent-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::after {
  transform: scaleX(1);
}

/* Buttons */
.btn-primary {
  --bs-btn-bg: var(--ee-primary);
  --bs-btn-border-color: var(--ee-primary);
  --bs-btn-hover-bg: #064a78;
  --bs-btn-hover-border-color: #064a78;
  --bs-btn-active-bg: #053c60;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  box-shadow: 0 8px 20px rgba(7, 90, 144, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(7, 90, 144, 0.35);
}

.btn-accent,
.btn-warning {
  --bs-btn-bg: var(--ee-accent);
  --bs-btn-border-color: var(--ee-accent);
  --bs-btn-color: var(--ee-dark);
  --bs-btn-hover-bg: #ffc633;
  --bs-btn-hover-border-color: #ffc633;
  --bs-btn-hover-color: var(--ee-dark);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
}

.btn-outline-primary {
  --bs-btn-color: var(--ee-primary);
  --bs-btn-border-color: var(--ee-primary);
  --bs-btn-hover-bg: var(--ee-primary);
  --bs-btn-hover-border-color: var(--ee-primary);
  border-radius: 999px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--ee-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #ffffff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--ee-accent);
}

/* Contact form (Contact Form 7) */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  font-family: 'Inter', sans-serif;
  border: 2px solid #dce8f0;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #1c2a33;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1rem;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--ee-primary);
  box-shadow: 0 0 0 4px rgba(7, 90, 144, 0.15);
}

.wpcf7 textarea {
  min-height: 140px;
}

.wpcf7 .wpcf7-submit {
  width: auto;
  background: linear-gradient(120deg, var(--ee-primary), var(--ee-primary-light));
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(7, 90, 144, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 90, 144, 0.4);
}

/* Responsive tuning */
@media (max-width: 767.98px) {
  .hero {
    padding: 4rem 0;
  }
  .section-brand {
    padding: 3rem 0;
  }
  .site-navbar .navbar-nav a {
    margin: 0.15rem 0;
  }
}

::selection {
  background: var(--ee-accent);
  color: var(--ee-dark);
}
/* brand-lock (authoritative — loads last) */
:root{--bs-primary:#075a90;--bs-primary-rgb:7,90,144;--bs-link-color:#075a90;--bs-link-color-rgb:7,90,144;--bs-link-hover-color:#000200}
.btn-primary{--bs-btn-bg:#075a90;--bs-btn-border-color:#075a90;--bs-btn-hover-bg:#000200;--bs-btn-hover-border-color:#000200;--bs-btn-active-bg:#000200;--bs-btn-active-border-color:#000200}
.btn-outline-primary{--bs-btn-color:#075a90;--bs-btn-border-color:#075a90;--bs-btn-hover-bg:#000200;--bs-btn-hover-border-color:#000200;--bs-btn-active-bg:#000200}
.text-primary{color:#075a90!important}.bg-primary{background-color:#075a90!important}.link-primary{color:#075a90!important}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
h1,h2,h3,h4,h5,h6,.navbar-brand,.footer-brand{font-family:'Merriweather', Georgia, serif}
.topbar{background:#075a90;color:#fff;font-size:.85rem}
.topbar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem 0}
.topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem;margin-right:1rem}
.topbar a:hover{color:#000200}
.topbar-contact svg,.topbar-social svg{width:15px;height:15px;fill:currentColor}
.topbar-social a{margin-right:.55rem}
@media (max-width:575.98px){.topbar-inner{flex-direction:column;justify-content:center;text-align:center;gap:.3rem;padding:.5rem 0}.topbar-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:.1rem .5rem}.topbar-contact a{margin-right:0}.topbar-social{display:flex;justify-content:center}.topbar-social a{margin:0 .28rem}}
.navbar{background:#fff;border-bottom:1px solid #e9ecef;position:sticky;top:0;z-index:1030}
.navbar .navbar-brand{font-weight:800;color:#075a90}
.custom-logo-link{display:inline-flex;align-items:center}
header .custom-logo,.site-header .custom-logo,.navbar .custom-logo{height:60px;width:auto;max-width:280px;object-fit:contain}
.navbar .navbar-nav a,.navbar .nav-link{color:#1f2937;font-weight:500;padding:.5rem 1rem;text-decoration:none}
.navbar .navbar-nav a,.navbar .nav-link{transition:color .2s ease}
.navbar .navbar-nav a:hover,.navbar .nav-link:hover{color:#000200}
.navbar .current-menu-item>a,.navbar .current_page_item>a,.navbar .current-menu-ancestor>a,.navbar .current-menu-parent>a,.navbar .nav-link.active,.navbar .active>a{color:#075a90;font-weight:700;box-shadow:inset 0 -2px 0 #075a90}
.site-footer{background:#0f172a;color:#cbd5e1;border-top:4px solid #075a90;padding:2.75rem 0 1.5rem;text-align:center}
.site-footer .container>*,.site-footer .footer-brand,.site-footer p,.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5,.site-footer h6{text-align:center}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{color:#787978}
.site-footer .footer-brand{color:#fff}
.site-footer p,.site-footer li,.site-footer span,.site-footer small{color:#cbd5e1}
.site-footer .text-muted,.site-footer .text-secondary,.site-footer .text-body-secondary,.site-footer .text-dark,.site-footer .text-black{color:#94a3b8!important}
.site-footer ul{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem 1.75rem;list-style:none;margin:1.25rem 0;padding-left:0}
.site-footer ul li{list-style:none;margin:0}
.site-footer ul a{display:inline-block;padding:.15rem 0;white-space:nowrap}
.footer-extras{margin-top:1.25rem}
.footer-logo{margin-bottom:1rem}
.footer-logo img,.footer-logo .custom-logo{max-height:64px;width:auto;height:auto;background:#fff;padding:10px 14px;border-radius:8px}
.footer-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;margin:0 0 1rem}
.footer-cta{display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-weight:500}
.site-footer .footer-cta:hover{color:#787978}
.footer-cta svg{width:16px;height:16px;fill:currentColor}
.footer-social{display:flex;justify-content:center;gap:.6rem;margin:.5rem 0 0}
.footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#fff;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.site-footer .footer-social-link:hover{background:#787978;border-color:#787978;color:#fff;transform:translateY(-2px)}
.footer-social-link svg{width:18px;height:18px;fill:currentColor}
.topbar-social-link{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;transition:background .2s ease,transform .2s ease}
.topbar-social-link:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}
.contact-details{list-style:none;margin:0;padding:0}
.contact-details .contact-item{display:flex;flex-direction:column;padding:.85rem 0;border-bottom:1px solid #e9ecef}
.contact-details .contact-item:last-child{border-bottom:0}
.contact-details .contact-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;margin-bottom:.2rem}
.contact-details a{color:#075a90;font-weight:500;text-decoration:none}
.contact-details a:hover{color:#000200;text-decoration:underline}
.footer-credit{margin:1.25rem 0 0;font-size:.8rem;color:rgba(255,255,255,.6)}
.footer-credit a{color:rgba(255,255,255,.7);text-decoration:none}
.footer-credit a:hover{color:#fff;text-decoration:underline}
.card{--bs-card-color:#1f2937;color:#1f2937}
.card .card-body,.card p,.card li,.card .card-title{color:#1f2937}
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6{color:#1f2937}
.hero,.section-brand{color:#fff}
.hero .wp-block-heading,.section-brand .wp-block-heading{color:#fff}
.wp-block-button__link{background:#075a90;color:#fff;border-radius:.5rem;padding:.7rem 1.6rem;font-weight:600;text-decoration:none;display:inline-block;transition:background .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease}
.wp-block-button__link:hover,.wp-block-button__link:focus{background:#000200!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.hero .wp-block-button__link,.section-brand .wp-block-button__link{background:#fff;color:#075a90}
.hero .wp-block-button__link:hover,.section-brand .wp-block-button__link:hover{background:#000200!important;color:#fff!important}
.wp-block-columns{gap:1.5rem;margin-top:1.5rem}
@media (min-width:768px) and (max-width:991.98px){.wp-block-columns{flex-wrap:wrap!important}.wp-block-columns>.wp-block-column{flex-basis:calc(50% - .75rem)!important}}
@media (max-width:767.98px){.wp-block-columns>.wp-block-column{flex-basis:100%!important}}
.wp-block-columns .wp-block-image{margin:0}
.wp-block-columns .wp-block-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:.75rem}
.hero .wp-block-image img{width:100%;height:auto;max-height:360px;object-fit:cover;border-radius:.75rem}
.wp-block-group.card{height:100%}
.card .wp-block-image{margin:0 0 1rem}
.card .wp-block-image img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:.5rem}
.wp-block-latest-posts.is-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;list-style:none;margin:0;padding:0}
@media (max-width:991.98px){.wp-block-latest-posts.is-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:767.98px){.wp-block-latest-posts.is-grid{grid-template-columns:1fr}}
.wp-block-latest-posts.is-grid>li{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e9ecef;border-radius:.85rem;box-shadow:0 6px 20px rgba(15,23,42,.06);margin:0}
.wp-block-latest-posts__featured-image{margin:0}
.wp-block-latest-posts__featured-image img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.wp-block-latest-posts.is-grid>li>:not(.wp-block-latest-posts__featured-image){padding-left:1.15rem;padding-right:1.15rem}
.wp-block-latest-posts__post-title{display:block;margin:1rem 0 0;font-weight:700;font-size:1.05rem;line-height:1.35;color:#1f2937;text-decoration:none}
.wp-block-latest-posts__post-title:hover{color:#075a90}
.wp-block-latest-posts__post-date{display:block;margin-top:.35rem;color:#6b7280;font-size:.8rem}
.wp-block-latest-posts__post-excerpt{margin:.6rem 0 1.15rem;color:#4b5563;font-size:.92rem;line-height:1.6}
.wp-block-latest-posts__post-excerpt a{color:#075a90;font-weight:600;text-decoration:none}
.wp-block-latest-posts__post-excerpt a:hover{color:#000200;text-decoration:underline}
.feature-stack{max-width:100%;margin:0}
.wpcf7 input:not([type=submit]),.wpcf7 textarea{width:100%}
.wpcf7 .wpcf7-submit{width:auto;display:inline-block;min-width:180px}
.wpcf7 .wpcf7-form{max-width:640px}
.text-center h1,.text-center h2,.text-center h3,.text-center h4,.text-center h5,.text-center h6,.text-center p,.text-center .eyebrow{text-align:center}
.text-center .wp-block-buttons{justify-content:center}
.text-center p,.text-center .lead,.text-center .wp-block-paragraph{margin-left:auto;margin-right:auto}
.card{border-radius:.4rem;border:1px solid #e5e7eb;box-shadow:none}
.btn,.wp-block-button__link{border-radius:.3rem}
.navbar{background:#fff;border-bottom:3px solid #075a90}
.navbar .navbar-nav a,.navbar .nav-link{text-transform:uppercase;letter-spacing:.05em;font-size:.82rem;font-weight:600}
h1,h2,h3,.wp-block-heading{letter-spacing:-.02em;font-weight:800}
html,body{overflow-x:hidden}
img{max-width:100%;height:auto}
