/* Mega Menu Styles */
.primary-menu {
    position: relative;
}

.menu-item-has-mega-menu {
    position: static !important;
}

.mega-menu-content {
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
/*     box-shadow: 0 5px 10px rgba(0,0,0,0.1); */
    padding: 20px;
    display: none;
    z-index: 999;
}

.menu-item-has-mega-menu:hover .mega-menu-content {
    display: block;
}

.mega-menu-columns {
    display: flex;
    gap: 30px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column li {
    margin-bottom: 10px;
}

.mega-menu-column a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.mega-menu-column a:hover {
    color: #0073aa;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mega-menu-content {
        position: static;
        display: none !important;
    }
    
    .menu-item-has-mega-menu:hover .mega-menu-content {
        display: none !important;
    }
}

/* Table of Contents Container */


/* TOC List Styles */


.toc-link {
	text-decoration: none;
	transition: all 0.2s ease;
	display: block;
}

.toc-link:hover {
	text-decoration: underline;
}

/* Active State */
.toc-link.active {
	color: var(--navyblue);
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.table-of-contents {
		padding: 15px;
	}

	.table-of-contents h2 {
		font-size: 1.3em;
	}
}

/* faq */


.cdo-faq-main-clik-div {
	cursor: pointer;
}
.cdo-faq-row-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cdo-arrow-faq img {
	transition: transform 0.3s ease;
}
.cdo-arrow-faq.open img {
	transform: rotate(180deg);
}
.cdo-open.para {
	display: none;

}

/* menu */
li.cdo-buttonwithbg a{
	color:var(--white) !important;
}

/* button */
.cdo-buttonwithbg a {
	background: linear-gradient(90deg, rgba(24, 36, 236, 0.8) 0%, rgba(83, 33, 140, 0.8) 81.32%);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 400;
	padding: 1rem 3.5rem 1rem 1.5rem;
	position: relative;
	transition: 0.5s ease-in-out;
	border-radius:9.375rem;
}

