/* === Font Face Declarations === */

@font-face {
  font-family: 'Rockwell';
  src: url('../Fonts/Rockwell/RockwellRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rockwell';
  src: url('../Fonts/Rockwell/RockwellBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts Fallback for Body */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* === Core Styling === */

html {
  scroll-behavior: smooth;
}

body
{
    font-family: 'Rockwell';
  	color: #333333;
	font-size: 18px;
	overflow-x: hidden;
	margin: 0;
    min-height: 100vh;
    overflow-y: scroll;
}

p {
    margin: 0 0 24px !important;
    line-height: 30px !important;
}

ul li {
    line-height: 30px !important;
}

h1, h2, h3, h4 {
    font-family: 'Rockwell';
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    color: #3498db !important;
	font-weight: normal;
}

h4, h5, h6 {
    font-family: 'Rockwell';
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    color: #3498db !important;
}
h1
{
	text-transform: uppercase;
}
h3
{
	line-height:36px;
}
hr
{
	margin: 30px 0;
	border-top: 1px solid #d9d9d9 !important;
}
.text-justify
{
	text-align:justify;
}
.text-italic
{
	font-style:italic;
}

/* === Modern Header/Navbar Styles for BI Advisory === */
.PromoBlock {
    height: calc(100vh - 72px); /* 72px = your header height */
    min-height: 600px; /* Optional fallback for very small viewports */
    overflow: hidden;
}

.MainHeader {
	background-color: white;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	position: relative;
	z-index: 1000;
	height: 72px;
}

.HeaderContainer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.Logo {
	display: flex;
	align-items: center;
	z-index: 999;
}

.Logo img {
	max-height: 48px;
	height: auto;
	width: auto;
}

/* === Header Footer Styles === */

/* Header Start */
header
{
	display: block;
	background-color: #ecf0f1;
}
header .navbar-header
{
	display: flex;
    position: relative;
    padding: 8px 0;
    align-items: center;
}
header .navbar-header .Logo
{
    display: inline-block;
    padding: 0px;
    margin-top: 0px;
	max-width: 300px;
}
header .navbar-header button
{
    display: inline-block;
    position: absolute;
    left: initial;
    right: 0;
    margin: 0;
}
.sticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9;
}
.paddingTop {
	padding-top: 72px;
}

/* ./Header End */


/* Footer Start */
footer
{
	background: #141527;
	padding: 22px 0;
	color: white;
	text-align: center;
    padding: 60px;
}
footer p
{
	float: left;
	margin-bottom: 0px;
	margin-top: 4px;
}
footer .SocialIcons
{
	float: right;
}
footer .SocialIcons a
{
	display: inline-block;
	margin-left: 14px;
	opacity: 0.8;
}
footer .SocialIcons a:hover
{
	display: inline-block;
	margin-left: 14px;
	opacity: 1;
}
footer svg path {
    fill: white;
}
footer .FooterLogo {
	width: 100px;
}

.HideMDPlus
{
	display: none;
}
/* ./Footer End */


/* === Navigation === */

.MainNav {
	display: flex;
	flex-grow: 1;
	justify-content: flex-end;
}

.NavItems {
	display: flex;
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.NavItems li {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.NavItems li a {
	display: flex;
	align-items: center;
	height: 70px; /* Match the header height */
	padding: 0 10px;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 16px;
	text-transform: uppercase;
	transition: color 0.3s ease;
	border-bottom: 2px solid transparent;
}

.NavItems li a:hover {
	color: #3498db;
}

.NavItems li.current-menu-item a,
.NavItems li.current_page_item a,
.NavItems li.active a {
	border-bottom: 2px solid #3498db;
	color: #3498db;
}

/* === Dropdown Menu Styles === */
.NavItems li.menu-item-has-children {
	position: relative;
}

.NavItems li.menu-item-has-children > .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	list-style: none;
	padding: 0px 0;
	min-width: 220px;
	z-index: 1001;
}

.NavItems li.menu-item-has-children:hover > .sub-menu {
	display: block;
}

.NavItems .sub-menu li {
	padding: 0;
	margin: 0;
}

.NavItems .sub-menu li a {
	display: block;
	padding: 8px 12px;
	color: #333;
	text-transform: none;
	font-size: 15px;
	white-space: nowrap;
	width: -webkit-fill-available;
    height: auto;
}

.NavItems .sub-menu li a:hover {
	background-color: #f0f0f0;
	color: #3498db;
}

.NavItems li.menu-item-has-children > a::after {
	content: " ▼";
	font-size: 10px;
	margin-left: 6px;
}

.LanguageSwitcher {
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin-left: 24px;
	height: 72px;
}

.LanguageSwitcher .CurrentLang {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #3498db;
	font-weight: 600;
	text-transform: uppercase;
	height: 100%;
}

.LanguageSwitcher .CurrentLang img {
	width: 20px;
	height: auto;
}

.LangDropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	list-style: none;
	padding: 0;
	margin: 0;
	z-index: 999;
}

.LangDropdown li {
	margin: 0;
}

.LangDropdown li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	text-transform: uppercase;
	transition: background 0.3s ease;
}

.LangDropdown li a img {
	width: 20px;
	height: auto;
}

.LangDropdown li a:hover {
	background-color: #f0f0f0;
	color: #3498db;
}

.LanguageSwitcher:hover .LangDropdown,
.LanguageSwitcher.touch-active .LangDropdown {
	display: block;
}

/* === Mobile Menu Toggle === */

.MenuToggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.MenuToggle span {
	display: block;
	width: 24px;
	height: 3px;
	background-color: #333;
	border-radius: 1px;
}

/* === Responsive === */

@media (max-width: 992px) {
	.MainNav {
		display: none;
		position: absolute;
		top: 100%;
		width: 100%;
		background-color: white;
		flex-direction: column;
		padding: 20px;
		box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	}

	.MainNav.open {
		display: flex;
	}

	.NavItems {
		flex-direction: column;
		gap: 0px;
		text-align: left;
	}

	.MenuToggle {
		display: flex;
	}
}

/* === Bootstrap like styles === */

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px; /* You can adjust this to your layout preference */
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* === Layout Utilities & Gutenberg Enhancers (from Common.css) === */

/* Max Width Utilities */
.MaxWidth80 { max-width: 80%; margin: 0 auto !important; }
.MaxWidth70 { max-width: 70%; margin: 0 auto !important; }
.MaxWidth60 { max-width: 60%; margin: 0 auto !important; }
.MaxWidth50 { max-width: 50%; margin: 0 auto !important; }
.MaxWidth40 { max-width: 40%; margin: 0 auto !important; }
.MaxWidth30 { max-width: 30%; margin: 0 auto !important; }

/* Horizontal Rule Width Variants */
hr.Full    { width: 100%; margin: 30px auto !important; }
hr.Third   { width: 75%; margin: 30px auto !important; }
hr.Half    { width: 50%; margin: 30px auto !important; }
hr.Quarter { width: 33%; margin: 30px auto !important; }

/* Gutenberg Block Enhancers */
.wp-block-cover p {
    margin-bottom: 0 !important;
}
.wp-block-pullquote,
blockquote {
    padding: 0px !important;
    margin: auto 0 !important;
    border-left: 0 !important;
}

/* Utility Classes */
.AlignTop { align-self: flex-start; }
.Gap4EM { gap: 4em; }

ul.NoLI {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.LIBlocks li {
    display: block !important;
    padding: 0 !important;
    margin: 40px 0 !important;
}

/* === EST HR Overlay === */

.EstOverlay {
	background-color: white;
	left: 50%;
	margin-left: -60px !important;
	margin-top: -48px !important;
	padding: 0 20px;
	position: absolute;
	font-size: 20px;
}

/* === Universal Form Styles for BI Advisory === */

form {
	max-width: 100%;
	font-family: Rockwell, serif;
	font-size: 18px;
	color: #333;
	margin-bottom: 40px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="file"],
textarea,
select {
	font-family: inherit !important;
	font-size: 16px;
	background-color: #ecf0f1;
	border: none !important;
	padding: 14px 26px;
	border-radius: 4px;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.4s ease !important;
	margin-bottom: 16px;
	color: #333;
	border-color: #1a7efb !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
	background-color: rgb(215, 222, 222) !important;
	color: white;
	outline: none;
	transition: all 0.4s ease !important;
	border-color: #115ebd !important;
}

form ::placeholder {
	color: #d5d5d5;
	opacity: 1;
}

form label {
	display: inline-block;
	margin-bottom: 8px;
	font-weight: 500;
}

form input[type="submit"],
form button[type="submit"] {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 20px 40px;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
	margin: 0 auto;
	transition: background-color 0.4s ease;
}

button,
input[type="submit"],
.wp-block-button__link,
.fluentform .ff-btn-submit {
	font-family: inherit !important;
	font-size: 16px;
	background-color: #1282cc !important;
	color: white;
	border: none !important;
	padding: 14px 30px;
	text-transform: uppercase;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.4s ease !important;
	box-shadow: none;
	display: inline-block;
	text-align: center;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.fluentform .ff-btn-submit:hover {
	background-color: #0e6dad !important;
	color: white !important;
  	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease !important;
}

label {
	font-family: inherit;
	font-weight: 500;
	font-size: 16px;
	display: block;
	margin-bottom: 8px;
	color: #333;
}

form input[type="submit"]:hover,
form button[type="submit"]:hover {
	background-color: #0e6dad !important;
	color: white !important;
}

.wpcf7-captchac {
	position: absolute;
	left: 12px;
	margin-top: 18px;
	display: inline-block;
}

@media (max-width: 768px) {
	form input[type="submit"],
	form button[type="submit"] {
		width: 100%;
		margin-top: 10px;
	}
}

.ff-message-success {
	border: 1px solid #2e9c6e !important;
	background: #36B37E;
	box-shadow: 0 1px 5px rgba(88, 88, 88, 0.1) !important;
	padding: 20px 60px !important;
	max-width: 50%;
	margin: auto;
}

.ff-message-success h3,
.ff-message-success p {
	text-align: center;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	color: white !important;
}

.ff-message-success hr {
	width: 33% !important;
	margin: 30px auto !important;
	border-top: 1px solid white !important;
}

.ff-message-success svg path {
	color: white !important;
}

.BlueBlock .ff-message-success {
	max-width: 100% !important;
	padding-right: 15px;
	padding-top: 16px;
}

.fluentform .ff-el-tc label.ff_tc_label > span {
	padding-right: 15px;
}

.fluentform .ff_t_c {
	font-size: 14px;
}

div[name=cf-turnstile-response] {
	padding-top: 12px;
}

.gdpr_agreement_title {
	margin-bottom: 0 !important;
	margin-top: 40px;
}

.FinalFormBlock {
	border-top: 1px solid #ddd !important;
	padding: 20px 40px !important;
	background-color: #3498db !important;
	margin-top: 40px !important;
}

/* === BlueBlock Styles === */

.BlueBlock .wp-block-button__link,
.BlueBlock button,
.BlueBlock input {
	background-color: #1179bd !important;
}

.BlueBlock input::placeholder {
	color: #fff !important;
}

.BlueBlock input:hover,
.BlueBlock input:focus,
.BlueBlock input:active,
.BlueBlock textarea:hover,
.BlueBlock textarea:focus,
.BlueBlock textarea:active,
.BlueBlock select:hover,
.BlueBlock select:focus,
.BlueBlock select:active,
.BlueBlock button:hover,
.BlueBlock button:focus,
.BlueBlock button:active {
	background-color: rgb(14, 103, 163) !important;
}

.BlueBlock h1,
.BlueBlock h2,
.BlueBlock h3,
.BlueBlock h4,
.BlueBlock h5,
.BlueBlock h6,
.BlueBlock label {
	color: #ffffff !important;
	background-color: transparent !important;
	padding: 0;
	transition: color 0.3s ease;
}

/* === ValuedPartnerBlock Styles === */
.ValuedPartnerBlock {
	background-color: #2980b9;
	padding: 20px;
	min-height: 240px;
}

/* === SubscribeBlock Styles === */

.SubscribeBlock {
	background-color: #3498db;
	padding: 20px;
	min-height: 240px;
	position: relative;
}

.SubscribeBlock h3,
.ValuedPartnerBlock h3 {
	color: white;
	text-transform: uppercase;
	margin-bottom: 40px;
}

.SubscribeBlock input[type="email"] {
	background-color: #2980b9;
	border-color: #69b0e0;
	color: white;
	width: 100%;
	padding: 19px 20px;
	margin: 0;
}

.SubscribeBlock input[type="email"]::placeholder {
	color: white;
}

.SubscribeBlock input[type="submit"] {
	background-color: #69b0e0;
	position: absolute;
	display: inline-block;
	border: 1px solid #69b0e0;
	border-radius: 2px;
	height: 64px;
	width: 60px;
	right: 0px;
	background-image: url(../Images/SubscribeBoxGoArrow.png);
	background-repeat: no-repeat;
	background-position: center center;
	padding: 20px;
}

.SubscribeBlock input[type="submit"]:hover {
	background-color: #2980b9;
}

/* === ContentSlider Styles === */

.ContentSlider {
	overflow: hidden;
	position: relative;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}

.ContentSlider .slider-track {
	display: flex;
	transition: transform 0.5s ease;
	width: 100%;
	height: 100%;
}

.ContentSlider .wp-block-group {
	flex: 0 0 100%;
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 500px;
}

.ContentSlider .wp-block-group__inner-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.ContentSlider .slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	z-index: 10;
}

.ContentSlider .prev {
	left: 10px;
}
.ContentSlider .next {
	right: 10px;
}

.ContentSlider .slide-timer {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 15;
	opacity: 0.7;
}

.ContentSlider .slide-timer-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.8);
	clip-path: circle(50% at 50% 50%);
	transform: rotate(-90deg);
	transform-origin: center;
	background: conic-gradient(rgba(255, 255, 255, 0.8) 0%, transparent 0%);
	transition: background 0s;
}

