/*
Theme Name: MAWIB Capital
Theme URI: https://cem.lk/
Template: hello-elementor
Author: Ceylon Exchange Mentoring (Pvt) Ltd
Author URI: https://cem.lk/
Description: corporate, business, finance, investment, consulting, custom-menu, custom-logo, featured-images, full-width-template, custom-colors, flexible-header, translation-ready, rtl-language-support, theme-options, accessibility-ready, responsive-layout, modern-design, grid-layout, threaded-comments, two-columns, one-column
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.0
Updated: 2025-11-17 11:15:00

*/

/*--------------------------------------------------------------
# Scroll Margin
--------------------------------------------------------------*/
:target {
	scroll-margin-top: 100px !important;
}

/*--------------------------------------------------------------
# Screen Fit
--------------------------------------------------------------*/
body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}

/*--------------------------------------------------------------
# Overlay Pseudo Elements
--------------------------------------------------------------*/
.overlay-before::before, .overlay-after::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/
.breadcrumb::before {
	background: linear-gradient(270deg, transparent 0%, rgba(4, 30, 67, 0.58) 68.27%, rgba(4, 30, 67, 0.90) 100%);
}

/*--------------------------------------------------------------
# Prime - Button
--------------------------------------------------------------*/
.elementor-button {
	background-color: var(--e-global-color-primary) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: var(--e-global-color-primary) !important;
}
.elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-primary) 85%, var(--e-global-color-secondary)) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: color-mix(in srgb, var(--e-global-color-primary) 85%, var(--e-global-color-secondary)) !important;
}
.elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-primary) 75%, var(--e-global-color-secondary)) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: color-mix(in srgb, var(--e-global-color-primary) 75%, var(--e-global-color-secondary)) !important;
}
.elementor-button-icon {
	display: flex;
}

/*--------------------------------------------------------------
# Prime Lite - Button
--------------------------------------------------------------*/
.custom-btn-prime-lite .elementor-button {
	background-color: transparent !important;
	color: var(--e-global-color-primary) !important;
	fill: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
}
.custom-btn-prime-lite .elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-primary) 10%, transparent) !important;
	color: var(--e-global-color-primary) !important;
	fill: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
}
.custom-btn-prime-lite .elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-primary) 20%, transparent) !important;
	color: var(--e-global-color-primary) !important;
	fill: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
}

/*--------------------------------------------------------------
# Advisory - Button
--------------------------------------------------------------*/
.custom-btn-advisory .elementor-button {
	background-color: var(--e-global-color-secondary) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: var(--e-global-color-secondary) !important;
}
.custom-btn-advisory .elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-secondary) 85%, black) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 85%, black) !important;
}
.custom-btn-advisory .elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-secondary) 70%, black) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 70%, black) !important;
}

/*--------------------------------------------------------------
# Advisory Lite - Button
--------------------------------------------------------------*/
.custom-btn-advisory-lite .elementor-button {
	background-color: transparent !important;
	color: var(--e-global-color-secondary) !important;
	fill: var(--e-global-color-secondary) !important;
	border-color: var(--e-global-color-secondary) !important;
}
.custom-btn-advisory-lite .elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-secondary) 10%, transparent) !important;
	color: var(--e-global-color-secondary) !important;
	fill: var(--e-global-color-secondary) !important;
	border-color: var(--e-global-color-secondary) !important;
}
.custom-btn-advisory-lite .elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-secondary) 20%, transparent) !important;
	color: var(--e-global-color-secondary) !important;
	fill: var(--e-global-color-secondary) !important;
	border-color: var(--e-global-color-secondary) !important;
}

/*--------------------------------------------------------------
# Subtle - Button
--------------------------------------------------------------*/
.custom-btn-subtle .elementor-button {
	background-color: var(--e-global-color-c9e3b2f) !important;
	color: var(--e-global-color-text) !important;
	fill: var(--e-global-color-text) !important;
	border-color: var(--e-global-color-c9e3b2f) !important;
}
.custom-btn-subtle .elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 90%, black) !important;
	color: var(--e-global-color-text) !important;
	fill: var(--e-global-color-text) !important;
	border-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 90%, black) !important;
}
.custom-btn-subtle .elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 80%, black) !important;
	color: var(--e-global-color-text) !important;
	fill: var(--e-global-color-text) !important;
	border-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 80%, black) !important;
}

