/* Main theme settings */
:root {
	/* colors */
	--explitia-brand: #092652;
	--explitia-alternate-brand: #2192f9;
	--explitia-heading: #001b3f;
	--explitia-text: #4b5870;
	--explitia-primary-background: #f5f8ff;
	--explitia-secondary-background: #fbfcff;
	--explitia-alternate-background: #b7c8da;
	--explitia-subtle-background: #0a66ff;
	--explitia-other-supporting: #000000;

	/* font */
	--explitia-font: 'Montserrat', sans-serif;
}

/* main container */
.explitia-mega-menu-wrapper {
	display: flex;
	background-color: var(--explitia-primary-background);
	padding: 0;
	color: #ffffff;
	font-family: var(--explitia-font);

	/* Pulling a page out of the stream */
	position: absolute;
	top: 100%;
	left: 0%;
	width: 100%;

	/* Move it to the top layer */
	z-index: 9999;

	/* Add a shadow to create depth */
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);

	/* default transparency and shear states */
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
}

.explitia-mega-menu-wrapper.is-open {
	display: flex !important;

	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.explitia-tabs-title {
	margin-top: 0 !important;
	color: var(--explitia-brand);
	text-transform: uppercase; /* all letters in uppercase */
	font-size: 12px; /* reduce the font size slightly */
	font-weight: 700; /* make it slightly bold */
	letter-spacing: 1px; /* add a little space between the letters */
	margin-bottom: 10px;

	padding-bottom: 12px;
	border-bottom: 1px solid var(--explitia-alternate-background);
}

/* Left column (takes up 30% of the width) */
.explitia-tabs-column {
	width: 20%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 30px 20px;
	background-color: var(--explitia-primary-background);
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right column with 70% content */
.explitia-content-column {
	width: 80%;
	padding: 30px 40px;

	/* Turn on the two-story grid */
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 20px;

	background-color: var(--explitia-brand);
	border-radius: 6px; /* round off the corners */
	margin: 30px; /* a light-colored border around the block */
}

/* Hide all content screens by default */
.explitia-tab-content {
	display: none !important;
}

/* We display only the screen that has the “active” class. */
.explitia-tab-content.active {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 28px;
	align-content: start;
}

/* Reset the Astra styles for tab buttons */
.explitia-mega-menu-wrapper .explitia-tab-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;

	background: #ffffff !important; /* The buttons are white by default */
	/* Add a shadow to create depth */
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
	color: var(--explitia-brand);
	text-align: left;
	padding: 12px 20px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease-in-out;
}

/* Styles for tab buttons */
.explitia-tab-btn {
	font-weight: 900;
}

/* make preudoelement with arrow */
.explitia-mega-menu-wrapper .explitia-tab-btn::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;

	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3L11 8L6 13' stroke='%23092652' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.explitia-mega-menu-wrapper .explitia-tab-btn.active::after,
.explitia-mega-menu-wrapper .explitia-tab-btn:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3L11 8L6 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Style for the active tab (and on mouseover) */
.explitia-mega-menu-wrapper .explitia-tab-btn.active,
.explitia-mega-menu-wrapper .explitia-tab-btn:hover {
	background-color: var(--explitia-brand) !important; /* turns dark blue */
	color: #ffffff !important; /* text white */
	font-weight: bold;
}

/* Let's format the links in the right column */
.explitia-tab-content a {
	position: relative;
	color: #ffffff !important;
	text-decoration: none !important;
	display: flex;
	align-items: flex-start;
	gap: 8px;

	margin-bottom: 12px;
	font-size: 16px;
	transition: opacity 0.2s;
	font-weight: bold;
	width: fit-content;
}

/* A dash before links */
.explitia-tab-content a::before {
	content: "–";
	color: var(--explitia-alternate-brand);
	font-weight: 500;
}

/* When you hover over it, a strip appears */
.explitia-tab-content a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	height: 1px;
	background-color: var(--explitia-alternate-brand);
	width: 0;
	transition: width 0.3s ease;
}

/* to the end of the word */
.explitia-tab-content a:hover::after {
	width: 100%;
}

/* The general footer container in the right column */
.explitia-menu-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.15); /* A Fine Line */
}

/* Header and Footer Text Styles */
.explitia-footer-text h4 {
	margin: 0 0 6px 0;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 30px;
}

/* We support companies in their digital transformation. Contact us. text */
.explitia-footer-text p {
	margin: 0;
	color: var(--explitia-alternate-background);
	font-size: 13px;
}

/*  White Button Free Workshop */
.explitia-btn-cta {
	background-color: #ffffff !important;
	color: var(--explitia-brand) !important;
	padding: 10px 22px;
	margin-top: 40px;
	border-radius: 4px;
	text-decoration: none !important;
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap; /* so that the text doesn't wrap to two lines */
	transition: background-color 0.2s, opacity 0.2s;
}

.explitia-btn-cta:hover {
	opacity: 0.9;
}

/* Disable the standard Astra drop-down lists for the entire main menu in the header */
#ast-hf-menu-1 .sub-menu {
	display: none !important;
}

@media (max-width: 992px) {
	.explitia-mega-menu-wrapper {
		display: none !important;
	}
}
