/* ==========================================================================
   Patient Care Home BD - Modern Healthcare Hero Section Styles
   ========================================================================== */

.pch-hero-section {
	position: relative;
	width: 100%;
	background: #ffffff;
	background: radial-gradient(85% 65% at 50% -10%, #eaf1fd 0%, #f6f9fe 50%, #ffffff 100%);
	overflow: hidden;
	color: #0f172a;
	padding: clamp(52px, 7vw, 92px) 0 clamp(48px, 6vw, 84px) 0;
	margin: 0 !important;
	box-sizing: border-box;
	text-align: center;
}

/* Ambient glow orb for high-end SaaS / healthcare feel */
.pch-hero-ambient-glow {
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: min(1000px, 92vw);
	height: 380px;
	background: radial-gradient(ellipse at center, rgba(186, 215, 255, 0.45) 0%, rgba(224, 238, 255, 0.15) 55%, transparent 75%);
	pointer-events: none;
	z-index: 0;
	filter: blur(40px);
}

.pch-hero-container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 3.5vw, 36px);
	padding-right: clamp(16px, 3.5vw, 36px);
	box-sizing: border-box;
}

.pch-hero-content {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 1. Top Pill Trust Rating Badge */
.pch-hero-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	background: rgba(255, 255, 255, 0.94) !important;
	border: 1px solid #e2e8f0 !important;
	padding: 7px 18px !important;
	border-radius: 9999px !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
	margin: 0 0 clamp(18px, 2.4vw, 24px) 0 !important;
	box-sizing: border-box !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	animation: pchFadeInUp 0.6s ease-out forwards;
}

.pch-hero-stars {
	color: #f59e0b;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 2px;
	display: inline-flex;
	filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.25));
}

.pch-hero-badge-text {
	font-family: inherit;
	font-size: clamp(12.5px, 1vw, 13.5px);
	font-weight: 600;
	color: #1e293b;
	letter-spacing: 0.1px;
}

/* 2. Main Headline with Dual-Font Editorial Styling */
.pch-hero-title {
	font-family: var(--wp--preset--font-family--plus-jakarta-sans, 'Plus Jakarta Sans', sans-serif) !important;
	font-size: clamp(32px, 4.8vw, 62px) !important;
	font-weight: 750 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.025em !important;
	color: #0f172a !important;
	margin: 0 0 clamp(16px, 2vw, 22px) 0 !important;
	text-align: center !important;
	animation: pchFadeInUp 0.7s ease-out forwards;
	word-break: break-word;
}

.pch-hero-title-line {
	display: block;
}

/* Refined Serif Italic Accent (e.g. "quality healthcare") */
.pch-hero-serif-accent,
.pch-hero-title em,
.pch-hero-title i {
	font-family: 'Playfair Display', 'Lora', Georgia, 'Times New Roman', serif !important;
	font-style: italic !important;
	font-weight: 500 !important;
	color: #0f172a !important;
	letter-spacing: -0.01em;
	padding: 0 2px;
}

/* 3. Subheadline Description */
.pch-hero-desc {
	font-family: inherit !important;
	font-size: clamp(15px, 1.25vw, 17.5px) !important;
	line-height: 1.62 !important;
	color: #64748b !important;
	max-width: 650px !important;
	margin: 0 auto clamp(24px, 3.2vw, 36px) auto !important;
	font-weight: 400 !important;
	text-align: center !important;
	animation: pchFadeInUp 0.8s ease-out forwards;
}

/* 4. Action CTA Button (Pill shaped, vibrant royal blue) */
.pch-hero-actions {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	margin-bottom: 0 !important;
	animation: pchFadeInUp 0.9s ease-out forwards;
}

.pch-hero-btn-primary,
.pch-hero-btn-wrap .wp-element-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	background-color: #09dcf8 !important;
	background: linear-gradient(135deg, #09dcf8 0%, #089eb2 100%) !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: clamp(14.5px, 1.1vw, 16px) !important;
	font-weight: 600 !important;
	padding: 13px 36px !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: 0 10px 24px -4px #089eb2 !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer !important;
	line-height: 1.3 !important;
}

.pch-hero-btn-primary:hover,
.pch-hero-btn-wrap .wp-element-button:hover {
	transform: translateY(-2px) !important;
	background: linear-gradient(135deg, #089eb2 0%, #09dcf8 100%) !important;
	box-shadow: 0 14px 30px -4px rgba(37, 117, 252, 0.55) !important;
	color: #ffffff !important;
}

.pch-hero-btn-primary:active,
.pch-hero-btn-wrap .wp-element-button:active {
	transform: translateY(0) !important;
	box-shadow: 0 6px 16px -2px rgba(37, 117, 252, 0.4) !important;
}

/* 5. Triple Image Cards Showcase */
.pch-hero-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: clamp(16px, 2.2vw, 26px) !important;
	width: 100% !important;
	max-width: 1260px !important;
	margin: clamp(38px, 5vw, 56px) auto 0 auto !important;
	box-sizing: border-box !important;
	animation: pchFadeInUp 1s ease-out forwards;
}

.pch-hero-card {
	position: relative !important;
	border-radius: clamp(18px, 2.2vw, 26px) !important;
	overflow: hidden !important;
	background-color: #f1f5f9 !important;
	box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
	aspect-ratio: 4 / 3 !important;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pch-hero-card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 20px 42px -8px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(37, 117, 252, 0.18) !important;
}

.pch-hero-card-img,
.pch-hero-card img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pch-hero-card:hover .pch-hero-card-img,
.pch-hero-card:hover img {
	transform: scale(1.045) !important;
}

