:root {
    --primary: #003494;
    --primary-darken: #003eb1;
    --secondary: #000000;
    --dark: #0a0202;
    --footer-bg: #0a0a0a;
    --copyright-bg: #000000;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 112px; }

body {
    --banner-bg-image: url(/uploads/2016/10/hero-larger-height-min.jpg);
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    color: #23272b;
    font-weight: 700;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-darken); }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}
.site-header .navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    padding-top: .75rem;
    padding-bottom: .75rem;
}
.site-header + main { padding-top: 102px; }
.site-header .navbar-nav .nav-link {
    color: #23272b;
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem 1rem;
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
    color: var(--primary);
}
.site-header .nav-link.btn-primary {
    color: #fff !important;
}
.site-header .nav-link.btn-primary:hover {
    background-color: var(--primary-darken);
}
.site-header .icon-btn {
    background: none;
    border: none;
    font-size: 1.05rem;
    padding: .5rem .6rem;
    line-height: 1;
}
.dropdown-menu {
    border-top: 3px solid var(--primary);
    border-radius: 0 0 .25rem .25rem;
}
.dropdown-item:active, .dropdown-item.active {
    background-color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,10,40,.72), rgba(0,10,40,.72)), url('/images/brand/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    text-align: center;
}
.hero h1 {
    color: #fff;
    font-size: 2.4rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 1rem;
}
.hero .attribution {
    color: #b9c9ec;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 2rem;
}

