@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

/* ==========================================================================
   Livo Bank — public site theme
   Loaded after style.css and deliberately overrides the stock template's
   navy/red palette with the green retail-banking system used on the home
   page, so the inner pages (about, services, faq, branches, contact) do not
   fall back to the old colours.
   ========================================================================== */

:root {
	--lv-green-900: #00401a;
	--lv-green-700: #006b2d;
	--lv-green-600: #008a00;
	--lv-green-500: #54b948;
	--lv-ink: #1c1c1c;
	--lv-slate: #54595f;
	--lv-line: #d9dcde;
	--lv-surface: #f4f5f5;
	--lv-white: #ffffff;
	--lv-radius: 3px;
}

/* --------------------------------------------------------------------------
   Base type
   -------------------------------------------------------------------------- */

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--lv-ink);
	font-size: 16px;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
	font-family: "Archivo", "Inter", sans-serif;
	color: var(--lv-ink);
	letter-spacing: -0.02em;
	font-weight: 600;
}

a {
	color: var(--lv-green-700);
}

a:hover,
a:focus {
	color: var(--lv-green-900);
}

:focus-visible {
	outline: 2px solid var(--lv-green-600);
	outline-offset: 2px;
}

/* Repaint the stock template so inner pages match the home page. */
.title-color,
.section-title h2 {
	color: var(--lv-ink);
}

.secondary-bg {
	background: var(--lv-green-700);
}

.gray-bg {
	background: var(--lv-surface);
}

.divider {
	width: 44px;
	height: 4px;
	background: var(--lv-green-500);
}

.btn-main,
.btn-main-2 {
	background: var(--lv-green-600);
	border-color: var(--lv-green-600);
	color: #fff;
	border-radius: var(--lv-radius);
	font-weight: 600;
}

.btn-main:hover,
.btn-main-2:hover,
.btn-main:focus,
.btn-main-2:focus {
	background: var(--lv-green-700);
	border-color: var(--lv-green-700);
	color: #fff;
}

/* The page banner on about/services/faq/contact/page tints its photo with the
   template's navy; carry the green through instead. */
.overlay:before {
	background: var(--lv-green-900);
	opacity: .78;
}

.service-2 .service-block i,
.contact-block i,
.department-service li i,
.testimonial-block.style-2 i,
.sidebar-widget h5:before {
	color: var(--lv-green-600);
}

.subtitle,
.text-color,
.read-more,
.feature-item h4,
.feature-item .feature-icon i {
	color: var(--lv-green-700);
}

.text-color-2 {
	color: var(--lv-green-600);
}

/* Header dropdowns live outside .navigation in the utility bar, so scope the
   template's red-topped dropdown override to the whole header. */
header .dropdown .dropdown-menu {
	border-top: 3px solid var(--lv-green-500);
}

header .dropdown .dropdown-item:hover {
	color: var(--lv-green-700);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.lv-btn {
	display: inline-block;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	padding: 13px 26px;
	border-radius: var(--lv-radius);
	border: 2px solid transparent;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.lv-btn-primary {
	background: var(--lv-green-600);
	border-color: var(--lv-green-600);
	color: #fff;
}

.lv-btn-primary:hover,
.lv-btn-primary:focus {
	background: var(--lv-green-700);
	border-color: var(--lv-green-700);
	color: #fff;
	text-decoration: none;
}

.lv-btn-dark {
	background: var(--lv-ink);
	border-color: var(--lv-ink);
	color: #fff;
}

.lv-btn-dark:hover,
.lv-btn-dark:focus {
	background: #000;
	border-color: #000;
	color: #fff;
	text-decoration: none;
}

.lv-btn-ghost {
	background: transparent;
	border-color: var(--lv-green-600);
	color: var(--lv-green-700);
}

.lv-btn-ghost:hover,
.lv-btn-ghost:focus {
	background: var(--lv-green-600);
	border-color: var(--lv-green-600);
	color: #fff;
	text-decoration: none;
}

.lv-btn-block {
	display: block;
	width: 100%;
}

/* Arrow link — the small green chevron link used throughout the page. */
.lv-link {
	font-weight: 600;
	font-size: 15px;
	color: var(--lv-green-700);
	display: inline-block;
}

.lv-link::after {
	content: "\203A";
	margin-left: 6px;
	font-size: 18px;
	line-height: 1;
}

.lv-link:hover,
.lv-link:focus {
	color: var(--lv-green-900);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.lv-utility {
	background: var(--lv-green-900);
	color: rgba(255, 255, 255, .92);
	font-size: 12.5px;
	line-height: 1.4;
	padding: 7px 0;
}

.lv-utility a {
	color: #fff;
	text-decoration: underline;
}

.lv-utility a:hover {
	color: #fff;
	text-decoration: none;
}

.lv-utility-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.lv-utility-links {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lv-utility-links a {
	text-decoration: none;
}

header .navigation,
header .navbar.navigation {
	background: #fff;
	border-bottom: 1px solid var(--lv-line);
	padding: 0;
	position: static;
}

header .navbar-brand {
	padding: 14px 0;
	margin-right: 32px;
}

header .navbar-brand img {
	max-height: 42px;
	width: auto;
}

header .navbar-brand h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--lv-green-600);
	letter-spacing: -0.03em;
}

/* style.css styles these through #navbarmain, so match that specificity or the
   old Exo/red treatment wins. */
#navbarmain .nav-link {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--lv-ink);
	padding: 20px 14px;
	text-transform: none;
	border-bottom: 3px solid transparent;
}

#navbarmain .nav-link:hover,
#navbarmain .nav-link:focus {
	color: var(--lv-green-700);
	border-bottom-color: var(--lv-green-500);
}

