/* ============================================================
   Finance Money Growth — Custom Styles
   Palette: Emerald / Deep Green + Gold accents on warm neutrals
   ============================================================ */

:root {
  --fmg-emerald: #0e7a5f;
  --fmg-emerald-dark: #0a5c48;
  --fmg-emerald-deep: #063d30;
  --fmg-gold: #d4a017;
  --fmg-gold-light: #f2c94c;
  --fmg-cream: #faf7f0;
  --fmg-ink: #1c2b28;
  --fmg-slate: #4f625d;
  --fmg-white: #ffffff;
  --fmg-radius: 18px;
  --fmg-shadow: 0 12px 34px rgba(6, 61, 48, 0.12);
  --fmg-shadow-lg: 0 22px 55px rgba(6, 61, 48, 0.18);
  --fmg-font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fmg-font-head: Georgia, "Times New Roman", "Segoe UI", serif;
}

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

body {
  font-family: var(--fmg-font);
  color: var(--fmg-ink);
  background-color: var(--fmg-cream);
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: var(--fmg-font-head);
  color: var(--fmg-emerald-deep);
  font-weight: 700;
}

a { text-decoration: none; }

section { padding: 80px 0; }

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--fmg-slate);
  max-width: 680px;
  margin: 0 auto 3rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--fmg-font);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fmg-gold);
  margin-bottom: 0.6rem;
}

.bg-soft { background-color: #ffffff; }
.bg-cream { background-color: var(--fmg-cream); }
.bg-deep {
  background: linear-gradient(135deg, var(--fmg-emerald-deep) 0%, var(--fmg-emerald-dark) 55%, var(--fmg-emerald) 100%);
  color: #eef6f2;
}
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #ffffff; }

.text-gold { color: var(--fmg-gold) !important; }
.text-emerald { color: var(--fmg-emerald) !important; }

/* ---------- Top bar ---------- */
.topbar {
  background-color: var(--fmg-emerald-deep);
  color: #cfe6dd;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar a { color: #cfe6dd; transition: color .2s; }
.topbar a:hover { color: var(--fmg-gold-light); }
.topbar .separator { opacity: .35; margin: 0 12px; }

/* ---------- Navbar & Logo (single line, consistent everywhere) ---------- */
.navbar {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(6, 61, 48, 0.08);
  padding: 14px 0;
  transition: all .3s ease;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fmg-emerald) 0%, var(--fmg-emerald-deep) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(14, 122, 95, .35);
}

.brand-name {
  font-family: var(--fmg-font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--fmg-emerald-deep);
  line-height: 1.1;
}
.brand-name .brand-money { color: var(--fmg-gold); }

.navbar .nav-link {
  font-weight: 600;
  color: var(--fmg-ink);
  margin: 0 4px;
  padding: 8px 14px !important;
  border-radius: 10px;
  transition: all .25s ease;
  font-size: .95rem;
}
.navbar .nav-link:hover { color: var(--fmg-emerald); background-color: rgba(14, 122, 95, .07); }
.navbar .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--fmg-emerald) 0%, var(--fmg-emerald-dark) 100%);
}

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--fmg-gold-light) 0%, var(--fmg-gold) 100%);
  color: var(--fmg-emerald-deep);
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  box-shadow: 0 10px 22px rgba(212, 160, 23, .35);
  transition: all .3s ease;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(212, 160, 23, .45);
  color: var(--fmg-emerald-deep);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--fmg-emerald) 0%, var(--fmg-emerald-dark) 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  box-shadow: 0 10px 22px rgba(14, 122, 95, .3);
  transition: all .3s ease;
}
.btn-emerald:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 16px 30px rgba(14, 122, 95, .42);
}

.btn-outline-gold {
  border: 2px solid var(--fmg-gold-light);
  color: var(--fmg-gold-light);
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 28px;
  transition: all .3s ease;
}
.btn-outline-gold:hover {
  background-color: var(--fmg-gold-light);
  color: var(--fmg-emerald-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(6, 61, 48, 0.93) 0%, rgba(10, 92, 72, 0.82) 46%, rgba(6, 61, 48, 0.35) 100%),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  color: #f2f8f5;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
}
.hero h1 .highlight { color: var(--fmg-gold-light); }
.hero p.lead { color: #d8e8e1; max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 201, 76, .15);
  border: 1px solid rgba(242, 201, 76, .5);
  color: var(--fmg-gold-light);
  font-weight: 600;
  font-size: .85rem;
  border-radius: 50px;
  padding: 7px 18px;
  margin-bottom: 20px;
}

/* Page header (inner pages) */
.page-header {
  background:
    linear-gradient(120deg, rgba(6, 61, 48, 0.94), rgba(14, 122, 95, 0.85)),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 140px 0 70px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-header .breadcrumb-nav {
  color: #bcd9ce;
  font-size: .9rem;
  margin-top: 8px;
}
.page-header .breadcrumb-nav a { color: var(--fmg-gold-light); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--fmg-emerald) 0%, var(--fmg-emerald-deep) 100%);
  padding: 44px 0;
}
.stat-item { text-align: center; color: #fff; padding: 10px; }
.stat-number {
  font-family: var(--fmg-font-head);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--fmg-gold-light);
  line-height: 1;
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  color: #cfe6dd;
  margin-top: 8px;
}

