/* Invest Finance Service - shared styles */
:root {
    --navy: #092f3f;
    --navy-deep: #062733;
    --teal: #12a594;
    --teal-dark: #0d8477;
    --mint: #dff5ef;
    --cream: #f6f3ec;
    --gold: #e9b949;
    --ink: #172a33;
    --muted: #667983;
    --white: #ffffff;
    --border: #dce5e7;
    --shadow: 0 18px 45px rgba(9, 47, 63, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

img {
    max-width: 100%;
}

.section-space {
    padding: 96px 0;
}

.section-space-sm {
    padding: 68px 0;
}

.bg-cream {
    background: var(--cream);
}

.bg-navy {
    background: var(--navy);
}

.text-muted-custom {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 2px;
    background: var(--teal);
    content: "";
}

.section-title {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.section-copy {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.08rem;
}

.btn {
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.btn-brand {
    border: 1px solid var(--teal);
    background: var(--teal);
    color: var(--white);
}

.btn-brand:hover,
.btn-brand:focus {
    border-color: var(--teal-dark);
    background: var(--teal-dark);
    color: var(--white);
}

.btn-outline-brand {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--navy);
    color: var(--white);
}

.btn-light-brand {
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--navy);
}

.btn-light-brand:hover,
.btn-light-brand:focus {
    border-color: var(--mint);
    background: var(--mint);
    color: var(--navy);
}

.topbar {
    padding: 8px 0;
    background: var(--navy-deep);
    color: #d6e4e7;
    font-size: 0.78rem;
}

.topbar a {
    color: #d6e4e7;
}

.topbar a:hover {
    color: var(--white);
}

.navbar {
    min-height: 82px;
    border-bottom: 1px solid rgba(9, 47, 63, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 1.07rem;
    font-weight: 800;
    line-height: 1.05;
}

.navbar-brand:hover {
    color: var(--navy);
}

.logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 1rem;
    letter-spacing: -0.06em;
}

.logo-text small {
    display: block;
    margin-top: 4px;
    color: var(--teal-dark);
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    margin: 0 5px;
    padding: 10px 8px;
    color: #36505b;
    font-size: 0.9rem;
    font-weight: 700;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--teal-dark);
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background: var(--cream);
}

.hero-image {
    position: absolute;
    inset: 0 0 0 44%;
    background-image: linear-gradient(90deg, var(--cream) 0%, rgba(246, 243, 236, 0.2) 28%, rgba(246, 243, 236, 0) 60%), url("../images/hero-img.jpg");
    background-position: center;
    background-size: cover;
}

.hero-shape {
    position: absolute;
    right: -110px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 55px solid rgba(18, 165, 148, 0.25);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 630px;
    padding: 118px 0 96px;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.98;
}

.hero h1 span {
    color: var(--teal-dark);
}

.hero .lead {
    max-width: 560px;
    margin-bottom: 32px;
    color: #49606a;
    font-size: 1.16rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    color: #3f5964;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.check-dot {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal-dark);
    font-size: 0.72rem;
}

.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -38px;
}

.trust-panel {
    padding: 30px 34px;
    border-radius: 12px;
    background: var(--navy);
    box-shadow: var(--shadow);
    color: var(--white);
}

.trust-item {
    position: relative;
    padding: 4px 22px;
}

.trust-item + .trust-item {
    border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.trust-number {
    margin-bottom: 3px;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
}

.trust-label {
    color: #bcd0d5;
    font-size: 0.8rem;
}

.service-card {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 8px;
    background: var(--mint);
    color: var(--teal-dark);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.23rem;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.93rem;
}

.text-link {
    color: var(--navy);
    font-size: 0.87rem;
    font-weight: 800;
}

.text-link:hover {
    color: var(--teal-dark);
}

.image-card {
    position: relative;
}

.image-card img {
    width: 100%;
    min-height: 480px;
    border-radius: 12px;
    object-fit: cover;
}

.image-note {
    position: absolute;
    right: -20px;
    bottom: 28px;
    max-width: 250px;
    padding: 24px;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: var(--shadow);
    color: var(--white);
}

.image-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.feature-list {
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 30px;
    color: #3f5964;
}

.feature-list li::before {
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--teal-dark);
    content: "✓";
    font-weight: 900;
}

.process-card {
    padding: 8px 20px 8px 0;
}

.process-number {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--teal-dark);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.process-card h3 {
    font-size: 1.16rem;
}

.process-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--teal-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-card h3 {
    margin-bottom: 13px;
    font-size: 1.3rem;
    line-height: 1.35;
}

.blog-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border-radius: 14px;
    background: var(--navy);
    color: var(--white);
}

.cta-panel::after {
    position: absolute;
    right: -110px;
    bottom: -170px;
    width: 340px;
    height: 340px;
    border: 50px solid rgba(18, 165, 148, 0.35);
    border-radius: 50%;
    content: "";
}

