/* ===== Individual Case Study Page - Styles & Scroll Reveal ===== */

/* Hero stats with animation-ready state */
.case-study-single .stat-highlight {
	text-align: center;
	padding: 1.5rem;
	border-radius: 16px;
	background: rgba(122, 30, 79, 0.05);
	border: 1px solid rgba(122, 30, 79, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-single .stat-highlight:hover {
	transform: translateY(-5px);
	background: rgba(122, 30, 79, 0.08);
	box-shadow: 0 12px 30px rgba(122, 30, 79, 0.12);
}

/* Challenge section */
.case-study-single .icon-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.case-study-single .icon-circle i {
	font-size: 1.5rem;
}

.case-study-single .challenge-points .d-flex:hover .icon-circle {
	transform: scale(1.08);
	box-shadow: 0 4px 15px rgba(122, 30, 79, 0.2);
}

/* Metric grid (before/after) */
.case-study-single .metric-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.case-study-single .metric-item {
	padding: 1rem 1.25rem;
	background: #f8f9fa;
	border-radius: 12px;
	text-align: center;
	transition: all 0.3s ease;
}

.case-study-single .metric-item:hover {
	background: rgba(122, 30, 79, 0.05);
	transform: translateY(-2px);
}

.case-study-single .metric-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
}

.case-study-single .metric-label {
	font-size: 0.8rem;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Strategy cards */
.case-study-single .strategy-card {
	background: white;
	border-radius: 16px;
	padding: 2rem;
	border: 1px solid #e9ecef;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.case-study-single .strategy-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(122, 30, 79, 0.12);
	border-color: rgba(122, 30, 79, 0.15);
}

.case-study-single .strategy-icon {
	width: 72px;
	height: 72px;
	background: rgba(122, 30, 79, 0.08);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	transition: all 0.3s ease;
}

.case-study-single .strategy-card:hover .strategy-icon {
	background: rgba(122, 30, 79, 0.15);
	transform: scale(1.05);
}

.case-study-single .strategy-icon i {
	font-size: 2rem;
}

/* Result cards */
.case-study-single .result-card {
	background: white;
	border-radius: 16px;
	padding: 2rem;
	border: 1px solid #e9ecef;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.case-study-single .result-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(122, 30, 79, 0.12);
}

.case-study-single .result-icon {
	width: 72px;
	height: 72px;
	background: rgba(122, 30, 79, 0.08);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	transition: all 0.3s ease;
}

.case-study-single .result-icon i {
	font-size: 2rem;
}

.case-study-single .result-card:hover .result-icon {
	background: rgba(122, 30, 79, 0.15);
}

/* Testimonial block */
.case-study-single .bg-white.rounded-4.p-8 {
	border: 1px solid #e9ecef;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

.case-study-single .bg-white.rounded-4.p-8:hover {
	box-shadow: 0 15px 45px rgba(122, 30, 79, 0.08);
}

.case-study-single .blockquote-footer {
	color: #7A1E4F !important;
	font-weight: 600;
}

/* CTA section subtle animation */
.case-study-single .wrapper.bg-grape .btn {
	transition: all 0.3s ease;
}

.case-study-single .wrapper.bg-grape .btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb styling */
.case-study-single .breadcrumb-item a {
	transition: color 0.2s ease;
}

.case-study-single .breadcrumb-item a:hover {
	color: #7A1E4F !important;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 991px) {
	.content-wrapper.case-study-single {
		overflow-x: hidden;
	}
}

@media (max-width: 767px) {
	.case-study-single .container {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		max-width: 100%;
	}

	.case-study-single .display-2 {
		font-size: 1.75rem !important;
		line-height: 1.25;
	}

	.case-study-single .display-4 {
		font-size: 1.5rem !important;
	}

	.case-study-single .lead.fs-20 {
		font-size: 1rem !important;
	}

	.case-study-single .stat-highlight {
		padding: 1rem;
	}

	.case-study-single .stat-highlight h3 {
		font-size: 1.75rem !important;
	}

	.case-study-single .metric-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.case-study-single .metric-item {
		padding: 0.875rem 1rem;
	}

	.case-study-single .metric-value {
		font-size: 1.35rem;
	}

	.case-study-single .strategy-card,
	.case-study-single .result-card {
		padding: 1.5rem;
	}

	.case-study-single .strategy-icon,
	.case-study-single .result-icon {
		width: 56px;
		height: 56px;
	}

	.case-study-single .strategy-icon i,
	.case-study-single .result-icon i {
		font-size: 1.5rem;
	}

	.case-study-single .icon-circle {
		width: 44px;
		height: 44px;
	}

	.case-study-single .icon-circle i {
		font-size: 1.25rem;
	}

	.case-study-single .challenge-points .d-flex {
		flex-wrap: wrap;
	}

	.case-study-single .bg-white.rounded-4.p-8 {
		padding: 1.5rem !important;
	}

	.case-study-single img.img-fluid {
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 575px) {
	.case-study-single .display-2 {
		font-size: 1.5rem !important;
	}

	.case-study-single .display-4 {
		font-size: 1.35rem !important;
	}

	.case-study-single .stat-highlight h3 {
		font-size: 1.5rem !important;
	}

	.case-study-single .breadcrumb {
		font-size: 0.85rem;
	}
}
.widget-title {
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #ffffff !important;
}

footer .fs-sm,
footer address,
footer p,
footer li a {
    font-size: 0.85rem !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6) !important;
}
/* Hover effect */
.hover-grape:hover {
    color: #7a1e4f !important;
}