/* ---------- Cards (services etc.) ---------- */
.fmg-card {
  background: #fff;
  border: 1px solid rgba(14, 122, 95, .1);
  border-radius: var(--fmg-radius);
  overflow: hidden;
  box-shadow: var(--fmg-shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.fmg-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--fmg-shadow-lg);
}
.fmg-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.fmg-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fmg-card:hover .card-img-wrap img { transform: scale(1.07); }
.fmg-card .card-img-wrap .price-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--fmg-gold-light), var(--fmg-gold));
  color: var(--fmg-emerald-deep);
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.fmg-card .card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fmg-card .card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.fmg-card .card-body p {
  color: var(--fmg-slate);
  font-size: .95rem;
  flex: 1;
}
.fmg-card .btn { align-self: flex-start; }

/* Icon feature cards (no image) */
.feature-card {
  background: #fff;
  border-radius: var(--fmg-radius);
  padding: 34px 26px;
  height: 100%;
  border: 1px solid rgba(14,122,95,.1);
  box-shadow: var(--fmg-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--fmg-shadow-lg); }
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14,122,95,.12), rgba(212,160,23,.14));
  color: var(--fmg-emerald);
  margin-bottom: 18px;
}

/* ---------- Process / steps ---------- */
.step-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fmg-emerald), var(--fmg-emerald-dark));
  color: var(--fmg-gold-light);
  font-family: var(--fmg-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(14,122,95,.35);
  margin-bottom: 18px;
}
.step-card { text-align: center; padding: 20px 12px; }
.step-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--fmg-slate); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--fmg-radius);
  padding: 34px 28px 28px;
  height: 100%;
  position: relative;
  border: 1px solid rgba(14,122,95,.1);
  box-shadow: var(--fmg-shadow);
}
.testimonial-card .quote-mark {
  font-family: var(--fmg-font-head);
  font-size: 4rem;
  line-height: 1;
  color: rgba(212,160,23,.3);
  position: absolute;
  top: 14px;
  right: 22px;
}
.testimonial-card p { color: var(--fmg-slate); font-style: italic; font-size: .97rem; }
.testimonial-stars { color: var(--fmg-gold); letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fmg-emerald), var(--fmg-gold));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fmg-font-head);
  flex: 0 0 48px;
}
.testimonial-name strong { color: var(--fmg-emerald-deep); font-size: 1rem; }