.cta-panel h2,
.cta-panel p {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-panel p {
    max-width: 650px;
    color: #c8dadd;
}

.cta-panel .btn {
    position: relative;
    z-index: 1;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 86px;
    background: var(--navy);
    color: var(--white);
}

.page-hero::after {
    position: absolute;
    top: -180px;
    right: -100px;
    width: 430px;
    height: 430px;
    border: 65px solid rgba(18, 165, 148, 0.26);
    border-radius: 50%;
    content: "";
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.page-hero p {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0;
    color: #c8dadd;
    font-size: 1.08rem;
}

.breadcrumb-line {
    position: relative;
    z-index: 1;
    margin-bottom: 13px;
    color: #8fe0d4;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breadcrumb-line a {
    color: #8fe0d4;
}

.value-card {
    height: 100%;
    padding: 30px;
    border-top: 3px solid var(--teal);
    background: var(--white);
    box-shadow: 0 10px 35px rgba(9, 47, 63, 0.07);
}

.value-card h3 {
    font-size: 1.12rem;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.team-stat {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.team-stat strong {
    display: block;
    color: var(--navy);
    font-size: 1.65rem;
}

.team-stat span {
    color: var(--muted);
    font-size: 0.82rem;
}

.service-detail {
    height: 100%;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.service-detail .service-icon {
    margin-bottom: 20px;
}

.service-detail h2 {
    font-size: 1.45rem;
}

.service-detail ul {
    margin: 18px 0 0;
    padding-left: 19px;
    color: var(--muted);
    font-size: 0.9rem;
}

.service-detail li {
    margin-bottom: 8px;
}

.form-card {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-label {
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 750;
}

.form-control,
.form-select {
    min-height: 50px;
    padding: 12px 14px;
    border-color: #cfdadd;
    border-radius: 5px;
    font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(18, 165, 148, 0.13);
}

textarea.form-control {
    min-height: 130px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 6px;
    background: var(--mint);
    color: var(--teal-dark);
    font-weight: 800;
}

.contact-item h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.notice-box {
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    background: #fffaf0;
    color: #625637;
    font-size: 0.88rem;
}

.newsletter-card {
    height: 100%;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.newsletter-card.subscribe-card {
    border: 0;
    background: var(--navy);
    color: var(--white);
}

.newsletter-card.subscribe-card h2,
.newsletter-card.subscribe-card .form-label {
    color: var(--white);
}

.newsletter-card.subscribe-card p {
    color: #c8dadd;
}

.article-featured {
    overflow: hidden;
    border-radius: 12px;
    background: var(--navy);
}

.article-featured img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.article-featured-content {
    padding: 52px;
}

.article-featured-content h2,
.article-featured-content p {
    color: var(--white);
}

.article-featured-content p {
    color: #c8dadd;
}

.policy-content {
    max-width: 900px;
}

.policy-content h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    font-size: 1.55rem;
}

.policy-content h3 {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 1.13rem;
}

.policy-content p,
.policy-content li {
    color: #526873;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-summary {
    padding: 28px;
    border-radius: 8px;
    background: var(--mint);
}

.policy-summary p:last-child {
    margin-bottom: 0;
}

.alert-success {
    border-color: #b8e7dc;
    background: #eaf8f4;
    color: #17675e;
}

.footer {
    padding: 74px 0 30px;
    background: var(--navy-deep);
    color: #aac1c6;
}

.footer .navbar-brand {
    color: var(--white);
}

.footer .logo-mark {
    background: var(--teal);
}

.footer h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 0.98rem;
}

.footer p,
.footer a,
.footer li {
    color: #aac1c6;
    font-size: 0.86rem;
}

.footer a:hover {
    color: var(--white);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.77rem;
}

.footer-disclaimer {
    margin-top: 30px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #78949a;
    font-size: 0.72rem;
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 76px 0;
    }

    .topbar {
        display: none;
    }

    .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        padding: 18px 0 8px;
    }

    .hero {
        min-height: auto;
    }

    .hero-image {
        inset: auto 0 0;
        height: 380px;
        background-image: linear-gradient(180deg, var(--cream) 0%, rgba(246, 243, 236, 0) 35%), url("../images/financial-advisor-hero.jpg");
    }

    .hero-content {
        padding: 84px 0 430px;
    }

    .trust-item + .trust-item {
        border-left: 0;
    }

    .image-note {
        right: 18px;
    }

    .cta-panel {
        padding: 48px 36px;
    }
}

@media (max-width: 575.98px) {
    .section-space {
        padding: 62px 0;
    }

    .section-space-sm {
        padding: 52px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding-top: 64px;
    }

    .hero-trust {
        gap: 12px;
    }

    .trust-panel,
    .form-card,
    .newsletter-card,
    .article-featured-content {
        padding: 28px;
    }

    .image-card img {
        min-height: 370px;
    }

    .image-note {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin: -30px 18px 0;
    }

    .cta-panel {
        padding: 38px 26px;
    }

    .page-hero {
        padding: 70px 0 65px;
    }
}


.blog-content {
    text-align: justify;
}

.navbar-brand img{
    width: 250px;
}