main :where(.is-layout-flex) {
    gap: 1.5em;
}

@media (max-width: 991px) {
	/* Container */
	.MainNav {
		position: fixed;
		top: 0;
		right: 0;
		height: calc(100vh - 140px);
		width: 100%;
		background: #ecf0f1;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		padding: 100px 0px 40px;
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
		box-shadow: -2px 0 12px rgba(0,0,0,0.1);
		overflow-y: auto;
		z-index: 99;
	}

	.MainNav.active {
		transform: translateX(0%);
	}

	/* Nav items */
	.NavItems {
		width: 100%;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.NavItems li {
		margin-bottom: 24px;
		font-family: Rockwell, serif;
		font-size: 20px;
		color: #333333;
		text-transform: uppercase;
		border-bottom: 1px solid #dcdcdc;
		padding: 20px;
        width: 100%;
        margin-bottom: 0;
		display: flex;
        flex-direction: column;
	}

	.NavItems li a {
		color: inherit;
		text-decoration: none;
		display: block;
		width: 100%;
		height: auto;
		border:none !important
	}

	.NavItems li a:hover {
		color: #3498db;
	}

	/* Dropdown toggle */
	.NavItems li.menu-item-has-children > a:after {
		content: '▼';
		float: right;
		font-size: 14px;
		transition: transform 0.3s;
	}

	.NavItems li.open > a:after {
		transform: rotate(180deg);
	}

	.NavItems li .sub-menu {
		background-color: transparent !important;
        margin-top: 10px !important;
        position: relative !important;
        padding-left: 0 !important;
        box-shadow: none !important;
        min-width: auto !important;
        top: auto !important;
        width: 100%;
		flex-direction: column;
	}

	.NavItems li.open .sub-menu {
		display: block;
	}

	.NavItems li .sub-menu a {
        padding:0;
    }

	/* Toggle button styles */
	.MenuToggle {
		border: none;
		z-index: 100;
	}

	.MenuToggle span {
		background-color: #333;
	}

	/* Optional overlay behind menu */
	.MobileNavOverlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 80;
		display: none;
	}

	.MobileNavOverlay.active {
		display: block;
	}

	.NavItems li.menu-item-has-children > .sub-menu {
		display: flex !important;  /* Always show */
		padding-left: 20px;         /* Indent submenu */
		margin-top: 10px;
	}

	.NavItems li.menu-item-has-children > a::after {
		display: none !important;   /* Remove ▼ arrow */
	}

	.NavItems .sub-menu li {
		font-size: 18px;
		text-transform: none;
		padding: 6px 0;
		border: none;
	}
}
body.MenuOpen {
	overflow: hidden;
}

/* === Unsorted === */

.FinalFormBlock .ff-el-group {
	margin-bottom: 0 !important;
}

/* === Fullscreen Preloader === */

.Preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.Preloader .LoaderContent img {
	width:80px;
}

.Preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.BlueBlock .ff-default .ff-el-form-control,
.BlueBlock .ff-default .ff-el-form-control:focus,
.BlueBlock .ff-default .ff-el-form-control:active,
.BlueBlock input,
.BlueBlock input:focus,
.BlueBlock input:active {
	color: white !important;
}

.BlueBlock h1,
.BlueBlock h2,
.BlueBlock h3,
.BlueBlock h4,
.BlueBlock h5 {
	margin-top: 0 !important;
	color: white !important;
}

.EmailSubscribeImageButtonContainer {
	
}

.EmailSubscribeImageButtonContainer .ff-btn-submit {
	padding: 6px;
    width: 100%;
}


.EmailSubscribeImageButtonContainer img {
	height: 25px;
}


.SubmitButtonWrapper {
	margin-top: 12px !important;
}

.SubmitButtonWrapper .ff-btn-submit {
	padding: 15px;
    width: 100%;
}

.SubmitButtonWrapper button img {
	height: 30px;
}