/* ---------- Blog ---------- */
.blog-card .card-img-wrap { height: 220px; }
.blog-meta-inline {
  display: flex;
  gap: 16px;
  color: var(--fmg-slate);
  font-size: .82rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-meta-inline span svg { vertical-align: -2px; margin-right: 5px; }

/* Blog single post */
.blog-single img.post-hero {
  width: 100%;
  border-radius: var(--fmg-radius);
  object-fit: cover;
  max-height: 430px;
}
.blog-content { font-size: 1.05rem; color: #2c3b37; }
.blog-content p { margin-bottom: 1.4rem; }
.blog-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.blog-content h3 { font-size: 1.25rem; margin: 1.6rem 0 .8rem; }
.blog-content blockquote {
  border-left: 4px solid var(--fmg-gold);
  background: rgba(212,160,23,.08);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  font-family: var(--fmg-font-head);
  font-style: italic;
  color: var(--fmg-emerald-deep);
  margin: 1.8rem 0;
}
.blog-content ul { margin-bottom: 1.4rem; padding-left: 1.2rem; }
.blog-content ul li { margin-bottom: .5rem; }
.post-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--fmg-slate);
  font-size: .9rem;
  border-bottom: 1px solid rgba(14,122,95,.15);
  padding-bottom: 18px;
  margin-bottom: 26px;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--fmg-radius);
  border: 1px solid rgba(14,122,95,.1);
  box-shadow: var(--fmg-shadow);
  padding: 26px 24px;
  margin-bottom: 26px;
}
.sidebar-widget h4 { font-size: 1.1rem; margin-bottom: 16px; }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li { margin-bottom: 10px; }
.sidebar-widget ul li a { color: var(--fmg-slate); transition: color .2s, padding-left .2s; display: block; }
.sidebar-widget ul li a:hover { color: var(--fmg-emerald); padding-left: 6px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--fmg-emerald-deep), var(--fmg-emerald));
  color: #fff;
}
.sidebar-cta h4 { color: var(--fmg-gold-light); }
.sidebar-cta p { color: #cfe6dd; font-size: .92rem; }

.mini-post { display: flex; gap: 14px; margin-bottom: 16px; }
.mini-post img {
  width: 76px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 76px;
}
.mini-post a { color: var(--fmg-emerald-deep); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.mini-post a:hover { color: var(--fmg-gold); }
.mini-post small { color: var(--fmg-slate); }

/* ---------- Newsletter ---------- */
.newsletter-band {
  background:
    linear-gradient(120deg, rgba(6, 61, 48, .95), rgba(14, 122, 95, .88)),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  border-radius: 26px;
  padding: 60px 40px;
  color: #fff;
}
.newsletter-band h2 { color: #fff; }
.newsletter-band p { color: #d8e8e1; }

/* ---------- Forms ---------- */
.fmg-form-card {
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px;
  box-shadow: var(--fmg-shadow-lg);
  border-top: 6px solid var(--fmg-gold);
}
.form-label { font-weight: 600; color: var(--fmg-emerald-deep); font-size: .92rem; }
.form-control, .form-select {
  border-radius: 12px;
  border: 1.5px solid #dbe6e1;
  padding: 12px 16px;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--fmg-emerald);
  box-shadow: 0 0 0 .2rem rgba(14, 122, 95, .15);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #d9534f; }
.invalid-feedback { font-size: .8rem; }
.form-check-input:checked {
  background-color: var(--fmg-emerald);
  border-color: var(--fmg-emerald);
}

.form-status {
  display: none;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .95rem;
}
.form-status.success {
  display: block;
  background: rgba(14, 122, 95, .1);
  border: 1px solid rgba(14, 122, 95, .4);
  color: var(--fmg-emerald-dark);
}
.form-status.error {
  display: block;
  background: rgba(217, 83, 79, .08);
  border: 1px solid rgba(217, 83, 79, .4);
  color: #b02a25;
}

/* ---------- Contact info ---------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--fmg-radius);
  padding: 28px 24px;
  box-shadow: var(--fmg-shadow);
  height: 100%;
  border-left: 5px solid var(--fmg-gold);
  transition: transform .3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); }
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,122,95,.12), rgba(212,160,23,.14));
  color: var(--fmg-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-info-card h5 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--fmg-slate); font-size: .95rem; margin-bottom: 0; }
.contact-info-card a:hover { color: var(--fmg-gold); }

.map-frame {
  border-radius: var(--fmg-radius);
  overflow: hidden;
  box-shadow: var(--fmg-shadow);
  border: 1px solid rgba(14,122,95,.15);
  background: #eef3f0;
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- About page ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--fmg-shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: -24px;
  right: -14px;
  background: linear-gradient(135deg, var(--fmg-gold-light), var(--fmg-gold));
  color: var(--fmg-emerald-deep);
  border-radius: 18px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(212,160,23,.4);
}
.experience-badge .big {
  font-family: var(--fmg-font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.experience-badge small { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .7rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--fmg-ink);
}
.check-list .tick {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14,122,95,.12);
  color: var(--fmg-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.team-card { text-align: center; }
.team-card .avatar-circle { width: 92px; height: 92px; font-size: 1.8rem; flex: 0 0 92px; margin-bottom: 16px; }
.team-card h5 { margin-bottom: 2px; font-size: 1.08rem; }
.team-card span { color: var(--fmg-gold); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; }
.team-card p { color: var(--fmg-slate); font-size: .9rem; margin-top: 10px; }

/* ---------- Legal pages ---------- */
.legal-content {
  background: #fff;
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--fmg-shadow);
}
.legal-content h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--fmg-slate); }
.legal-content ul { padding-left: 1.2rem; }
.legal-content ul li { margin-bottom: .5rem; }
.legal-updated {
  display: inline-block;
  background: rgba(14,122,95,.1);
  color: var(--fmg-emerald-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--fmg-gold-light) 0%, var(--fmg-gold) 100%);
  border-radius: 26px;
  padding: 54px 40px;
  color: var(--fmg-emerald-deep);
}
.cta-band h2 { color: var(--fmg-emerald-deep); }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--fmg-emerald-deep) 0%, #04281f 100%);
  color: #b8d3c9;
  padding: 70px 0 0;
}
.footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--fmg-gold);
}
.footer a { color: #b8d3c9; transition: color .2s, padding-left .2s; font-size: .93rem; }
.footer a:hover { color: var(--fmg-gold-light); padding-left: 5px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; }
.footer .brand-name { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact li svg { flex: 0 0 18px; margin-top: 4px; color: var(--fmg-gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 50px;
  padding: 20px 0;
  font-size: .85rem;
}
.footer-bottom a:hover { padding-left: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fmg-emerald), var(--fmg-emerald-dark));
  color: var(--fmg-gold-light);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(14,122,95,.4);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 999;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-top: 12px;
    box-shadow: var(--fmg-shadow);
  }
  .hero { min-height: auto; padding: 110px 0 80px; }
  section { padding: 60px 0; }
  .experience-badge { right: 10px; bottom: -18px; }
}

@media (max-width: 575.98px) {
  .fmg-form-card { padding: 30px 22px; }
  .legal-content { padding: 30px 22px; }
  .newsletter-band, .cta-band { padding: 40px 24px; }
}
