/* ========================================
   HOME.CSS - Homepage, Header & Footer Styles
   Created: 2025-10-13
   Contains: Homepage specific styles, header/nav, footer
   ======================================== */

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.menu-div {
	text-align: center;
	background-color: #0068b3;
}

.sf-menu {
	float: inherit !important;
	display: flex;
	justify-content: space-between;
}

.sf-menu a {
	border-left: none !important;
	color: white !important;
	font-family: monob;
	text-transform: uppercase;
	padding-left: 0px !important;
	padding-right: 0px !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}

/* Header Flex Layout */
.head-flex {
	display: flex;
	justify-content: space-between;
}

.logo img {
	width: 100%;
	max-width: 500px;
}

.search-area {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	min-width: 337px;
	max-width: 337px;
}

.search-container input[type=text] {
	padding: 6px;
	margin-top: 8px;
	font-size: 17px;
	border: solid 1px #000000;
	width: 143px;
}

.search-container button {
	float: right;
	padding: 6px 10px;
	margin-top: 8px;
	background: none;
	font-size: 17px;
	border: none;
	cursor: pointer;
	margin-left: -40px;
	position: relative;
}

.login-link {
	padding-top: 17px;
}

.login-link a {
	background-color: #0068b3;
	color: white;
	padding: 10px;
	font-family: monob;
	margin-right: 5px;
}

.login-link a:hover {
	color: white;
}

.sub-link-flex {
	flex-basis: 100%;
	text-align: right;
	padding-right: 5px;
}

.sub-link-flex a {
	font-family: monob;
	color: #313232;
}

/* Superfish Menu Base */
.sf-menu li {
	position: relative;
}

.sf-menu ul {
	position: absolute;
	top: 0;
	left: 100%;
	display: none;
	min-width: 220px;
	background: #fff;
	border: 1px solid #ddd;
	z-index: 9999;
}

.sf-menu li:hover > ul {
	display: block;
}

.sf-menu li ul.submenu-left {
	left: auto;
	right: 100%;
}

/* Top-Level Parent Links */
.sf-menu > li > a.sf-with-ul {
	position: relative;
	padding-left: 1.5em !important;
}

.sf-menu > li > a.sf-with-ul::before {
	content: "\f054";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.75em;
	pointer-events: none;
}

/* Submenu Parent Links */
.sf-menu ul li > a.sf-with-ul {
	position: relative;
	padding-right: 1.2em;
}

.sf-menu ul li > a.sf-with-ul::before {
	content: "\f054";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 0.4em;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.65em;
	pointer-events: none;
}

.sf-arrows .sf-with-ul::after,
.sf-arrows .sf-with-ul::before {
	border: none !important;
}

/* Root Menu */
.sf-menu > li > a {
	background-color: #0068b3;
	color: #fff;
	padding: 12px 18px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.3s ease;
}

/* Submenu Container */
.sf-menu ul {
	background-color: #ffffff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
	padding: 8px 0 !important;
	min-width: 220px !important;
}

/* Submenu Links */
.sf-menu ul li a {
	background-color: #ffffff !important;
	color: #333 !important;
	padding: 10px 16px !important;
	display: block !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
	border-left: 3px solid transparent !important;
	text-align: left;
}

/* Submenu Hover */
.sf-menu ul li a:hover {
	background-color: #f5f9fc !important;
	color: #0068b3 !important;
	border-left-color: #0068b3 !important;
}

/* Active State */
.sf-menu ul li.current a {
	background-color: #eef6fb;
	color: #0068b3;
	border-left-color: #0068b3;
	font-weight: 600;
}

/* Landing Menu */
.landing-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.landing-menu > li {
	flex: 1 1 200px;
	background-color: #0068b3;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-menu > li > a.top-link {
	display: block;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 20px;
}

.landing-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f5f9fc;
	list-style: none;
	padding: 10px 0;
	margin: 0;
	border-radius: 0 0 8px 8px;
	min-width: 220px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 100;
}

.landing-menu > li:hover .sub-menu {
	display: block;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.landing-menu .sub-menu li a {
	color: #0068b3;
	display: block;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.25s ease;
}

.landing-menu .sub-menu li a:hover {
	background-color: #e0f0ff;
	border-radius: 4px;
}


/* ========================================
   HOMEPAGE SPECIFIC STYLES
   ======================================== */

/* Home Content Container */
#home-content {
	background: #ffffff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin: 2rem auto;
	margin-top: 30px;
	font-family: monob;
	margin-bottom: 30px;
}