/* ---------- Sections ---------- */
section { padding: 3rem 0; }
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    font-size: 2rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}
.section-title p { color: #666; max-width: 700px; margin: .5rem auto 0; }
.bg-light-gray { background-color: #f7f8fa; }
.bg-dark-section { background-color: var(--dark); color: #cfd3d8; }
.bg-dark-section h2 { color: #fff; }

/* ---------- Why us cards ---------- */
.feature-card {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    border-top: 3px solid var(--primary);
    transition: transform .2s ease;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card .icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,52,148,.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.feature-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { color: #666; font-size: .95rem; margin: 0; }

/* Bordered feature style used on the home "Why Valentis" section */
.feature-plain {
    padding: 1.5rem 2rem;
    max-width: 360px;
    margin: 0 auto;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.feature-plain > i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: inline-block;
}
.feature-plain h4 { font-size: 1.05rem; margin-bottom: .6rem; }
.feature-plain p { color: #666; font-size: .92rem; margin: 0; }

/* ---------- Process steps ---------- */
.process-step {
    text-align: center;
    padding: 1.5rem;
}
.process-step .step-num {
    width: 46px; height: 46px;
    line-height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.process-step h5 { font-size: 1rem; }
.process-step p { color: #666; font-size: .9rem; }

blockquote.pull-quote {
    border-left: 4px solid var(--primary);
    padding: .5rem 0 .5rem 1.5rem;
    font-style: italic;
    color: #444;
    margin: 2rem 0 0;
}
blockquote.pull-quote footer { font-style: normal; color: #888; margin-top: .5rem; }
blockquote.pull-quote.border-0 { border-left: none; padding-left: 0; }
blockquote.pull-quote .quote-icon { font-size: 1.75rem; color: var(--primary); opacity: .5; margin-bottom: 1rem; }
blockquote.pull-quote p { font-size: 1.15rem; }

/* ---------- Philosophy / Process tabs ---------- */
.philosophy-tabs { border-bottom: none; gap: 1rem; }
.philosophy-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 700;
    padding: .75rem 1.5rem;
    background: transparent;
}
.philosophy-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}
.philosophy-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #e8e8e8;
}
.philosophy-item:last-of-type { border-bottom: none; }
.philosophy-item .expertise-icon {
    width: 50px; height: 50px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.1rem;
}
.philosophy-item h3 { font-size: 1.05rem; font-weight: 400; margin: 0; color: #333; }

/* ---------- Team ---------- */
.team-card {
    text-align: center;
}
.team-card .photo-wrap {
    border: 1px solid #e2e2e2;
    padding: .4rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 1/1;
    background: #fff;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.team-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card h5 { margin-bottom: .1rem; font-size: 1.1rem; }
.team-card .role { color: var(--primary); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }

.our-team-row {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e9e9e9;
}
.our-team-row:last-child { border-bottom: none; }
.our-team-row img {
    width: 180px; height: 220px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.our-team-row h4 { margin-bottom: .1rem; }
.our-team-row .role { color: var(--primary); font-weight: 700; margin-bottom: .75rem; display: block; }

/* ---------- Team "Read More" modal ---------- */
.team-modal-dialog {
    max-width: 1360px;
    width: 92%;
}
.team-modal .modal-content {
    border: 3px solid var(--primary);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
}
.team-modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    z-index: 3;
}
.team-modal-close:hover { background: var(--primary-darken); }
.team-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.14);
    z-index: 3;
}
.team-modal-nav:hover { background: var(--primary); color: #fff; }
.team-modal-prev { left: -23px; }
.team-modal-next { right: -23px; }
.team-modal-body {
    display: flex;
    gap: 3rem;
}
.team-modal-photo {
    flex-shrink: 0;
    width: 320px;
}
.team-modal-photo img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 6px;
}
.team-modal-info { padding-top: .5rem; }
.team-modal-name {
    font-variant: small-caps;
    font-size: 2.1rem;
    margin-bottom: .25rem;
}
.team-modal-role {
    color: #888;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.team-modal-bio p { color: #333; }
@media (max-width: 767px) {
    .team-modal .modal-content { padding: 2rem 1.5rem; }
    .team-modal-body { flex-direction: column; }
    .team-modal-photo { width: 100%; }
    .team-modal-photo img { height: 320px; }
    .team-modal-nav { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--footer-bg);
    color: #cfd3d8;
}
.site-footer a { color: #cfd3d8; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-heading {
    position: relative;
    color: #fff;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
    padding-bottom: .9rem;
    font-weight: 700;
}
.site-footer .footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: #4d5566;
}
.site-footer .footer-links li { margin-bottom: .5rem; }
.site-footer p i { color: var(--primary); width: 1em; }
.copyright-bar { background-color: var(--copyright-bg); color: #999; }

/* ---------- Cards / generic ---------- */
.product-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    padding: 2.25rem;
    height: 100%;
    border-top: 4px solid var(--primary);
}
.product-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.product-card ol { padding-left: 1.1rem; color: #555; }
.product-card ol li { margin-bottom: .5rem; }

/* Left-aligned section title variant (Product Offering, Why Choose Valentis on /proposition) */
.section-title-left { text-align: left; margin-bottom: 2rem; }
.section-title-left h2 { font-variant: small-caps; }
.section-title-left h2::after { left: 0; transform: none; }

/* ---------- Fund / product blocks (proposition page) ---------- */
.fund-block { margin-bottom: 3.5rem; }
.fund-block h3 {
    position: relative;
    display: inline-block;
    font-size: 1.7rem;
    padding-bottom: .9rem;
    margin-bottom: 1.75rem;
}
.fund-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}
.fund-block ol { padding-left: 1.2rem; color: #666; }
.fund-block ol li { margin-bottom: .85rem; }
.fund-block ol li:last-child { margin-bottom: 0; }
.fund-tab {
    display: inline-block;
    background: #fff;
    border-top: 3px solid var(--primary);
    padding: .85rem 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: .95rem;
}
.fund-panel {
    background: #f7f8fa;
    padding: 2rem 2.25rem;
    margin-bottom: 1.75rem;
}
.fund-panel ol { margin: 0; }
.btn-know-more {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .85rem 1.75rem;
    border-radius: 2px;
}
.btn-know-more:hover { background: var(--primary-darken); color: #fff; }


.page-hero {
    background: linear-gradient(rgb(0 10 40 / 0%), rgb(0 10 40 / 0%)), var(--banner-bg-image) center / cover no-repeat;
    color: #fff;
    padding: 4.5rem 0 3rem;
    text-align: left;
}
.page-hero h1 {
    position: relative;
    color: #fff;
    font-size: 2.2rem;
    margin: 0;
    padding-bottom: 1.1rem;
}
.page-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    background: var(--primary);
}

.table-media thead th {
    background-color: var(--secondary);
    color: #fff;
    font-weight: 600;
    border: none;
}
.table-media td, .table-media th { vertical-align: middle; padding: .85rem 1rem; }
.table-media tbody tr:nth-child(odd) { background-color: #f7f8fa; }

.insight-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--primary);
}
.insight-card h5 { margin: 0; font-size: 1.05rem; }

.archive-pills a {
    display: inline-block;
    padding: .35rem .9rem;
    margin: .2rem;
    border-radius: 20px;
    background: #f0f2f6;
    color: #333;
    font-size: .9rem;
}
.archive-pills a.active, .archive-pills a:hover { background: var(--primary); color: #fff; }

.contact-info-list li { margin-bottom: 1rem; display: flex; gap: .85rem; align-items: flex-start; }
.contact-info-list i { color: var(--primary); font-size: 1.2rem; margin-top: .2rem; }

.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(0,52,148,.15); }

.modal-header { border-bottom: 3px solid var(--primary); }