#navbarmain .nav-item.active > a.nav-link {
	color: var(--lv-green-700);
	border-bottom-color: var(--lv-green-600);
}

header .navigation .dropdown-menu {
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	padding: 6px 0;
}

header .navigation .dropdown-item {
	font-size: 14px;
	padding: 8px 18px;
	color: var(--lv-ink);
}

header .navigation .dropdown-item:hover {
	background: var(--lv-surface);
	color: var(--lv-green-700);
}

/* Log in sits in the bar as a solid button rather than a plain link. */
#navbarmain .nav-link.lv-nav-signin {
	background: var(--lv-green-600);
	color: #fff;
	font-weight: 600;
	padding: 10px 26px;
	border-radius: var(--lv-radius);
	border-bottom: 0;
	margin: 12px 0 12px 10px;
}

#navbarmain .nav-link.lv-nav-signin:hover,
#navbarmain .nav-link.lv-nav-signin:focus {
	background: var(--lv-green-700);
	color: #fff;
	border-bottom-color: transparent;
}

header .navbar-toggler {
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	padding: 6px 10px;
	color: var(--lv-ink);
	font-size: 20px;
}

/* --------------------------------------------------------------------------
   Hero — image / offer / sign-in, flush together
   -------------------------------------------------------------------------- */

.lv-hero {
	display: flex;
	flex-wrap: wrap;
	min-height: 380px;
}

.lv-hero-media {
	flex: 1 1 40%;
	min-height: 280px;
	background-size: cover;
	background-position: center;
	background-color: var(--lv-surface);
}

