/* Relaunch theme: light, editorial, premium. Loads after style.min.css and restyles the whole site. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --eh-navy: #172d51;
  --eh-navy-2: #0f2140;
  --eh-orange: #f78c4b;
  --eh-orange-d: #e0742f;
  --eh-cyan: #00bcd4;
  --eh-ink: #1b2437;
  --eh-gray: #5a6578;
  --eh-line: #e6eaf0;
  --eh-soft: #f6f8fb;
  --eh-warm: #fff6ef;
  --eh-radius: 20px;
  --eh-shadow: 0 18px 50px rgba(23, 45, 81, .10);
  --eh-shadow-s: 0 8px 24px rgba(23, 45, 81, .08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Nunito Sans', system-ui, sans-serif !important;
  color: var(--eh-ink);
  background: #fff !important;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .page-title, .eh-display {
  font-family: 'Syne', 'Manrope', sans-serif !important;
  color: var(--eh-navy);
  letter-spacing: -.02em;
}
a { color: var(--eh-orange-d); }
a:hover { color: var(--eh-navy); }

/* ---------- Navbar ---------- */
#navbar.navbar, .navbar.fixed-top {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--eh-line);
  box-shadow: 0 6px 24px rgba(23, 45, 81, .05);
  padding: .55rem 0;
}
.navbar .navbar-nav .nav-item .nav-link {
  color: var(--eh-navy) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: .6rem .85rem !important;
}
.navbar .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-nav .nav-item .nav-link.active { color: var(--eh-orange-d) !important; }
.navbar .navbar-nav .nav-item:last-child .nav-link { color: var(--eh-navy) !important; }
.navbar .dropdown-menu {
  border: 1px solid var(--eh-line);
  border-radius: 14px;
  box-shadow: var(--eh-shadow);
  padding: .5rem;
}
.navbar .dropdown-item { border-radius: 10px; font-weight: 600; color: var(--eh-navy); padding: .55rem .9rem; }
.navbar .dropdown-item:hover { background: var(--eh-warm); color: var(--eh-orange-d); }
.navbar .navbar-toggler { border: 1px solid var(--eh-line) !important; color: var(--eh-navy); }
.navbar .navbar-toggler i, .navbar .navbar-toggler svg { color: var(--eh-navy); stroke: var(--eh-navy); }
.navbar .nav-btn, .eh-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--eh-navy) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: .65rem 1.4rem !important;
  font-weight: 700;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.navbar .nav-btn:hover, .eh-btn:hover { background: var(--eh-orange-d) !important; transform: translateY(-2px); box-shadow: var(--eh-shadow-s); color: #fff !important; }
.eh-btn-orange { background: var(--eh-orange) !important; color: #fff !important; }
.eh-btn-orange:hover { background: var(--eh-navy) !important; }
.eh-btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--eh-navy) !important;
  border: 2px solid var(--eh-navy); border-radius: 999px;
  padding: .6rem 1.35rem; font-weight: 700; transition: all .2s;
}
.eh-btn-ghost:hover { background: var(--eh-navy); color: #fff !important; }

/* ---------- Layout helpers ---------- */
.eh-section { padding: 96px 0; }
.eh-section-soft { background: var(--eh-soft); }
.eh-section-warm { background: var(--eh-warm); }
.eh-eyebrow {
  display: inline-block;
  font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eh-orange-d);
  background: var(--eh-warm);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.eh-h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; overflow-wrap: break-word; }
.eh-lead { font-size: 1.15rem; line-height: 1.75; color: var(--eh-gray); }
.eh-card {
  background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius);
  padding: 1.75rem; height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.eh-card:hover { transform: translateY(-6px); box-shadow: var(--eh-shadow); border-color: transparent; }