.cdo-buttonwithbg a::after {
	position: absolute;
	content: '';
	background-image: url("/wp-content/themes/alpha-x-theme-framework/assets/icons/white-arrow.svg");
	background-size: cover;
	background-repeat: no-repeat;
	width: 1.25rem;
	height: 1.25rem;
	top: 0.938rem;
	right: 1.875rem;
}
/* border button */
.cdo-borderbutton a ,.is-style-border a{
	position: relative;
	display: inline-block;
	border-radius: 9.375rem;
	background: linear-gradient(90deg, rgba(24, 36, 236, 0.8), rgba(83, 33, 140, 0.8));
	z-index: 0;
	background: linear-gradient(#fff, #fff) padding-box, /* inner */ linear-gradient(90deg, rgba(24, 36, 236, 0.8), rgba(83, 33, 140, 0.8)) border-box;
	border: 1px solid transparent;
}


.cdo-btn-text{
	color:var(--white);
}
.cdo-borderbutton .cdo-btn-text ,.is-style-border .cdo-btn-text{
	display: inline-block;
	background: linear-gradient(90deg, rgba(24, 36, 236, 0.8), rgba(83, 33, 140, 0.8));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	width:max-content;
}
.cdo-borderbutton a::after,.is-style-border a::after{
	background:
		url("/wp-content/themes/alpha-x-theme-framework/assets/icons/btn-arrow.svg") no-repeat center transparent;
	background-size: 1.25rem 1.25rem;
	transition:all 0.4s ease-in-out;
}

/* call white button */
.cdo-callwhitebtn a,.is-style-call-white a{
	background:var(--white) !important;
	padding: 1rem 1.5rem 1rem 3.5rem;
}
.cdo-callwhitebtn .cdo-btn-text,.is-style-call-white .cdo-btn-text{
	background: linear-gradient(270deg, rgba(24, 36, 236, 0.8) 0%, rgba(83, 33, 140, 0.8) 81.32%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}
.cdo-callwhitebtn a::after,.is-style-call-white a::after{
	background:
		url("/wp-content/themes/alpha-x-theme-framework/assets/icons/phone.svg") no-repeat;
	background-size:contain;
	width: 0.813rem;
	height: 0.813rem;
	top: 1.25rem;
	right: unset;
	left: 2.5rem;
}

/* call gradient button */
.cdo-callgradientbtn a,.is-style-call-gradient a{
	padding: 1rem 1.5rem 1rem 3.5rem;
}
.cdo-callgradientbtn a::after,.is-style-call-gradient a::after{
	background:
		url("/wp-content/themes/alpha-x-theme-framework/assets/icons/whitecall-icon.svg") no-repeat;
	background-size:cover;
	width: 0.813rem;
	height: 0.813rem;
	top: 1.125rem;
	right: unset;
	left: 1.625rem;
}
/* call  button */


/* cta */
.cod-hm-ctagrp > div{
	background:url("/wp-content/uploads/2025/04/cta-home-mob.webp") no-repeat;
	padding:10.125rem 2rem 2.188rem 2rem;
	width:100%;
	background-size:cover;
	border-radius:1.25rem;
	background-position:right;
}
.cod-hm-ctagrp > div h2,.cod-hm-ctagrp > div p{
	color:var(--white);
}
.mega-menu-post a{
	background:unset !important;
	-webkit-background-clip: text;
	-webkit-text-fill-color: unset !important;
	background-clip: text;
	color: unset !important;
}
/* cta end  */

/* Testimonal */
.testimonial-slider-wrap{
	display:flex;
	flex-wrap:wrap;
	flex-direction:column;
	gap:1.563rem;
}
.testimonial-image,.testimonial-designation,.testimonial-title{
	display:none;
}
.testimonial-hover{
	background-color:var(--slate-blue);
	border-radius:0.75rem;
	padding:1.25rem;
}
.testimonial-hover p,.testimonial-hover .star,.testimonial-title-hover,.testimonial-designation-hover{
	color:var(--white);
}
.testimonial-small-image-hover img{
	width:3.25rem;
	height:3.25rem;
	border-radius:50%;
}
.testimonial-card-wrap{
	display:flex;
	gap:0.813rem;
	margin-top:1.75rem;
	align-items: center;

}
.testimonial-stars-hover{
	margin-bottom:3rem;
}
.testimonial-title-hover{
	font-weight:600;
}
.testimonial-designation-hover{
	font-size:0.875rem;
	line-height:1rem;
	padding-top:0.313rem;
}
/* testimonial end */

/*common hero section*/
.cdo-hero-contentdiv{
	background: linear-gradient(180deg, rgba(135, 56, 242, 0.2) 38.72%, rgba(44, 39, 237, 0.2) 100%);
	border-radius:0.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 7.5rem 1.25rem 1.25rem  1.25rem;
}
.cdo-hero-contentdiv h1{
	padding-bottom:1.125rem;
}
.cdo-commonhero-cols{
	flex-direction:column;
	gap:0.75rem;
}
.cdo-hero-imagediv{
	border-radius:0.5rem;
}
.cdo-hero-imagediv img{
	width:100%;
	height:23.125rem;
	object-fit:cover;
	border-radius:0.5rem;
}
.cdo-hero-imagediv picture{
	display:flex;
}
/* mobile megga menu */

.mobile-dropdown-toggle {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	position: relative;
	margin-left: 0.313rem;
	cursor: pointer;
}

.mobile-dropdown-toggle:before {
	content: '';
	background:url(/wp-content/themes/alpha-x-theme-framework/assets/icons/Down_Arrow.svg) no-repeat;
	background-size:contain;
	width: 0.831rem;
	height: 0.458rem;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.mobile-dropdown-toggle.active:before {
	content: '';
	background:url(/wp-content/themes/alpha-x-theme-framework/assets/icons/Down_Arrow.svg) no-repeat;
	background-size:contain;
	width: 0.831rem;
	height: 0.458rem;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transform:rotatex(180deg);
}

.mobile-sub-menu {
	padding-left: 1.2rem;
}
.mobile-sub-menu li a{
	background: unset !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: unset !important;
    background-clip: text;
}

.mobile-services-submenu {
	padding-left: 1.2rem;
}

.mobile-menu-item-has-children > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.cdo-service-arrow{
	padding-bottom:unset;
}

.mobile-sub-menu .mobile-menu-service a{
	color:var(--gray);
}
.mobile-sub-menu a.category-toggle{
	color:var(--blue);
	padding-top:0.3rem;
}
/*common hero section end*/

@media screen and (min-width: 992px) {
	/* button */
	.cdo-buttonwithbg a,.cdo-borderbutton a{
		font-size: 1.125rem;
		line-height:1.5rem;
		display: inline-block;
	}

	.cdo-buttonwithbg a .cdo-btn-text {
		transition: transform 0.33s ease-in-out;
		position: relative;
		display: inline-block;
	}

	.cdo-buttonwithbg a:hover .cdo-btn-text {
		transform: translateX(-0.125rem);
	}

	.cdo-buttonwithbg a::after {
		position: absolute;
		content: '';
		background-image: url("/wp-content/themes/alpha-x-theme-framework/assets/icons/white-arrow.svg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 1.25rem 1.25rem;
		background-color: transparent;
		width: 1.75rem;
		height: 1.75rem;
		top: 0.875rem;
		right: 1.625rem;
		border-radius: 50%;
		transition: transform 0.4s ease-in-out,
			background-color 0.4s ease-in-out,
			background-image 0.4s ease-in-out,
			background-size 0.4s ease-in-out,
			width 0.4s ease-in-out,
			height 0.4s ease-in-out;
		will-change: width, height, transform, background-image, background-size, background-color;
	}

	.cdo-buttonwithbg a:hover::after {
		width: 1.5rem;
		height: 1.5rem;
		background-color: var(--white);
		background-image: url("/wp-content/themes/alpha-x-theme-framework/assets/icons/btn-arrow.svg");
		background-size: 1rem 1rem;
		transform: rotate(45deg);
		will-change: width, height, transform, background-image, background-size, background-color;
	}

	/* border button	 */
	.cdo-borderbutton a::after,.is-style-border a::after {
		background:
			url("/wp-content/themes/alpha-x-theme-framework/assets/icons/btn-arrow.svg") no-repeat;
		background-size: 1.25rem 1.25rem;
		transition:all 0.4s ease-in-out;
		background-position: center;
		will-change: width, height, transform, background-image, background-size, background-color;
	}

	.cdo-borderbutton a:hover::after {
		background:
			url("/wp-content/themes/alpha-x-theme-framework/assets/icons/white-arrow.svg") no-repeat center,
			linear-gradient(90deg, rgba(24, 36, 236, 0.8), rgba(83, 33, 140, 0.8));
		background-size: 1rem 1rem, cover;
		transform: rotate(45deg);
		will-change: width, height, transform, background-image, background-size, background-color;
	}
	/* call button */
	.cdo-callwhitebtn a::after,.is-style-call-white a::after{
		background:
			url("/wp-content/themes/alpha-x-theme-framework/assets/icons/phone.svg") no-repeat;
		background-size:1.125rem 1.125rem;
		transition:all 0.4s ease-in-out;
		background-position: center;
		right: unset;
		top: 0.875rem;
		left: 1.625rem;
		will-change: background;
		will-change: width, height, transform, background-image, background-size, background-color,background;
	}
	.cdo-callwhitebtn a:hover::after{
		background:
			url("/wp-content/themes/alpha-x-theme-framework/assets/icons/whitecall-icon.svg") no-repeat center,
			linear-gradient(90deg, rgba(24, 36, 236, 0.8), rgba(83, 33, 140, 0.8));
		background-size: 0.625rem 0.625rem, cover;
		transform: rotate(45deg);
		will-change: width, height, transform, background-image, background-size, background-color,background;
	}
	.cdo-callwhitebtn a:hover .cdo-btn-text,.cdo-callgradientbtn a:hover .cdo-btn-text{
		transform: translateX(0.125rem);
		will-change: width, height, transform, background-image, background-size, background-color;
	}


	.cdo-callgradientbtn a::after,.is-style-call-gradient a::after{
		background:
			url("/wp-content/themes/alpha-x-theme-framework/assets/icons/whitecall-icon.svg") no-repeat;
		background-size: 0.938rem 0.938rem;
		background-position:center;
		will-change: width, height, transform, background-image, background-size, background-color,background;
	}
	.cdo-callgradientbtn a:hover::after {
		width: 1.5rem;
		height: 1.5rem;
		background-color: var(--white);
		background-image: url("/wp-content/themes/alpha-x-theme-framework/assets/icons/phone.svg");
		background-size: 0.625rem 0.625rem;
		transform: rotate(45deg);
		will-change: width, height, transform, background-image, background-size, background-color,background;
	}

	/* cta */
	.cod-hm-ctagrp > div{
		background:url("/wp-content/uploads/2025/04/cta-home-scaled.webp") no-repeat;
		padding:4.5rem 2rem 4.5rem 4.25rem;
		background-size:cover;
	}

	/* cta end  */

	/* Testimonal */
	.testimonial-slider-wrap{
		flex-direction:row;
		gap:1.5rem;
	}
	.testimonial-item {
		flex-basis: calc(25% - 1.125rem);
		position: relative;
		width: 100%;
		height: 100%;
		transition: transform 1.2s;
		transform-style: preserve-3d;
	}
	.testimonial-item:hover {
		transform: rotateY(180deg);
		transition: transform 2s;
	}
	.testimonial-image,.testimonial-designation,.testimonial-title{
		display:block;
	}
	.testimonial-image img{
		width:19.188rem;
		height:22.688rem;
		object-fit: cover;
	}


	.testimonial-hover,.testimonial-front{
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		position:absolute;
		top:0;
	}
	.testimonial-item{
		height:22.688rem;
		width:19.188rem;
	}
	.testimonial-hover{
		transform: rotateY(180deg);
		height:22.688rem;
		width:19.188rem;
		padding:1.188rem;
		border-radius:unset;
	}
	.testimonial-item:hover .testimonial-hover {
		transform: rotateY(180deg);
		transition: transform 2s;
	}
	
	.testimonial-item .testimonial-front h3,.testimonial-item .testimonial-front p{
		transition: 0.5s ease-in-out;
	}
	.testimonial-item:hover .testimonial-front h3,.testimonial-item:hover .testimonial-front p{
	opacity:0;
	}
	.testimonial-stars-hover{
		margin-bottom:2.875rem;
	}
	.testimonial-description-hover p{
		font-size:1rem;
		line-height:1.438rem;
	}
	/*common hero section*/
	.cdo-commonhero-cols{
		gap:1.25rem;
		flex-direction:row;
	}

	.cdo-hero-contentdiv{
		padding: 0 2.25rem 2.188rem 1.563rem;
		max-width:22.875rem;
	}
	.cdo-hero-contentdiv h1{
		padding-bottom:0.438rem;
	}
	.cdo-hero-imagediv{
		flex-basis:fit-content !important;
		border-radius:0.5rem;
	}
	.cdo-hero-imagediv img{
		width:57.125rem;
		height:25.813rem;
	}


	/* Style the mega menu container */
	.mega-menu-content {
		position: absolute;
		display: none;
		width:73.313rem;
		min-height:36.5rem;
		z-index: 10;
		padding-top:2.375rem;
		left: 50%; 
		margin: 0 auto; 
		transform: translateX(-50%); 
		background-color: var(--white);
		border-bottom-left-radius:0.75rem;
		border-bottom-right-radius:0.75rem;
		overflow:auto;
	}
	.mega-menu-content:after{
		position:absolute;
		content:'';
		background:url(/wp-content/uploads/2025/04/megga-menu.svg) no-repeat;
		background-size:cover;
		right:0;
		bottom:0;
		width:29.25rem;
		height:27.25rem;
		z-index:-1;
	}

	/* Show mega menu on hover */
	.menu-item-has-mega-menu:hover .mega-menu-content {
		display: block;
	}

	.mega-menu-wrapper {
		display: flex;
		width: 100%;
	}


	.mega-menu-categories {
		flex-basis:32.625rem;
	}

	.mega-menu-posts-wrapper {
		flex-grow: 1;
		flex-basis:28.563rem;
	}

	.mega-menu-category-list span{
		font-size:1.5rem;
		line-height:2.125rem;
		color:var(--bluesecondry);
		font-family: "Urbanist", sans-serif;
		font-weight:600;
	}

	.mega-sub-menu-posts a{
		font-size:1.125rem;
		line-height:1.5rem;
		color:var(--navyblue);
	}
	.mega-menu-category {
		padding: 1.5rem;
		cursor: pointer;
		transition: background-color 0.3s;
		border-radius:0.75rem;
		margin-bottom:1rem;
		border:0.063rem solid var(--lightgray);
		transition:background 0.3s ease;
	}
	.mega-menu-category.active{
		transition:background 0.3s ease;
	}
	.mega-menu-category:last-of-type{
		margin-bottom:unset;
	}

	.mega-menu-category:hover,
	.mega-menu-category.active {
		background: linear-gradient(90deg, rgba(24, 36, 236, 0.1) 0%, rgba(83, 33, 140, 0.1) 81.32%);
	}
	.mega-menu-category a {
		text-decoration: none;
		display: block;
	}
	.mega-sub-menu-posts a {
		text-decoration: none;
		transition: color 0.3s;
	}

	.cdo-contact-btn{
		position:relative;
		z-index:99;
	}
	.cdo-service-arrow:hover .mega-menu-content {
		display: block;
	}

	/* Style the mega menu categories and posts */

	.mega-menu-wrapper{
		border-top:0.063rem solid var(--lightgray);
		padding:3rem 4.25rem;
		gap:3.625rem;
	}
	.mega-menu-posts-wrapper {
		display: flex; 
		flex-wrap: wrap; 
		flex-direction:column;
	}

	.mega-sub-menu-posts li {
		list-style: none;
		padding-left:1.625rem;
		position:relative;
		margin-bottom:1.5rem;
	}
	li.mega-menu-post.active{
		position:relative;
	}

	.mega-sub-menu-posts li:last-of-type{
		margin-bottom:unset;
	}
	li.mega-menu-post.active:before{
		position:absolute;
		content:'';
		background: linear-gradient(180deg, rgba(24, 36, 236, 0.8) 0%, rgba(83, 33, 140, 0.8) 81.32%);
		background-size:contain;
		height:100%;
		width:0.125rem;
		left:0;
	}
	.post-title{
		font-size:1.125rem;
		line-height:1.5rem;
		font-family: "Urbanist", sans-serif;
		color: var(--navyblue);
		font-weight:600;
	}

	.post-excerpt,.category-excerpt{
		padding-top:0.125rem;
		font-size:1rem;
		line-height:1.5rem;
	}

	/*common hero section end*/




}