#home-content h1 {
	color: #0068b3;
	font-family: monob;
	font-size: clamp(1.75rem, 5vw, 4.2rem);
	font-weight: 700;
	position: relative;
	margin-bottom: 3.5rem;
	padding-bottom: 0.5rem;
}

#home-content h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #0068b3 0%, #00a8e8 100%);
	border-radius: 2px;
}

/* Homepage Lists */
.heb-list {
	list-style: none;
	padding: 0;
	margin-top: 30px;
}

.heb-list li {
	background: url('../../img/heb.jpg') no-repeat left center;
	background-size: 1em;
	padding-left: 1.5em;
	margin-left: 10px;
	margin-bottom: 8px;
	color: #bba14c;
}

/* Gray Section */
.gray-section {
	background-color: #fbfbfb;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Homepage HSB Styles */
.home-hsb-title {
	font-family: monob;
	color: #121212;
	font-size: 25px;
	margin: auto;
	margin-bottom: 20px;
	text-align: center;
}
.home-hsb-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: var(--hsb-gold);
	margin: 15px auto 0;
}

.home-hsb-text {
	color: #6d6e6f;
	font-family: monob;
	text-align: center;
	font-size: 16px;
	margin: auto;
	width: 80%;
	padding-bottom: 30px;
	padding-top: 10px;
	background-color: #fbfbfb;
}

.home-hsb-text-box {
	color: #6d6e6f;
	font-family: monob;
	text-align: left;
	font-size: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.home-hsb-blue {
	font-family: monob;
	color: #0068b3;
	font-size: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.home-hsb-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 80%;
	margin: auto;
}

.home-hsb-box {
	margin-bottom: 30px;
	width: 30%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
}

.home-hsb-link a {
	font-family: monob;
	color: #bba14c;
}

/* Home HSB Icon */
.hsb-icon {
	text-align: center;
}

/* White Section */
.white-section {
	margin-top: 60px;
	margin-bottom: 30px;
	background: white;
}

.white-flex {
	display: flex;
	justify-content: space-between;
}

.larger-width {
	width: 325px;
	margin: inherit;
}

.w-title {
	color: #6d6e6f;
	font-family: monob;
}

.w-text {
	color: #6d6e6f;
	font-family: monob;
	padding-left: 20px;
}

.w-box-1 {
	width: 45%;
}

.w-box-2 {
	width: 52%;
}

.w-section {
	margin-bottom: 30px;
	margin-top: 10px;
}

.w-flex {
	display: flex;
	align-items: center;
}

/* Blue Section */
/* Learn More Section */
.learn-section {
	background: #fff;
	padding-top: 50px;
	padding-bottom: 60px;
}

.learn-title {
	font-family: monob;
	color: #333;
	font-size: 22px;
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
	line-height: 1.4;
}

.learn-flex {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.learn-card {
	width: 100%;
	max-width: 370px;
	background: #f8f9fa;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s ease;
}

.learn-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.learn-img img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}

.learn-card-title {
	font-family: monob;
	color: #2c5f8a;
	font-size: 20px;
	padding: 20px 24px 10px;
	line-height: 1.4;
}

.learn-link {
	padding: 10px 24px 24px;
}

.learn-link a {
	color: #2c5f8a;
	font-family: monob;
	font-size: 15px;
	text-decoration: none;
}

.learn-link a:hover {
	text-decoration: underline;
}

/* Community Section */
/* Tradition of Trust Section */
.tradition-section {
	background: #f5f4f0;
	padding: 70px 0;
	position: relative;
	overflow: hidden;
	box-shadow: inset 12px 0 15px -10px rgba(0,0,0,0.1), inset -12px 0 15px -10px rgba(0,0,0,0.1);
}
.tradition-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--hsb-gold-dark), var(--hsb-gold), var(--hsb-gold-light), var(--hsb-gold));
}
.tradition-flex {
	display: flex;
	gap: 50px;
	align-items: stretch;
}
.tradition-text {
	flex: 1;
}
.tradition-heading {
	font-family: monob;
	color: #121212;
	font-size: 30px;
	margin-bottom: 8px;
	line-height: 1.3;
	text-align: center;
}
.tradition-heading::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: var(--hsb-gold);
	margin: 15px auto 0;
}
.tradition-text > p {
	font-family: monob;
	color: #4a4a4a;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 15px;
}
.tradition-list {
	list-style: none;
	padding: 0;
	margin: 25px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.tradition-list li {
	font-family: monob;
	color: #333;
	font-size: 15px;
	padding: 10px 0 10px 32px;
	position: relative;
	border-bottom: none;
}
.tradition-list li::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: var(--hsb-gold);
	position: absolute;
	left: 0;
	font-size: 14px;
}
@media screen and (max-width: 750px) {
	.tradition-flex { flex-direction: column; }
	.tradition-list { grid-template-columns: 1fr; }
}