.eh-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; }
.eh-card p { color: var(--eh-gray); margin-bottom: 0; line-height: 1.7; }
.eh-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--eh-warm); color: var(--eh-orange-d); margin-bottom: 1.1rem;
}
.eh-icon svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.eh-hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(247, 140, 75, .16), transparent 60%),
    radial-gradient(700px 480px at 5% 90%, rgba(0, 188, 212, .12), transparent 60%),
    #fff;
}
.eh-hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem; overflow-wrap: break-word; }
.eh-hero h1 .eh-mark { color: var(--eh-orange-d); }
.eh-hero .eh-lead { max-width: 560px; }
.eh-hero-photo { position: relative; max-width: 460px; margin: 0 auto; }
.eh-hero-photo::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%;
  background: linear-gradient(145deg, var(--eh-orange), #ffc79b);
  border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; z-index: 0; opacity: .9;
}
.eh-hero-photo img { position: relative; z-index: 1; width: 100%; border-radius: 28px; box-shadow: var(--eh-shadow); background: #fff; }
.eh-float {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: .75rem 1.1rem;
  box-shadow: var(--eh-shadow); font-weight: 700; font-size: .9rem; color: var(--eh-navy);
}
.eh-float small { display: block; font-weight: 600; color: var(--eh-gray); }
.eh-float-a { left: -4%; bottom: 12%; }
.eh-float-b { right: -3%; top: 8%; }

/* ---------- Stats ---------- */
.eh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.eh-stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--eh-radius); background: #fff; border: 1px solid var(--eh-line); }
.eh-stat strong { display: block; font-family: 'Syne', sans-serif; font-size: 2.3rem; color: var(--eh-navy); line-height: 1; }
.eh-stat span { color: var(--eh-gray); font-weight: 600; font-size: .92rem; }
@media (max-width: 767px) { .eh-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Marquee ---------- */
.eh-marquee { background: var(--eh-navy); color: #fff; overflow: hidden; white-space: nowrap; padding: 1.15rem 0; }
.eh-marquee-track { display: inline-flex; gap: 3rem; animation: ehScroll 38s linear infinite; }
.eh-marquee span { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; opacity: .95; }
.eh-marquee span::after { content: "\2726"; color: var(--eh-orange); margin-left: 3rem; }
@keyframes ehScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .eh-marquee-track { animation: none; } }

/* ---------- Books ---------- */
.eh-book {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.eh-book:hover { transform: translateY(-8px); box-shadow: var(--eh-shadow); }
.eh-book-cover { background: linear-gradient(160deg, var(--eh-warm), #eaf8fb); padding: 1.6rem 1.6rem 1rem; text-align: center; }
.eh-book-cover img {
  width: 62%; max-width: 190px; height: auto;
  border-radius: 6px 10px 10px 6px;
  box-shadow: -6px 10px 24px rgba(23, 45, 81, .22), inset 4px 0 0 rgba(255,255,255,.35);
  background: #fff;
}
.eh-book-cover.eh-landscape { padding: 1.2rem; }
.eh-book-cover.eh-landscape img { width: 100%; max-width: 100%; border-radius: 8px; box-shadow: 0 10px 24px rgba(23, 45, 81, .22); }
.eh-cover-lg.eh-landscape { max-width: 460px; border-radius: 12px; box-shadow: 0 18px 40px rgba(23, 45, 81, .28); }
.eh-book-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.eh-book-body .eh-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--eh-orange-d); }
.eh-book-body h3 { font-size: 1.1rem; margin: .35rem 0 .5rem; line-height: 1.25; }
.eh-book-body p { color: var(--eh-gray); font-size: .94rem; line-height: 1.6; flex: 1; }
.eh-book-body .eh-more { font-weight: 700; color: var(--eh-navy); }
.eh-cover-lg { max-width: 320px; width: 100%; border-radius: 8px 14px 14px 8px; box-shadow: -10px 18px 40px rgba(23, 45, 81, .28); background: #fff; }
.eh-facts { list-style: none; padding: 0; margin: 0; }
.eh-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--eh-line); font-weight: 600; }
.eh-facts li span:first-child { color: var(--eh-gray); font-weight: 600; }

/* ---------- Skills / lists ---------- */
.eh-skill { margin-bottom: 1.35rem; }
.eh-skill-top { display: flex; justify-content: space-between; font-weight: 700; color: var(--eh-navy); margin-bottom: .4rem; }
.eh-bar { height: 9px; background: var(--eh-line); border-radius: 99px; overflow: hidden; }
.eh-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--eh-cyan), var(--eh-orange)); }
.eh-check { list-style: none; padding: 0; margin: 0; }
.eh-check li { position: relative; padding: .45rem 0 .45rem 2rem; line-height: 1.6; }
.eh-check li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--eh-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center/70% no-repeat; }