.lv-hero-offer {
	flex: 1 1 32%;
	background: var(--lv-green-600);
	color: #fff;
	padding: 46px 42px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lv-hero-offer h1 {
	color: #fff;
	font-size: 34px;
	line-height: 1.15;
	margin-bottom: 14px;
}

.lv-hero-offer p {
	color: rgba(255, 255, 255, .92);
	font-size: 15px;
	margin-bottom: 26px;
}

.lv-hero-offer .lv-btn-dark {
	align-self: flex-start;
}

.lv-hero-panel {
	flex: 1 1 28%;
	background: #fff;
	padding: 46px 38px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid var(--lv-line);
}

.lv-hero-panel h2 {
	font-size: 20px;
	margin-bottom: 20px;
}

.lv-hero-panel .lv-link {
	display: block;
	margin-top: 14px;
	font-size: 14px;
}

@media (max-width: 991px) {
	.lv-hero-media {
		flex: 1 1 100%;
		min-height: 220px;
	}
	.lv-hero-offer,
	.lv-hero-panel {
		flex: 1 1 100%;
		padding: 34px 24px;
	}
	.lv-hero-panel {
		border-left: 0;
		border-top: 1px solid var(--lv-line);
	}
	.lv-hero-offer h1 {
		font-size: 28px;
	}
}

/* --------------------------------------------------------------------------
   Section furniture
   -------------------------------------------------------------------------- */

.lv-section {
	padding: 76px 0;
}

.lv-section-tight {
	padding: 48px 0;
}

.lv-section-surface {
	background: var(--lv-surface);
}

/* Separates two sections that share a background, so the page can stay mostly
   white instead of alternating bands to mark every boundary. */
.lv-section-divided {
	border-top: 1px solid var(--lv-line);
}

.lv-heading {
	text-align: center;
	font-size: 29px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.lv-subheading {
	text-align: center;
	color: var(--lv-slate);
	font-size: 15.5px;
	max-width: 62ch;
	margin: 0 auto 46px;
}

.lv-rule {
	border: 0;
	border-top: 1px solid var(--lv-line);
	margin: 0;
}

/* --------------------------------------------------------------------------
   "What can we help you find?" — services as icon pucks
   -------------------------------------------------------------------------- */

.lv-find {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 34px;
}

.lv-find-item {
	width: 132px;
	text-align: center;
	color: var(--lv-ink);
	display: block;
	padding: 8px 0;
}

.lv-find-item:hover,
.lv-find-item:focus {
	color: var(--lv-green-700);
	text-decoration: none;
}

.lv-find-puck {
	width: 64px;
	height: 64px;
	margin: 0 auto 12px;
	border: 1px solid var(--lv-line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lv-surface);
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.lv-find-item:hover .lv-find-puck,
.lv-find-item:focus .lv-find-puck {
	background: #fff;
	border-color: var(--lv-green-500);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

/* Services store their icon as raw markup — usually an icofont <i>, which
   draws the glyph in a ::before. Keep icofont's own line-height:1 so the box
   is exactly one em tall and the parent flex can centre it; giving the <i> a
   fixed box instead leaves the glyph sitting high and off to one side. */
.lv-find-puck i {
	font-size: 34px;
	line-height: 1;
	display: block;
	color: var(--lv-green-700);
}

.lv-find-puck svg,
.lv-find-puck img {
	width: 32px;
	height: 32px;
	color: var(--lv-green-700);
}

/* Target the label by class, not `.lv-find-item span` — the icon circle is a
   span too, and that selector outranks .lv-find-puck, so it was overriding
   display:flex with display:block and dropping the glyph to the top. */
.lv-find-label {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	display: block;
}

/* --------------------------------------------------------------------------
   Card row (ads) — image on top, copy beneath, hairline separators
   -------------------------------------------------------------------------- */

.lv-cards {
	display: flex;
	flex-wrap: wrap;
}

/* Cards share the row evenly whatever the admin has published — four is the
   common case, but five or six still sit on one line instead of orphaning. */
.lv-card {
	flex: 1 1 0;
	min-width: 200px;
	padding: 0 22px;
	border-right: 1px solid var(--lv-line);
}

.lv-card:last-child {
	border-right: 0;
}

.lv-card-media {
	width: 100%;
	height: 150px;
	object-fit: cover;
	margin-bottom: 16px;
	background: var(--lv-surface);
}

.lv-card h4 {
	font-size: 17px;
	margin-bottom: 8px;
}

.lv-card p {
	font-size: 14px;
	color: var(--lv-slate);
	margin-bottom: 12px;
}

@media (max-width: 991px) {
	.lv-card {
		flex: 1 1 44%;
		margin-bottom: 32px;
		border-right: 0;
	}
}

@media (max-width: 575px) {
	.lv-card {
		flex: 1 1 100%;
		padding: 0;
	}
}

/* --------------------------------------------------------------------------
   Full-bleed split band — the page's loudest moment
   -------------------------------------------------------------------------- */

.lv-band {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.lv-band-media {
	flex: 1 1 50%;
	min-height: 340px;
	background-size: cover;
	background-position: center;
	background-color: var(--lv-surface);
}

.lv-band-body {
	flex: 1 1 50%;
	background: var(--lv-green-500);
	color: #fff;
	padding: 60px 8vw 60px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lv-band-body h2 {
	color: #fff;
	font-size: 34px;
	line-height: 1.15;
	margin-bottom: 16px;
}

.lv-band-body p {
	color: rgba(255, 255, 255, .95);
	margin-bottom: 26px;
	max-width: 46ch;
}

.lv-band-body .lv-btn-dark {
	align-self: flex-start;
}

@media (max-width: 991px) {
	.lv-band-media,
	.lv-band-body {
		flex: 1 1 100%;
	}
	.lv-band-media {
		min-height: 220px;
	}
	.lv-band-body {
		padding: 40px 24px;
	}
	.lv-band-body h2 {
		font-size: 26px;
	}
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

/* Sits directly under the green band, so it stays deliberately quiet. */
.lv-stats {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}

.lv-stat {
	flex: 1 1 25%;
	padding: 6px 16px;
	border-right: 1px solid var(--lv-line);
}

.lv-stat:last-child {
	border-right: 0;
}

.lv-stat-value {
	font-family: "Archivo", sans-serif;
	font-size: 31px;
	font-weight: 600;
	color: var(--lv-ink);
	letter-spacing: -0.03em;
	line-height: 1.1;
	display: block;
}

.lv-stat-label {
	font-size: 13.5px;
	color: var(--lv-slate);
	margin: 6px 0 0;
}

@media (max-width: 767px) {
	.lv-stat {
		flex: 1 1 50%;
		margin-bottom: 24px;
	}
	.lv-stat:nth-child(2n) {
		border-right: 0;
	}
}

/* --------------------------------------------------------------------------
   Product plans (fixed deposits, loans)
   -------------------------------------------------------------------------- */

/* Columns are d-flex so every card in a row matches the tallest one. */
.lv-plan {
	background: #fff;
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	width: 100%;
	margin-bottom: 26px;
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s ease, border-color .15s ease;
}

.lv-plan:hover {
	border-color: var(--lv-green-500);
}

.lv-plan-head {
	padding: 22px 26px 18px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lv-plan-head h3 {
	font-size: 18px;
	margin: 0;
}

.lv-plan-rate {
	font-family: "Archivo", sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--lv-green-700);
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.lv-plan-body {
	padding: 0 26px 26px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.lv-plan-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	flex-grow: 1;
	border-top: 1px solid var(--lv-line);
}

/* Rows are separated by spacing rather than a rule each — only the list as a
   whole is bounded, which keeps the card from reading as a table. */
.lv-plan-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14.5px;
	padding: 9px 0 0;
}

.lv-plan-list span:first-child {
	color: var(--lv-slate);
}

.lv-plan-list span:last-child {
	font-weight: 600;
	text-align: right;
}

/* --------------------------------------------------------------------------
   Branch locator strip
   -------------------------------------------------------------------------- */

.lv-local {
	text-align: center;
}

.lv-local h2 {
	font-size: 26px;
	line-height: 1.3;
	margin: 0 auto 22px;
	max-width: 26ch;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.lv-quotes {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -13px;
}

.lv-quote-col {
	flex: 1 1 33.333%;
	max-width: 33.333%;
	padding: 0 13px;
	margin-bottom: 26px;
}

.lv-quote {
	background: #fff;
	border: 1px solid var(--lv-line);
	border-top: 3px solid var(--lv-green-500);
	border-radius: var(--lv-radius);
	padding: 26px 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.lv-quote p {
	font-size: 15px;
	color: var(--lv-slate);
	flex-grow: 1;
	margin-bottom: 18px;
}

.lv-quote-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lv-quote-person img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.lv-quote-person h4 {
	font-size: 15px;
	margin: 0;
}

@media (max-width: 991px) {
	.lv-quote-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.lv-partners {
	border-top: 1px solid var(--lv-line);
}

/* Auto-fit keeps the row even for any number of partners instead of leaving
   a short orphaned row underneath. */
.lv-partners-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	align-items: center;
	justify-items: center;
	gap: 24px 20px;
}

.lv-partner img {
	max-height: 34px;
	max-width: 100%;
	filter: grayscale(100%);
	opacity: .7;
	transition: filter .2s ease, opacity .2s ease;
}

.lv-partner:hover img,
.lv-partner:focus img {
	filter: grayscale(0);
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Ask strip
   -------------------------------------------------------------------------- */

.lv-ask {
	text-align: center;
}

.lv-ask-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer.lv-footer {
	background: #fff;
	border-top: 4px solid var(--lv-green-500);
	padding: 0;
	color: var(--lv-ink);
}

.lv-footer-top {
	border-bottom: 1px solid var(--lv-line);
	padding: 14px 0;
}

.lv-footer-top-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.lv-footer-top .lv-footer-quick {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}

.lv-footer-top .lv-footer-quick a {
	color: var(--lv-green-700);
}

.lv-backtop {
	border: 1px solid var(--lv-line);
	border-radius: var(--lv-radius);
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lv-green-700);
	background: #fff;
}

.lv-backtop:hover {
	border-color: var(--lv-green-500);
	color: var(--lv-green-900);
	text-decoration: none;
}

.lv-footer-main {
	padding: 44px 0 32px;
}

.lv-footer-main .lv-footer-brand h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--lv-green-600);
	letter-spacing: -0.03em;
}

.lv-footer-main .lv-footer-brand img {
	max-height: 42px;
	width: auto;
}

.lv-footer-about {
	font-size: 14.5px;
	color: var(--lv-slate);
	max-width: 46ch;
	margin: 16px 0 20px;
}

.lv-footer-col h4 {
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	margin-bottom: 14px;
}

/* show_navigation() emits a plain <ul>; style it into a footer link list. */
.lv-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lv-footer-col ul li {
	margin-bottom: 9px;
}

.lv-footer-col ul li a {
	font-size: 14px;
	color: var(--lv-slate);
}

.lv-footer-col ul li a:hover {
	color: var(--lv-green-700);
	text-decoration: underline;
}

.lv-socials {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lv-socials a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--lv-line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lv-slate);
	font-size: 16px;
}

.lv-socials a:hover {
	border-color: var(--lv-green-500);
	color: var(--lv-green-700);
}

.lv-footer-btm {
	border-top: 1px solid var(--lv-line);
	padding: 18px 0 26px;
	font-size: 13px;
	color: var(--lv-slate);
}

.lv-footer-btm p {
	margin: 0;
}

@media (max-width: 767px) {
	.lv-section {
		padding: 44px 0;
	}
	.lv-heading {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
