/* ==========================================================================
   Finance Vision Way — Main Stylesheet
   Theme: Deep Navy + Teal + Amber + Plum (custom palette, no theme reuse)
   ========================================================================== */

/* ---------- Local webfont (works without internet) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #08192e;
  --navy-800: #0d2745;
  --navy-700: #123158;
  --navy-600: #1a4272;

  --teal-600: #0e9f8f;
  --teal-500: #13b8a6;
  --teal-100: #d8f5f0;

  --amber-500: #f7a41d;
  --amber-100: #fdeecd;

  --plum-600: #6f2c8f;
  --plum-500: #8a3aa8;
  --plum-100: #f2e6f8;

  --green-600: #1c9d63;
  --green-100: #dff5e9;

  --blue-500: #2f6fed;
  --sky-100: #e4efff;

  --ink: #14263b;
  --muted: #5b6b80;
  --body-bg: #ffffff;
  --soft-bg: #f5f9fc;
  --line: #e3ebf3;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(8, 25, 46, .06);
  --shadow: 0 14px 38px rgba(8, 25, 46, .10);
  --shadow-lg: 0 24px 60px rgba(8, 25, 46, .16);
  --grad-brand: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 42%, var(--teal-600) 100%);
  --grad-amber: linear-gradient(120deg, var(--amber-500), #f9c74f);
  --transition: all .3s cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Base ---------- */
* { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--body-bg);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
  font-weight: 800;
  line-height: 1.22;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

p { color: var(--muted); }

a { text-decoration: none; color: var(--teal-600); transition: var(--transition); }
a:hover { color: var(--navy-700); }

img { max-width: 100%; height: auto; }

::selection { background: var(--teal-500); color: #fff; }

.section { padding: 82px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--soft-bg); }
.bg-navy { background: var(--navy-900); }
.bg-brand { background: var(--grad-brand); }
.bg-plum-soft { background: var(--plum-100); }
.bg-teal-soft { background: var(--teal-100); }
.bg-amber-soft { background: var(--amber-100); }