/* Subtle corner gradient sheen over cards */
.pch-hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Animations */
@keyframes pchFadeInUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Styles */
@media (max-width: 992px) {
	.pch-hero-section {
		padding: 44px 0 40px 0;
	}

	.pch-hero-title {
		font-size: clamp(28px, 5.5vw, 42px) !important;
	}

	.pch-hero-gallery {
		gap: 14px !important;
		margin-top: 36px !important;
	}

	.pch-hero-card {
		border-radius: 18px !important;
	}
}

@media (max-width: 768px) {
	.pch-hero-section {
		padding: 38px 0 32px 0;
	}

	.pch-hero-desc {
		font-size: 15px !important;
		padding: 0 12px;
	}

	/* Smooth touch scroll carousel on mobile screens */
	.pch-hero-gallery {
		display: flex !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory !important;
		gap: 14px !important;
		padding: 8px 16px 16px 16px !important;
		margin-left: -16px !important;
		margin-right: -16px !important;
		width: calc(100% + 32px) !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
	}

	.pch-hero-gallery::-webkit-scrollbar {
		display: none;
	}

	.pch-hero-card {
		flex: 0 0 78% !important;
		max-width: 320px !important;
		scroll-snap-align: center !important;
		aspect-ratio: 4 / 3 !important;
	}
}

@media (max-width: 480px) {
	.pch-hero-title {
		font-size: 28px !important;
	}

	.pch-hero-badge {
		padding: 6px 14px !important;
		font-size: 12px !important;
	}

	.pch-hero-btn-primary {
		width: 100% !important;
		max-width: 280px !important;
	}

	.pch-hero-card {
		flex: 0 0 85% !important;
	}
}


/* ==========================================================================
   Hero Section 2 - Compassionate Home Care (Custom Pattern)
   ========================================================================== */
.pch-hero-2-cover {
	position: relative !important;
	min-height: clamp(540px, 75vh, 720px) !important;
	background-color: #16365c !important;
	display: flex !important;
	align-items: center !important;
	padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 50px) !important;
	box-sizing: border-box !important;
}

/* Rich deep blue cinematic gradient overlay */
.pch-hero-2-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
			rgba(17, 43, 76, 0.96) 0%,
			rgba(20, 50, 88, 0.92) 42%,
			rgba(23, 58, 100, 0.75) 68%,
			rgba(26, 65, 112, 0.45) 100%);
	z-index: 2;
	pointer-events: none;
}

.pch-hero-2-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1340px;
	margin: 0 auto;
}

.pch-hero-2-content {
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 1. Pill Accredited Badge */
.pch-hero-2-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 9999px !important;
	padding: 8px 18px !important;
	color: #ffffff !important;
	font-family: inherit;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.3px;
	width: fit-content;
	margin: 0 0 4px 0 !important;
}

.pch-hero-2-heart {
	color: #ef4444;
	font-size: 15px;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.4));
}

/* 2. Main Heading */
.pch-hero-2-title {
	font-family: inherit !important;
	font-size: clamp(34px, 4.5vw, 56px) !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	line-height: 1.15 !important;
	letter-spacing: -0.5px !important;
	margin: 0 !important;
}

.pch-hero-2-serif,
.pch-hero-2-title em,
.pch-hero-2-title i {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
	font-style: italic !important;
	font-weight: 400 !important;
	color: #f8fafc !important;
	display: inline-block;
	letter-spacing: 0.2px;
}

/* 3. Description */
.pch-hero-2-desc {
	font-family: inherit !important;
	font-size: clamp(15px, 1.2vw, 17px) !important;
	color: #e2e8f0 !important;
	line-height: 1.65 !important;
	margin: 0 !important;
	max-width: 580px;
}

/* 4. Action Row (Button + Phone Hotline) */
.pch-hero-2-actions {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 24px !important;
	margin-top: 8px !important;
}

/* Lime-green assessment button */
.pch-hero-2-btn .wp-element-button {
	background-color: #d2e896 !important;
	background: linear-gradient(135deg, #d6eb9a 0%, #c4df82 100%) !important;
	color: #13263d !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	padding: 14px 30px !important;
	border-radius: 9999px !important;
	border: none !important;
	box-shadow: 0 10px 25px -4px rgba(210, 232, 150, 0.4) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-decoration: none !important;
}

.pch-hero-2-btn .wp-element-button:hover {
	background-color: #e2f5ab !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -4px rgba(210, 232, 150, 0.55) !important;
	color: #0b1a2c !important;
}

.pch-hero-2-btn .pch-hero-2-arrow {
	display: inline-block;
	transition: transform 0.25s ease;
	font-size: 1.15em;
}

.pch-hero-2-btn .wp-element-button:hover .pch-hero-2-arrow {
	transform: translateX(4px);
}

/* Phone Hotline in Hero 2 */
.pch-hero-2-phone {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
}

.pch-hero-2-phone a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.pch-hero-2-phone a::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-color: #d2e896;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
	flex-shrink: 0;
	transition: background-color 0.2s ease;
}

.pch-hero-2-phone a:hover {
	color: #d2e896 !important;
}

.pch-hero-2-phone a:hover::before {
	background-color: #ffffff;
}

.pch-hero-2-phone-icon {
	display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.pch-hero-2-cover {
		padding: 60px 20px !important;
		min-height: auto !important;
	}

	.pch-hero-2-cover::before {
		background: linear-gradient(180deg,
				rgba(17, 43, 76, 0.95) 0%,
				rgba(20, 50, 88, 0.92) 60%,
				rgba(23, 58, 100, 0.88) 100%) !important;
	}

	.pch-hero-2-actions {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 16px !important;
	}

	.pch-hero-2-btn .wp-element-button {
		width: 100%;
		justify-content: center;
	}
}