/* ---------- Quotes ---------- */
.eh-quote { background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); padding: 2rem; box-shadow: var(--eh-shadow-s); }
.eh-quote p { font-size: 1.05rem; line-height: 1.8; font-style: italic; }
.eh-quote .eh-by { font-weight: 800; color: var(--eh-navy); font-style: normal; }

/* ---------- FAQ ---------- */
.eh-faq details { background: #fff; border: 1px solid var(--eh-line); border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: .9rem; }
.eh-faq summary { cursor: pointer; font-weight: 800; color: var(--eh-navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.eh-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--eh-orange-d); }
.eh-faq details[open] summary::after { content: "\2212"; }
.eh-faq details p { margin: .8rem 0 0; color: var(--eh-gray); line-height: 1.75; }

/* ---------- Page hero (inner pages) ---------- */
.eh-page-hero { padding: 140px 0 60px; background: radial-gradient(800px 360px at 90% 0%, rgba(247,140,75,.14), transparent 60%), var(--eh-soft); }
.eh-page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.12; overflow-wrap: break-word; }
.eh-crumbs { font-size: .88rem; font-weight: 600; color: var(--eh-gray); margin-bottom: 1rem; }
.eh-crumbs a { color: var(--eh-gray); text-decoration: none; }
.eh-crumbs a:hover { color: var(--eh-orange-d); }
.eh-prose { line-height: 1.85; font-size: 1.06rem; }
.eh-prose h2 { font-size: 1.8rem; font-weight: 800; margin: 2.6rem 0 1rem; }
.eh-prose h3 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 .7rem; }
.eh-prose p { margin-bottom: 1.3rem; }
.eh-prose ul { margin-bottom: 1.4rem; }
.eh-prose li { margin-bottom: .4rem; }
.eh-figure { margin: 2.2rem auto; max-width: 760px; text-align: center; }
.eh-figure img { width: 100%; border-radius: var(--eh-radius); box-shadow: var(--eh-shadow-s); background: #fff; }
.eh-figure figcaption { font-size: .88rem; color: var(--eh-gray); margin-top: .6rem; }

/* ---------- CTA ---------- */
.eh-cta { background: linear-gradient(135deg, var(--eh-navy) 0%, #24437a 100%); color: #fff; border-radius: 28px; padding: 3.5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.eh-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(247,140,75,.35); filter: blur(10px); }
.eh-cta h2 { color: #fff; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); position: relative; z-index: 1; }
.eh-cta p { color: rgba(255,255,255,.85); position: relative; z-index: 1; max-width: 560px; margin: 0 auto 1.6rem; }
.eh-cta .eh-btn-orange { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--eh-navy-2) !important; color: rgba(255,255,255,.78); padding: 72px 0 40px !important; }
.footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; font-family: 'Manrope', sans-serif !important; font-weight: 800; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer a:hover { color: var(--eh-orange); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer .border-e-dashed { border: 0 !important; }
.footer-alt { background: #0a172e !important; color: rgba(255,255,255,.6); padding: 18px 0 !important; }
.footer-alt p { margin: 0; }

/* ---------- Inner-page polish (existing pages) ---------- */
.section.bg-gradient-light-white { background: var(--eh-soft) !important; }
.badge.rounded { border-radius: 999px !important; }
img { max-width: 100%; }

@media (max-width: 991px) {
  .eh-section { padding: 70px 0; }
  .eh-hero { padding-top: 120px; }
  .eh-float { display: none; }
  #navbar .navbar-collapse { background: #fff; padding: 1rem; border-radius: 14px; margin-top: .6rem; border: 1px solid var(--eh-line); }
}

/* ---------- Existing inner pages and blog posts: align with the new look ---------- */
.page-title { font-weight: 700 !important; font-size: clamp(1.9rem, 3.4vw, 2.7rem) !important; line-height: 1.15 !important; }
.page-content { font-weight: 400 !important; font-size: 1.08rem !important; line-height: 1.85 !important; color: var(--eh-ink); }
.page-content h2, .page-content h3 { font-family: 'Syne', 'Manrope', sans-serif; font-weight: 700 !important; color: var(--eh-navy); }
.badge.bg-soft-alt-success, .badge.bg-soft-info { background: var(--eh-warm) !important; color: var(--eh-orange-d) !important; }
@media (max-width: 575px) {
  .eh-hero-photo { max-width: 330px; }
  .eh-hero { padding-bottom: 60px; }
}
