/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Top Bar Section */
.site-topbar {
	background: linear-gradient(90deg, #2459bf, #5715a4);
	color: #fff;
	padding: 8px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

/* Contact Info */
.site-topbar .contact-info {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-topbar .contact-info li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
}

.site-topbar .contact-info li i {
	color: #fff;
	font-size: 14px;
}

.site-topbar .contact-info a {
	color: #fff;
	text-decoration: none;
	transition: 0.3s ease;
}

.site-topbar .contact-info a:hover {
	color: #ffd95e;
	/* Light gold hover */
}

.site-topbar .contact-info p {
	color: #fff;
}

.site-topbar .contact-info span {
	color: #fff;
}

/* Social Links */
.site-topbar .social-links {
	display: flex;
	align-items: center;
	gap: 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-topbar .social-links li a {
	color: #fff;
	font-size: 15px;
	transition: all 0.3s ease;
}

.site-topbar .social-links li a:hover {
	color: #ffd95e;
	transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
	.site-topbar {
		flex-direction: column;
		padding: 10px 20px;
		text-align: center;
		display: none;
	}

	.site-topbar .contact-info {
		justify-content: center;
		gap: 15px;
		margin-bottom: 8px;
	}

	.site-topbar .social-links {
		justify-content: center;
	}
}

/* =========================
HEADER & NAVIGATION
========================= */
.site-header {
	width: 100%;
	padding: 0 1rem;
	background: #fff;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Navbar */
.navbar {
	width: 100%;
	padding: 0.5rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.navbar>a>img.brand-logo {
	height: auto;
	max-height: 4.5rem;
	transition: transform 0.3s ease;
}

.navbar>a>img.brand-logo:hover {
	transform: scale(1.05);
}

/* Menu Toggle (mobile) */
.menu-toggle {
	display: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: #2459bf;
}

/* Navigation Menu */
.nav-menu {
	display: flex;
	align-items: center;
	padding: 0 1rem;
	margin: 0;
	background-color: #2459bf;
	border-radius: 1rem;
	position: relative;
	transition: all 0.3s ease;
}

.nav-menu li {
	list-style: none;
}

.nav-menu>li {
	padding: 1rem 0;
}

.nav-menu>li>a {
	padding: 0 .5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 1rem;
}

.nav-menu>li:last-child>a {
	border-right: none;
}

.nav-menu a {
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	transition: color 0.3s ease, transform 0.2s ease;
}

.nav-menu a:hover {
	color: #ffeb3b;
	transform: translateY(-2px);
}

/* =========================
MEGA MENU
========================= */
.has-megamenu {
	position: static;
}

.megamenu {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 100%;
	max-width: 991px;
	height: auto;
	background: #fff;
	padding: 1rem;
	border-top: 3px solid #0000;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0;
	transform: translateY(1rem) translateX(-50%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	border-radius: 1rem;
	transition: all 0.3s ease;
}

.mega-col>ul {
	margin: 0 0 1rem;
	padding: 0;
}

.mega-col>ul>li {
	margin-bottom: 0.25rem;
}

.mega-col>ul>li>a {
    padding: .125rem;
    padding-bottom: .25rem;
    font-size: small;
    display: inline-block;
    position: relative;
}

.mega-col>ul>li>a:hover {
    background-color: #2459bf11;
}

.mega-col>ul>li>a::before {
    content: "";
    width: 0%;
    height: 1px;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2459bf;
    transition: .3s ease-in-out all;
}

.mega-col>ul>li>a:hover::before {
    width: 100%;
}

.mega-col>ul>li:last-child>a {
	border-bottom: none;
}

.mega-col h4 {
    width: fit-content;
    color: #2459bf;
    font-size: 1rem;
    line-height: 28px;
    margin-bottom: .5rem;
    font-weight: 500;
    border-bottom: 1px solid #2459bf;
    padding-bottom: 0.3rem;
    white-space: nowrap;
    position: relative;
}

.mega-col h4>span {
	width: 1rem;
	height: 1rem;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 0;
	top: calc(50% / 2 - .25rem);
}

.mega-col a {
	color: #333;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 300;
	line-height: normal;
	padding: 0;
	padding-bottom: .5rem;
	transition: color 0.3s ease, transform 0.2s ease;
	border-bottom: 1px solid #0001;
}

.mega-col a:hover {
	color: #2459bf;
	transform: translateX(3px);
}

.has-megamenu:hover .megamenu {
	transform: translateY(0) translateX(-50%);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.megamenu-tabs {
	width: 20%;
	height: 100%;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 0;
}

.megamenu-tabs>a {
	color: #fff;
	width: 100%;
	height: auto;
	padding: .25rem;
	margin: 0;
	display: block;
	background-color: #2459bf;
	border-bottom: 1px solid #fff;
	transform: none !important;
	transition: .3s ease all;
}

.megamenu-tabs>a:hover {
	color: #fff;
	border-bottom-color: #fff;
}

.megamenu-tabs>a:first-child {
	border-top-left-radius: .5rem;
	border-top-right-radius: .5rem;
}

.megamenu-tabs>a:last-child {
	border-bottom-left-radius: .5rem;
	border-bottom-right-radius: .5rem;
}

.megamenu-tabcontent {
	width: 80%;
	height: 100%;
	max-height: calc(85vh - 100px);
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0;
	flex-wrap: wrap;
	overflow-y: auto;
	overflow-x: hidden;
}

.megamenu-tabcontent>.mega-col {
	width: calc(100% / 2 - 1rem);
	height: auto;
	padding: 0 1rem;
}

.megamenu-tabcontent>.megamenu-tabtitle {
	width: 100%;
	height: auto;
	padding: 0 1rem;
	margin: 0 0 1rem;
	display: block;
	font-size: 1.5rem;
}

.megamenu-tabcontent>.megamenu-tabtitle>a {
	padding: 0;
	color: #2459bf;
	font-size: 1.5rem;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	position: relative;
	transform: none !important;
}

.megamenu-tabcontent>.megamenu-tabtitle>a::before {
	content: "";
	width: 100%;
	height: 3px;
	padding: 0;
	margin: 0;
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #2459bf;
}

/* =========================
BUTTONS
========================= */
.btn-consult {
	background: #ff5722;
	color: #fff;
	padding: 0.5rem 1.2rem;
	border-radius: 6px;
	margin-left: 1rem;
	font-weight: 500;
	text-decoration: none;
	box-shadow: 0 3px 8px rgba(255, 87, 34, 0.3);
	transition: all 0.3s ease;
}

.btn-consult:hover {
	background: #e64a19;
	transform: translateY(-2px);
}

.login {
	margin-left: 1rem;
	color: #000;
	font-weight: 500;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 991px) {
	.nav-menu {
		display: none;
		flex-direction: column;
		padding: 1rem;
		background: #2459bf;
		border-radius: 0.5rem;
	}

	.nav-menu.active {
		display: flex;
	}

	.menu-toggle {
		display: block;
	}

	.megamenu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		flex-direction: column;
		gap: 0;
		box-shadow: none;
		border: none;
		padding: 0;
		background-color: #0000;
		transform: none !important;
	}

	.megamenu>.mega-col {
		width: 100%;
	}

	.sidebar-menu a:hover {
		color: #fff;
		background: #2459bf;
	}
}

/* =========================
MENU TOGGLE DROPS
========================= */
.menu-toggle__drops {
	position: relative;
	margin: 0;
	padding: 0;
}

/* Mobile Toggle button */
.menu-toggle {
	display: none;
	background: #2459bf;
	color: #fff;
	border: none;
	font-size: 1.5rem;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
}

/* Toggle Button */
.menu-toggle__drops>a {
	width: 3rem;
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #2459bf;
	color: #fff;
	text-decoration: none;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.menu-toggle__drops>a:hover {
	background-color: #1b47a0;
	transform: scale(1.1);
}

/* Dropdown List */
.menu-toggle__drops>ul {
	position: absolute;
	top: 110%;
	right: 0;
	padding: 1rem;
	margin: 0;
	display: none;
	flex-direction: column;
	gap: 0;
	background: linear-gradient(135deg, #2459bf, #5715a4);
	border-radius: 1rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	min-width: 230px;
	animation: fadeIn 0.3s ease forwards;
	z-index: 999;
}

.menu-toggle__drops.active>ul {
	display: flex;
}

/* Dropdown Items */
.menu-toggle__drops>ul>li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-toggle__drops>ul>li>a {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: 0.5rem 0.8rem;
	text-decoration: none;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
	border-radius: 0.5rem;
	transition: background 0.2s ease, transform 0.2s ease;
}

.menu-toggle__drops>ul>li>a:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateX(4px);
}

/* Small icon tweak */
.menu-toggle__drops>ul>li>a i {
	font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 992px) {
	.menu-toggle {
		display: block;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		background: #fff;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	.nav-menu.active {
		display: flex;
	}
}

@media (max-width: 991px) {
	    .mega-col h4 {
        color: #fff;
        display: block;
        width: 100%;
        border-bottom: none;
        padding: 0.5rem 1rem;
        margin: 0;
        font-size: 1rem;
        font-weight: 300;
    }

	.menu-toggle__drops {
		display: none;
	}
}

/* =========================
SIDEBAR (Mobile & Tablet)
========================= */
/* Sidebar base */
.sidebar {
	margin-top: 0px;
	position: fixed;
	top: 0;
	left: -500px;
	width: 280px;
	height: 100%;
	background-color: #2459bf;
	color: #fff;
	padding: 1rem .5rem;
	transition: left 0.3s ease-in-out;
	z-index: 99999999;
	overflow-y: auto;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
}

.sidebar.active {
	left: 0;
}

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	z-index: 900;
}

.overlay.active {
	display: block;
}

/* Close button */
.close-btn {
	font-size: 1.8rem;
	cursor: pointer;
	color: #fff;
	background: transparent;
	border: none;
	position: absolute;
	top: 1rem;
	right: 1rem;
}

/* Sidebar menu */
.sidebar-menu {
	list-style: none;
	padding: 3rem 0 0;
	/* push below close button */
	margin: 0;
}

.sidebar-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-menu a {
	text-decoration: none;
	color: #fff;
	display: block;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	transition: background 0.2s ease-in-out, padding-left 0.2s;
}

.sidebar-menu a:hover {
	background: rgba(255, 255, 255, 0.15);
	padding-left: 1.25rem;
}

.sidebar-menu li ul.drop-down {
	padding-left: 0;
}

.sidebar-menu li.has-dropdown>a {
	font-weight: 500;
}

/* Dropdown */
.sidebar-menu .dropdown {
	list-style: none;
	margin: 0;
	padding-left: 1rem;
	display: none;
}

.sidebar-menu .has-dropdown.open>.dropdown {
	display: block;
}

.sidebar-menu .dropdown li a {
	padding: 0.6rem 1rem;
	font-size: 0.95rem;
	border-radius: 4px;
}

.sidebar-menu .has-dropdown>a::after {
	content: "";
	float: right;
	font-size: 0.9rem;
	transition: transform 0.2s;
}

.sidebar-menu .has-dropdown.open>a::after {
	transform: rotate(90deg);
}

/* Mobile / Tablet only */
@media (max-width: 992px) {
	.menu-toggle {
		display: inline-block;
		background: #2459bf;
		color: #fff;
		border: none;
		font-size: 1.5rem;
		padding: 0.5rem 1rem;
		border-radius: 6px;
		cursor: pointer;
	}

	.nav-menu {
		display: none;
		/* hide desktop nav */
	}

	.sidebar-menu {
		padding-top: 0px;
	}
}

@media (min-width: 992px) {
	.mega-col h4>span {
		display: none !important;
	}

	.mega-col>ul.has-dropdown {
		display: block !important;
	}
}

/* =========================
BASIC DROPDOWN (Desktop)
========================= */
.nav-menu .has-dropdown {
	position: relative;
}

.nav-menu .has-dropdown>a {
	position: relative;
	padding-right: .5rem;
}

.nav-menu .has-dropdown>a::after {
	content: "▾";
	display: inline-block;
	margin-left: .5rem;
	font-size: .75rem;
	line-height: 1;
	transition: transform .2s ease;
}

/* Panel */
.nav-menu .drop-down {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border-radius: 12px;
	padding: .6rem;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	z-index: 1001;
}

.nav-menu .drop-down ul {
	list-style: none;
	margin: 0;
	padding: .25rem 0;
}

.nav-menu .drop-down li {
	margin: 0;
}

.nav-menu .drop-down a {
	display: block;
	color: #333;
	padding: .55rem .75rem;
	border-radius: .5rem;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.nav-menu .drop-down a:hover {
	background: rgba(36, 89, 191, .08);
	color: #2459bf;
}

/* Open on hover / keyboard focus */
.nav-menu .has-dropdown:hover>.drop-down,
.nav-menu .has-dropdown:focus-within>.drop-down {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.nav-menu .has-dropdown:hover>a::after,
.nav-menu .has-dropdown:focus-within>a::after {
	transform: rotate(180deg);
}

/* Keep long panels inside on the right edge */
.nav-menu>li:last-child .drop-down {
	right: 0;
	left: auto;
}

/* Optional: nested submenu (flyout) */
.nav-menu .drop-down .has-dropdown {
	position: relative;
}

.nav-menu .drop-down .has-dropdown>a::after {
	content: "▸";
	float: right;
	margin-left: .75rem;
	transform: none;
}

.nav-menu .drop-down .drop-right {
	position: absolute;
	top: -0.6rem;
	left: 100%;
	min-width: 220px;
	margin-left: .4rem;
	background: #fff;
	border-radius: 12px;
	padding: .6rem;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
}

.nav-menu .drop-down .has-dropdown:hover>.drop-right,
.nav-menu .drop-down .has-dropdown:focus-within>.drop-right {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Alias support if some markup uses ".dropdown" (no hyphen) */
.nav-menu .dropdown {
	all: unset;
}

.nav-menu .dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border-radius: 12px;
	padding: .6rem;
	margin-top: .6rem;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	z-index: 1001;
	display: block;
}

.nav-menu .has-dropdown:hover>.dropdown,
.nav-menu .has-dropdown:focus-within>.dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/**/
/* Initially hide all tab content */
.megamenu-tabcontent {
	display: none;
}

/* Optionally, show the first tab content by default */
.megamenu-tabcontent:first-of-type {
	display: block;
}


/* =========================
MOBILE (≤991px): Accordion
========================= */
@media (max-width: 991px) {
	.nav-menu .has-dropdown {
		width: 100%;
	}

	.nav-menu .has-dropdown>a {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-right: none;
		/* your desktop divider */
		padding: .75rem 1rem;
	}

	.nav-menu .has-dropdown>a::after {
		color: #fff;
		/* visible on blue bar */
		transform: none;
	}

	.nav-menu .drop-down,
	.nav-menu .dropdown {
		position: static;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
		padding: 0 0 0 .5rem;
		margin: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		display: none;
		/* hidden until .open */
	}

	.nav-menu .has-dropdown.open>.drop-down,
	.nav-menu .has-dropdown.open>.dropdown {
		display: block;
	}

	.nav-menu .drop-down a {
		color: #fff;
		padding: .5rem 1rem;
		border-radius: .5rem;
	}

	.nav-menu .drop-down a:hover {
		background: rgba(255, 255, 255, .15);
		color: #fff;
	}
}

/**/
@media (max-width: 991px) {
	.sidebar-menu li.has-dropdown ul.drop-down {
		height: 0px;
		overflow: hidden;
		transition: .31s ease-in-out all;
	}

	.sidebar-menu li.has-dropdown.open ul.drop-down {
		height: auto;
	}
	.megamenu-tabs {
    display: none;
}

.megamenu-tabcontent {
    width: 100%;
            display: flex !important;
    flex-direction: row;
}

.megamenu-tabcontent>.megamenu-tabtitle {
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0;
}

.megamenu-tabcontent>.megamenu-tabtitle>a {
    color: #fff;
    padding-left: 0 !important;
    background-color: #0000 !important;
    font-size: 1rem !important;
    font-weight: 300;
}

.megamenu-tabcontent>.megamenu-tabtitle>a::before {
    
}

    .megamenu-tabcontent>.mega-col {
        width: 100%;
        padding: 0 0 0 .5rem;
        display: none;
    }

.sidebar-menu li.has-dropdown>a {
    font-weight: 300;
}
}