/* Theta HVAC - Portfolio Carousel Component */
.th-pcarousel-wrap {
	position: relative;
	width: 100%;
	padding: 10px 0 45px 0;
	box-sizing: border-box;
}

.th-pcarousel-container {
	width: 100%;
	overflow: hidden;
	padding-top: 10px;
	padding-bottom: 15px;
	margin-top: -10px;
	margin-bottom: -15px;
}

/* Portfolio Card */
.th-pcard {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	box-sizing: border-box;
}

.th-pcard:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Thumbnail & Badge */
.th-pcard-thumb {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background-color: #e5e7eb;
}

.th-pcard-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.th-pcard:hover .th-pcard-thumb img {
	transform: scale(1.06);
}

.th-pcard-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #9ca3af;
	font-size: 40px;
}

.th-pcard-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background-color: #00966B;
	color: #ffffff;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Card Body */
.th-pcard-body {
	padding: 20px 20px 24px 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.th-pcard-title {
	font-size: 18px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.th-pcard-desc {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0;
	flex-grow: 1;
}

/* Navigation Arrows */
.th-pcarousel-arrow {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #00966B;
	color: #ffffff;
	border: none;
	outline: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.th-pcarousel-arrow:hover {
	background-color: #007a56;
	transform: translateY(-50%) scale(1.08);
}

.th-pcarousel-arrow-prev {
	left: -20px;
}

.th-pcarousel-arrow-next {
	right: -20px;
}

@media (max-width: 1024px) {
	.th-pcarousel-arrow-prev {
		left: 5px;
	}
	.th-pcarousel-arrow-next {
		right: 5px;
	}
}

/* Pagination Dots */
.th-pcarousel-wrap .swiper-pagination {
	position: absolute;
	bottom: 0 !important;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	z-index: 10;
}

.th-pcarousel-wrap .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 !important;
	background-color: #d1d5db;
	opacity: 1;
	border-radius: 5px;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.th-pcarousel-wrap .swiper-pagination-bullet-active {
	background-color: #00966B;
	width: 26px;
	border-radius: 6px;
}
