/* Why Choose AIPACS Widget Styles */

.ap-whyus-container {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
	justify-content: space-between;
}

.ap-whyus-content {
	flex: 1 1 500px;
}

.ap-whyus-content h2 {
	margin-bottom: 30px;
	font-size: 2.5rem;
	font-weight: 700;
	color: #0f172a;
}

.ap-whyus-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ap-whyus-list li {
	margin-bottom: 25px;
}

.ap-whyus-list strong {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 8px;
}

.ap-whyus-list p {
	margin: 0;
	color: #475569;
	line-height: 1.6;
}

/* Visual Animation Section */
.ap-whyus-visual {
	flex: 1 1 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	min-height: 350px;
}

.ap-visual-ring {
	position: absolute;
	width: 200px;
	height: 200px;
	border: 1px solid rgba(124, 58, 237, 0.3); /* Base color matches logo */
	border-radius: 50%;
	animation: pulseRing 3s infinite linear;
	opacity: 0;
}

.ap-visual-ring.delay {
	animation-delay: 1.5s;
}

.ap-visual-core {
	position: relative;
	width: 120px;
	height: 120px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
	z-index: 2;
	overflow: hidden; /* Ensure content stays inside the circle */
}

.ap-visual-core .ap-icon-core {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60%; /* Reduced to 60% of container */
	height: 60%; /* Reduced to 60% of container */
}

.ap-visual-core .ap-icon-core img,
.ap-visual-core .ap-icon-core svg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

@keyframes pulseRing {
	0% {
		transform: scale(0.8);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ap-whyus-container {
		flex-direction: column;
	}
	
	.ap-whyus-visual {
		min-height: 250px;
		margin-top: 20px;
	}
}