/*--------------------------------------------------------------
# Subtle Lite - Button
--------------------------------------------------------------*/
.custom-btn-subtle-lite .elementor-button {
	background-color: transparent !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: var(--e-global-color-c9e3b2f) !important;
}
.custom-btn-subtle-lite .elementor-button:hover {
	background-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 10%, transparent) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: var(--e-global-color-c9e3b2f) !important;
}
.custom-btn-subtle-lite .elementor-button:active {
	background-color: color-mix(in srgb, var(--e-global-color-c9e3b2f) 20%, transparent) !important;
	color: var(--e-global-color-c9e3b2f) !important;
	fill: var(--e-global-color-c9e3b2f) !important;
	border-color: var(--e-global-color-c9e3b2f) !important;
}

/*--------------------------------------------------------------
# User Role Switcher
--------------------------------------------------------------*/
.user-switcher select {
	padding: 12px 16px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background-color: var(--e-global-color-accent);
	transition: background-color 0.3s ease;
	cursor: pointer;
}
.user-switcher select:focus {
	border: 1px solid rgba(0, 0, 0, 0.1);
	background-color: var(--e-global-color-c9e3b2f);
	cursor: pointer;
}
.user-switcher select::placeholder {
	color: var(--e-global-color-text);
}

/*--------------------------------------------------------------
# Popup
--------------------------------------------------------------*/
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.popup-overlay.active {
	opacity: 1;
}

.popup-content {
	background: var(--e-global-color-c9e3b2f);
	border-radius: 4px;
	max-width: 950px;
	width: 90%;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	position: relative;
	transform: translateY(30px) scale(0.95);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.popup-header {
	display: flex;
	flex-direction: column;
	padding: 12px 32px;
	box-shadow: 0 4px 28px 0 rgba(0, 0, 0, 0.05);
}
.popup-mid {
	padding: 32px;
}
@media (max-width: 767px) {
	.popup-header {
		padding: 12px 16px;
	}
	.popup-mid {
		padding: 16px;
	}
}
.popup-overlay.active .popup-content {
	transform: translateY(0) scale(1);
	opacity: 1;
}

@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-5px); }
	100% { transform: translateY(0px); }
}

/*--------------------------------------------------------------
# Service Card
--------------------------------------------------------------*/
.service-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	padding: 24px 24px 32px 24px;
	border-radius: 2px;
	background: var(--e-global-color-c9e3b2f);
	box-shadow: 1px 1px 18px 4px rgba(0, 0, 0, 0.03);
}
.service-card .service-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 21px;
}
.service-card .elementor-icon {
	display: flex;
}
.service-card .learn-more {
	display: flex;
	gap: 8px;
	transition: gap 0.5s ease;
}
.service-card:hover .learn-more {
	gap: 12px;
}

/*--------------------------------------------------------------
# Gradient Effect
--------------------------------------------------------------*/
.gradient-fx::before {
	background: linear-gradient(180deg, var(--e-global-color-primary) 0%, rgba(4, 30, 67, 0.70) 65.52%, transparent 80.71%);
}

/*--------------------------------------------------------------
# Gradient + Dim Effect
--------------------------------------------------------------*/
.gradient-fx-dim::before {
	background: linear-gradient(180deg, var(--e-global-color-primary) 0%, rgba(4, 30, 67, 0.80) 65.52%, rgba(0, 0, 0, 0.40) 80.71%);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	background: linear-gradient(180deg, var(--e-global-color-primary) 0%, rgba(106, 164, 246, 0.10) 100%), black;
}

/*--------------------------------------------------------------
# CSS Classes for Logged In/Out Users
--------------------------------------------------------------*/
.user-logged-in .show-logged-out {
    display: none !important; /* Only be visible to logged-out users */
}

.user-logged-out .show-logged-in {
    display: none !important; /* Only visible to logged-in users. */
}