.text-teal { color: var(--teal-600) !important; }
.text-amber { color: var(--amber-500) !important; }
.text-plum { color: var(--plum-600) !important; }
.text-navy { color: var(--navy-800) !important; }
.text-muted-soft { color: var(--muted) !important; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.eyebrow-amber { color: #b9740a; background: var(--amber-100); }
.eyebrow.eyebrow-plum { color: var(--plum-600); background: var(--plum-100); }
.eyebrow.eyebrow-sky { color: #1b52bd; background: var(--sky-100); }
.eyebrow.eyebrow-on-dark { color: #9df0e4; background: rgba(19, 184, 166, .18); }

.section-title { font-size: clamp(1.7rem, 3.1vw, 2.5rem); margin-bottom: 14px; }
.section-lead { font-size: 1.03rem; max-width: 680px; }
.text-center .section-lead, .text-center .section-lead-wrap { margin-left: auto; margin-right: auto; }

.title-underline { position: relative; display: inline-block; }
.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: var(--amber-100);
  border-radius: 6px;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
  border-width: 2px;
  transition: var(--transition);
  font-size: .95rem;
  letter-spacing: .01em;
}
.btn:focus { box-shadow: 0 0 0 .22rem rgba(19, 184, 166, .28); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

.btn-brand { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(14, 159, 143, .28); }
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(14, 159, 143, .38); }

.btn-teal { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn-teal:hover { background: #0b8578; border-color: #0b8578; color: #fff; transform: translateY(-2px); }

.btn-amber { background: var(--amber-500); border-color: var(--amber-500); color: #3b2600; }
.btn-amber:hover { background: #e0900d; border-color: #e0900d; color: #3b2600; transform: translateY(-2px); }

.btn-plum { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.btn-plum:hover { background: #5c2376; border-color: #5c2376; color: #fff; transform: translateY(-2px); }

.btn-outline-navy { color: var(--navy-800); border-color: var(--navy-800); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }

.btn-outline-light-2 { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.btn-outline-light-2:hover { background: #fff; color: var(--navy-800); transform: translateY(-2px); }

.btn-link-arrow { padding: 0; font-weight: 700; color: var(--teal-600); border: 0; }
.btn-link-arrow:hover { color: var(--plum-600); letter-spacing: .02em; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cddbe9;
  font-size: .86rem;
  padding: 9px 0;
}
.topbar a { color: #cddbe9; font-weight: 600; }
.topbar a:hover { color: var(--amber-500); }
.topbar i { color: var(--teal-500); }
.topbar .tb-divider { color: rgba(255, 255, 255, .22); }
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin-left: 6px;
}
.topbar-social a:hover { background: var(--teal-600); color: #fff; }

/* ---------- Header / Logo ---------- */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(8, 25, 46, .12); }

/* Logo — single line, one uniform style */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1;
}
.logo-text {
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--navy-900);
  text-transform: none;
}
.logo-text .logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  margin: 0 3px 0 4px;
  flex: 0 0 auto;
}
.logo:hover .logo-text { color: var(--navy-700); }
.logo:hover .logo-dot { background: var(--amber-500); }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.footer-logo .logo-text { color: #fff; }
.footer-logo:hover .logo-text { color: #fff; }

/* ---------- Navigation ---------- */
.main-nav .nav-link {
  color: var(--navy-800);
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 14px !important;
  border-radius: 999px;
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--teal-600); background: var(--teal-100); }
.main-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 250px;
}
.main-nav .dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-800);
  padding: 9px 12px;
}
.main-nav .dropdown-item:hover { background: var(--soft-bg); color: var(--teal-600); }
.navbar-toggler { border: 0; padding: 6px 4px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230d2745' stroke-width='2.4' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.hero::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(247, 164, 29, .28), transparent 68%);
  top: -160px; right: -90px;
}
.hero::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(138, 58, 168, .30), transparent 70%);
  bottom: -240px; left: -120px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.3vw, 3.4rem); }
.hero p.hero-lead { color: #d3e3ef; font-size: 1.08rem; max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #eaf7f4;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber-500); }
.hero-ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.hero-ticks li { color: #d3e3ef; font-weight: 600; padding: 5px 0; font-size: .95rem; }
.hero-ticks i { color: var(--amber-500); margin-right: 9px; }

.hero-image-wrap { position: relative; }
.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, .14);
}
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .hf-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff;
}
.hero-float .hf-title { font-weight: 800; color: var(--navy-900); font-size: 1rem; line-height: 1.15; }
.hero-float .hf-sub { font-size: .78rem; color: var(--muted); font-weight: 600; }
.hero-float-1 { bottom: 26px; left: -14px; }
.hero-float-2 { top: 26px; right: -10px; animation-delay: 1.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-wave { display: block; width: 100%; height: 60px; margin-top: -1px; color: #fff; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; }
.trust-item { text-align: center; padding: 12px 8px; }
.trust-item .ti-num { font-size: 1.9rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.trust-item .ti-num span { color: var(--teal-600); }
.trust-item .ti-label { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cards (general) ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.card-soft:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .sc-media { position: relative; overflow: hidden; }
.service-card .sc-media img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.service-card:hover .sc-media img { transform: scale(1.07); }
.service-card .sc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-800);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}
.service-card .sc-icon {
  position: absolute;
  right: 14px;
  bottom: -22px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.sc-body { padding: 30px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.sc-body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.sc-body p { font-size: .93rem; margin-bottom: 18px; flex-grow: 1; }
.sc-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* colour helpers for icons / accents */
.ic-teal { background: var(--grad-brand); }
.ic-amber { background: var(--grad-amber); color: #3b2600 !important; }
.ic-plum { background: linear-gradient(120deg, var(--plum-600), var(--plum-500)); }
.ic-green { background: linear-gradient(120deg, #157f50, var(--green-600)); }
.ic-blue { background: linear-gradient(120deg, #1c4fbd, var(--blue-500)); }
.ic-navy { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); }

/* ---------- Feature / why-choose ---------- */
.feature-tile {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: var(--transition);
}
.feature-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-tile .ft-icon {
  width: 52px; height: 52px; flex: 0 0 auto;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff;
}
.feature-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-tile p { font-size: .9rem; margin-bottom: 0; }

/* ---------- Steps / process ---------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
  color: #fff;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Calculators ---------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.calc-result {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
}
.calc-result .cr-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #9db3c9; font-weight: 700; }
.calc-result .cr-value { font-size: 1.9rem; font-weight: 800; }
.calc-result .cr-value small { font-size: .95rem; color: #9db3c9; font-weight: 600; }
.form-range::-webkit-slider-thumb { background: var(--teal-600); }
.form-range::-moz-range-thumb { background: var(--teal-600); }
.form-control, .form-select {
  border-radius: 12px;
  border: 1.5px solid var(--line);
  padding: 12px 15px;
  font-size: .95rem;
  color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 .2rem rgba(19, 184, 166, .16);
}
.form-label { font-weight: 700; font-size: .88rem; color: var(--navy-800); margin-bottom: 6px; }
.form-check-input:checked { background-color: var(--teal-600); border-color: var(--teal-600); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 24px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--teal-100);
}
.testimonial-card .t-stars { color: var(--amber-500); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.t-quote { color: var(--ink); font-size: .96rem; position: relative; z-index: 1; }
.t-author { display: flex; align-items: center; gap: 13px; border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 18px; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: .95rem;
}
.t-name { font-weight: 800; color: var(--navy-900); font-size: .98rem; }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .bc-media { overflow: hidden; }
.blog-card .bc-media img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .bc-media img { transform: scale(1.06); }
.blog-card .bc-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .bc-tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--navy-900); }
.blog-card h3 a:hover { color: var(--teal-600); }
.blog-card p { font-size: .92rem; flex-grow: 1; }

/* Blog article */
.article-hero { height: 420px; object-fit: cover; width: 100%; border-radius: var(--radius-lg); }
.article-body { font-size: 1.03rem; }
.article-body h2 { font-size: 1.45rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 26px 0 12px; }
.article-body p { color: #3c4c60; margin-bottom: 18px; }
.article-body ul, .article-body ol { color: #3c4c60; margin-bottom: 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--teal-500);
  background: var(--soft-bg);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy-800);
  font-weight: 600;
  margin: 24px 0;
}
.article-body img { border-radius: var(--radius); margin: 8px 0 24px; }
.share-btns a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft-bg); color: var(--navy-800); margin-right: 8px;
}
.share-btns a:hover { background: var(--teal-600); color: #fff; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}
.sidebar-widget h3 { font-size: 1.05rem; margin-bottom: 16px; }
.sidebar-link { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sidebar-link:last-child { border-bottom: 0; }
.sidebar-link img { width: 62px; height: 52px; object-fit: cover; border-radius: 10px; }
.sidebar-link span { font-weight: 700; font-size: .87rem; color: var(--navy-800); line-height: 1.35; }
.sidebar-link:hover span { color: var(--teal-600); }

/* ---------- Page banner ---------- */
.page-banner {
  background: var(--grad-brand);
  color: #fff;
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 164, 29, .26), transparent 70%);
  top: -170px; right: -80px;
}
.page-banner h1 { color: #fff; font-size: clamp(1.85rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.page-banner p { color: #cfe0ee; margin-bottom: 0; max-width: 640px; }
.page-banner .breadcrumb { margin: 16px 0 0; }
.page-banner .breadcrumb a { color: #9df0e4; font-weight: 600; }
.page-banner .breadcrumb-item.active { color: #cfe0ee; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #7e97ae; }
.page-banner .container { position: relative; z-index: 2; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 184, 166, .30), transparent 70%);
  right: -110px; top: -140px;
}
.cta-band h2 { color: #fff; position: relative; z-index: 2; }
.cta-band p { color: #c3d4e3; position: relative; z-index: 2; margin-bottom: 0; }
.cta-band .cta-actions { position: relative; z-index: 2; }

/* ---------- Newsletter ---------- */
.newsletter-form .form-control {
  border-radius: 999px;
  padding: 14px 22px;
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.newsletter-panel {
  background: linear-gradient(120deg, var(--plum-600) 0%, var(--navy-700) 55%, var(--teal-600) 100%);
  border-radius: var(--radius-lg);
  padding: 46px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-panel h2 { color: #fff; }
.newsletter-panel p { color: #e2d6ee; }
.newsletter-panel .form-control { background: rgba(255, 255, 255, .96); border: 0; }

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  color: var(--navy-900);
  background: #fff;
  font-size: 1rem;
  padding: 18px 22px;
}
.accordion-button:not(.collapsed) { background: var(--teal-100); color: var(--navy-900); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230e9f8f'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");
}
.accordion-body { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-info-card .ci-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #fff;
}
.contact-info-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: .93rem; margin-bottom: 0; color: var(--muted); }
.contact-info-card a:hover { color: var(--teal-600); }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Legal pages ---------- */
.legal-body h2 { font-size: 1.35rem; margin: 34px 0 12px; padding-left: 16px; border-left: 4px solid var(--teal-500); }
.legal-body h3 { font-size: 1.08rem; margin: 24px 0 10px; }
.legal-body p, .legal-body li { font-size: .97rem; color: #3c4c60; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-side-card {
  background: var(--soft-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 110px;
}
.legal-side-card a { display: block; padding: 7px 0; font-size: .92rem; font-weight: 600; color: var(--navy-800); }
.legal-side-card a:hover { color: var(--teal-600); padding-left: 5px; }
.legal-updated { font-size: .86rem; color: var(--muted); font-weight: 600; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .tm-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .tm-role { font-size: .88rem; color: var(--teal-600); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9cadb; padding-top: 66px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; border-radius: 3px;
  background: var(--teal-500);
}
.site-footer p { color: #b9cadb; font-size: .93rem; }
.site-footer a { color: #b9cadb; font-size: .93rem; }
.site-footer a:hover { color: var(--amber-500); padding-left: 4px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--teal-500); margin-top: 5px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; margin-right: 8px;
}
.footer-social a:hover { background: var(--teal-600); color: #fff; padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 46px;
  padding: 22px 0;
  font-size: .88rem;
}
.footer-bottom a { font-size: .88rem; }
.disclaimer-bar { background: rgba(255, 255, 255, .04); padding: 16px 0; font-size: .82rem; color: #92a7bb; }

/* ---------- Alerts / back to top ---------- */
.alert-inline { border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; }
#backToTop {
  position: fixed;
  right: 22px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1040;
}
#backToTop.show { display: flex; }
#backToTop:hover { transform: translateY(-4px); }

/* ---------- Reveal animation ---------- */
/* Content is always visible; the animation only applies when JS is running */
html.fv-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.fv-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.fv-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Vision / mission panel ---------- */
.vision-card {
  background: linear-gradient(150deg, #0d2745 0%, #123158 48%, #6f2c8f 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vision-card::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 184, 166, .35), transparent 70%);
  bottom: -140px; right: -90px;
}
.vision-card .vc-badge {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #9df0e4;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.vision-card .vc-title { color: #fff; font-size: 1.5rem; line-height: 1.4; margin-bottom: 14px; }
.vision-card .vc-text { color: #c9d9e6; font-size: .97rem; margin-bottom: 6px; }
.vision-card .vc-list { list-style: none; padding: 0; margin: 18px 0 0; position: relative; z-index: 2; }
.vision-card .vc-list li { color: #dbe7f1; font-weight: 600; font-size: .93rem; padding: 6px 0; }
.vision-card .vc-list i { color: var(--teal-500); margin-right: 10px; }
.vision-card .vc-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: relative; z-index: 2; }
.vision-card .vc-stat {
  flex: 1 1 118px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 14px 16px;
}
.vision-card .vc-num { display: block; font-size: 1.32rem; font-weight: 800; color: var(--amber-500); line-height: 1.2; }
.vision-card .vc-lbl { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #b9cadb; }

/* ---------- Value cards ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-card .vl-icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; margin-bottom: 18px;
}
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--teal-500), var(--plum-500));
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--teal-600);
}
.timeline-item .tl-year { font-weight: 800; color: var(--plum-600); font-size: .92rem; letter-spacing: .05em; }
.timeline-item h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.timeline-item p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Tick list (light background) ---------- */
.tick-list { list-style: none; padding: 0; margin: 18px 0; }
.tick-list li { padding: 6px 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.tick-list i { color: var(--teal-600); margin-right: 10px; }

/* ---------- Service detail rows ---------- */
.service-row-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.service-row-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  font-weight: 800; font-size: .9rem;
  color: #fff;
  margin-right: 12px;
}
.service-highlight {
  background: var(--soft-bg);
  border-left: 4px solid var(--amber-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 18px 0;
}
.service-highlight strong { color: var(--navy-900); }
.service-highlight p { margin-bottom: 0; font-size: .93rem; }

/* ---------- Contact page ---------- */
.contact-side-panel {
  background: var(--soft-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
}
.contact-side-panel h3 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-side-list { list-style: none; padding: 0; margin: 0; }
.contact-side-list li { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-side-list li:last-child { border-bottom: 0; }
.contact-side-list i { color: var(--teal-600); font-size: 1.05rem; margin-top: 4px; }
.contact-side-list strong { display: block; font-size: .92rem; color: var(--navy-900); }
.contact-side-list span { font-size: .9rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 62px 0; }
  .hero { padding: 62px 0 74px; }
  .hero-float-1 { left: 6px; bottom: 14px; }
  .hero-float-2 { right: 6px; top: 14px; }
  .main-nav .nav-link { padding: 11px 8px !important; }
  .main-nav .dropdown-menu { box-shadow: none; border: 0; padding-left: 12px; }
  .legal-side-card { position: static; margin-bottom: 26px; }
  .cta-band, .newsletter-panel { padding: 34px 26px; }
}
@media (max-width: 575.98px) {
  .hero-float { display: none; }
  .article-hero { height: 260px; }
  .contact-form-wrap { padding: 24px 20px; }
  .logo-text { font-size: 1.1rem; }
  .logo-mark { width: 34px; height: 34px; }
  .calc-card { padding: 22px; }
}