.community-section {
	background: var(--hsb-blue-primary);
	padding: 60px 0 70px;
}

.community-heading {
	font-family: monob;
	color: #fff;
	font-size: 36px;
	text-align: center;
	margin-bottom: 10px;
}

.community-subtitle {
	font-family: monob;
	color: #c8d8e8;
	font-size: 16px;
	text-align: center;
	margin-bottom: 40px;
}

.community-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
	gap: 15px;
}

.community-item {
	border-radius: 10px;
	overflow: hidden;
}

.community-item.tall {
	grid-row: span 2;
}

.community-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.community-stat {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	text-align: center;
}

.community-stat.stat-blue {
	background: #3a8fd4;
}

.community-stat.stat-green {
	background: #4a7c3f;
}

.stat-number {
	font-family: monob;
	font-size: 48px;
	color: #fff;
	line-height: 1.1;
	margin-bottom: 8px;
}

.stat-text {
	font-family: monob;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

/* Community grid responsive */
@media screen and (max-width: 670px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
    }
    .community-item.tall {
        grid-row: span 1;
    }
    .stat-number {
        font-size: 32px;
    }
    .stat-text {
        font-size: 12px;
    }
    .community-stat {
        padding: 12px;
    }
    .community-subtitle br {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .community-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .stat-number {
        font-size: 36px;
    }
    .stat-text {
        font-size: 14px;
    }
}

/* Home CTA Section (Careers + Connect) */
.home-cta-section {
	background: #f5f4f0;
	padding: 70px 0;
	position: relative;
	box-shadow: inset 12px 0 15px -10px rgba(0,0,0,0.1), inset -12px 0 15px -10px rgba(0,0,0,0.1);
}
.home-cta-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--hsb-gold-dark), var(--hsb-gold), var(--hsb-gold-light), var(--hsb-gold));
}
.home-cta-flex {
	display: flex;
	gap: 40px;
	align-items: stretch;
}
.home-cta-box {
	flex: 1;
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.home-cta-box h3 {
	font-family: monob;
	color: #121212;
	font-size: 24px;
	margin-bottom: 15px;
}
.home-cta-box h3::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: var(--hsb-gold);
	margin-top: 12px;
}
.home-cta-box p {
	font-family: monob;
	color: #4a4a4a;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 25px;
}
@media screen and (max-width: 750px) {
	.home-cta-flex { flex-direction: column; }
}

/* Legacy blue styles kept for compatibility */
.blue-section {
	background: #0068b3;
	margin-bottom: 30px;
	padding-top: 50px;
	padding-bottom: 50px;
}

.blue-flex {
	display: flex;
	justify-content: space-between;
}

.blue-box {
	width: 100%;
	max-width: 327px;
	background: white;
	margin-top: 30px;
}

.blue-img img {
	width: 100%;
}

.blue-title {
	font-family: monob;
	color: white;
	border-bottom: solid 2px white;
	border-right: solid 2px white;
	width: 304px;
	font-size: 25px;
	margin: auto;
}

