/*============================================*/
/*       DAYTHREE TWO COLUMN LAYOUT           */
/*       Created: 2026/01/29                  */
/*       Version: 1.0.0                       */
/*============================================*/

/* --- Base Styles --- */
.circle-image-widget-section {
	display: flex;
	justify-content: center;
}

/* Widget Container */
.circle-image-widget {
	width: 100%;
	max-width: 1240px;
	background: #ffffff;
	display: flex;
	padding: 0 24px;
	gap: 100px;
}

/* Layout Reverse (Text Left, Image Right) */
.circle-image-widget.layout-reverse {
	flex-direction: row-reverse;
}

/* Left side: circle image */
.circle-image-widget-left {
	width: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Circle image */
.circle-widget-image {
	width: 100%;
	max-width: 450px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	object-fit: cover;
}

/* Right side: column layout */
.circle-image-widget-right {
	width: 60%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
}

/* Heading */
.circle-image-widget-heading {
	font-family: "Rubik", sans-serif;
	font-weight: 700;
	font-size: 48px;
	color: #4d4d4d;
	line-height: 1.25;
	margin: 0;
}

/* Gradient text portion */
.circle-image-gradient-text {
	background: linear-gradient(90deg, #c8102e, #5d3fd3);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
}

/* Subheading */
.circle-image-widget-subheading {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #4d4d4d;
	line-height: 1.6;
}

/* Button Group */
.circle-image-widget-button-group {
	display: flex;
	gap: 15px;
	margin-top: 10px;
}

/* Button */
.circle-image-widget-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #4d4d4d;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 100px;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 20px;
	text-decoration: none !important;
	border: 2px solid #4d4d4d;
	border-style: solid;
	overflow: hidden;
	z-index: 1;
	transition: color 0.5s ease;
	cursor: pointer;
}

/* Button Hover Effect - Circular Reveal */
.circle-image-widget-button::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 100%;
	left: 50%;
	width: 300%;
	height: 300%;
	background-color: #ffffff;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.6s ease-out;
}

.circle-image-widget-button:hover {
	color: #4a4a4a;
}

.circle-image-widget-button:hover::before {
	transform: translate(-50%, -50%) scale(1);
}

/* --- Laptop (≤ 1024px) --- */
@media (max-width: 1024px) {
	.circle-image-widget-heading {
		font-size: 36px;
		line-height: 1.3;
	}

	.circle-image-widget {
		gap: 50px;
	}
}

/* --- Tablet & Mobile (≤ 768px) --- */
@media (max-width: 768px) {
	.circle-image-widget {
		flex-direction: column;
		align-items: center;
		width: auto;
		max-width: none;
		height: auto;
	}

	/* Reset reverse layout on mobile */
	.circle-image-widget.layout-reverse {
		flex-direction: column;
	}

	/* Top side: Column Layout */
	.circle-image-widget-right {
		width: 100%;
		order: 1;
		align-items: flex-start;
		padding: 0;
		text-align: left;
	}

	/* Bottom side: circle image */
	.circle-image-widget-left {
		width: 100%;
		order: 2;
	}

	/* Circle image */
	.circle-widget-image {
		height: auto;
	}

	/* Subheading */
	.circle-image-widget-subheading {
		line-height: 1.5;
	}

	/* Button */
	.circle-image-widget-button {
		font-size: 16px;
	}
}

/* --- Small Mobile (≤430px) --- */
@media (max-width: 430px) {
	.circle-image-widget {
		width: auto;
		max-width: none;
		flex-direction: column;
		align-items: center;
	}

	/* Bottom side: circle image */
	.circle-image-widget-left {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Image scale */
	.circle-widget-image {
		height: auto;
		max-width: 100%;
		object-fit: cover;
	}
}