.blue-orange-title {
	font-family: monob;
	color: #bba14c;
	font-size: 22px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.blue-padding {
	padding-left: 20px;
	padding-right: 20px;
}

.blue-text {
	color: #6d6e6f;
	font-family: monob;
	text-align: left;
	padding-bottom: 20px;
}

.blue-link a {
	color: #0068b3;
	font-family: monob;
}

.blue-link {
	padding-bottom: 10px;
	padding-left: 30px;
	padding-right: 30px;
}

.contact-link {
	background-color: #bba14c;
	padding: 10px;
	border-radius: 30px;
	color: white;
	font-family: monob;
}

.contact-link:hover {
	color: white;
}

.circle-link {
	color: #bba14c;
	background-color: #faf0f0;
	padding: 10px;
	border-radius: 30px;
}

.this-font {
	font-family: monob;
	color: #6d6e6f;
}

.mobile-login {
	display: none;
}

/* Homepage Service Grid - 2 rows x 3 columns */
.home-service-grid {
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
	margin: 30px 0;
}

.home-service-grid .hsb-value-prop {
	font-family: monob;
}

.home-service-grid .hsb-value-prop h3 {
	font-family: monob;
	color: #6d6e6f;
	font-size: 1.25rem;
	margin: 12px 0 8px;
}

.home-service-grid .hsb-value-prop p {
	font-family: monob;
	color: #6d6e6f;
	font-size: 15px;
	line-height: 1.6;
}

.home-service-grid .hsb-link-arrow {
	font-family: monob;
	font-size: 15px;
}

@media screen and (max-width: 980px) {
	.home-service-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media screen and (max-width: 600px) {
	.home-service-grid {
		grid-template-columns: 1fr !important;
		gap: 16px;
	}
}

.home-image {
	float: right;
	padding-left: 20px;
	width: 100%;
	max-width: 500px;
}

/* Phone Contact */
.phone-contact {
	display: flex;
	align-items: center;
	font-family: monob;
	margin-top: 20px;
	padding-left: 30px;
}

.phone-icon {
	background-color: #bba14c;
	border-radius: 20%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phone-icon i {
	color: white;
	font-size: 20px;
}

.phone-text {
	margin-left: 15px;
	line-height: 1.2;
}

.phone-text a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}


/* ========================================
   FOOTER STYLES
   ======================================== */

.tan {
	background-color: #e8e8df;
}

.footer-text {
	color: #5c5957;
}

.footer-padding {
	padding-top: 20px;
	min-height: 150px;
}

.footer-text h2 {
	text-transform: uppercase;
	margin: 0px;
}

.footer-text a {
	display: block;
	color: #3b5194;
}

.sub-footer-back-color {
	background-color: #f2f2f2;
}

.sub-footer {
	background: url(../../img/sub-footer-back.jpg);
	background-repeat: repeat-x;
	min-height: 50px;
	padding-top: 25px;
}

.sub-footer a,
.sub-footer {
	color: #ffffff;
}

footer {
	font-family: monob;
}

.footer-flex {
	display: flex;
	justify-content: space-between;
}

.foot-box {
	margin-right: 20px;
}

#footcontent2 a:hover {
	color: white;
}


/* ========================================
   FOOTER 2026 - Two-Tone Refresh
   Scoped under .footer-2026 for safe rollback
   ======================================== */

.footer-2026 .tan.footer-padding {
	border-top: 4px solid var(--hsb-gold);
	padding: 35px 0 25px;
}

.footer-2026 .foot-box {
	padding: 0 15px;
	margin-right: 0;
	flex: 1;
}

.footer-2026 .foot-box h2 {
	background: var(--hsb-blue-dark);
	color: #ffffff;
	padding: 10px 16px;
	border-radius: 4px;
	margin-bottom: 12px;
	font-size: 15px;
	letter-spacing: 0.5px;
}

.footer-2026 .footer-text a {
	padding: 6px 0;
	color: var(--hsb-blue-primary);
	transition: color 0.2s ease;
}

.footer-2026 .footer-text a:hover {
	color: var(--hsb-gold);
	text-decoration: none;
}

.footer-2026 .foot-box form {
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-2026 .search_text {
	border-radius: 4px;
	border: 1px solid #ccc;
	padding: 6px 10px;
	width: 70%;
	max-width: 200px;
}

.footer-2026 .sub-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 0;
	min-height: auto;
}

.footer-2026 .sub-footer .special-width {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-2026 .sub-footer img {
	vertical-align: middle;
	height: 40px;
	width: auto;
}

/* Footer 2026 - responsive */
@media screen and (max-width: 870px) {
    .footer-2026 .footer-flex {
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer-2026 .foot-box {
        flex: none;
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 670px) {
    .footer-2026 .foot-box {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .footer-2026 .sub-footer {
        background: #3d4451;
        background-repeat: repeat;
    }
    .footer-2026 .sub-footer-inner {
        flex-wrap: wrap !important;
        white-space: normal !important;
        flex-direction: column;
        gap: 8px !important;
        padding: 10px 0;
    }
    .footer-2026 .sub-footer-inner .pipe-sep {
        display: none;
    }
}

/* Branch page: remove gold left border from holiday accordion */
.hsb-callout .hsb-faq-answer-inner {
	border-left: none;
	margin-left: 0;
	padding-left: var(--hsb-space-lg);
}
