/* ============================================================
   ZNHS HOME — Custom styles & animations
   ============================================================ */

/* --- Google Fonts for homepage --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;600;700&family=Source+Sans+3:wght@400;600&family=Oswald:wght@700&display=swap');

/* ============================================================
   HERO SECTION
   ============================================================ */

/* Hero section */
.elementor-element-znhs-hero-section {
	position: relative;
	overflow: hidden;
}

/* Hero content — left aligned */
.znhs-hero-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	text-align: left;
}

/* Title */
.znhs-hero-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 700;
	line-height: 1.15;
	color: #FFFFFF;
	margin: 0 0 16px 0;
	text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Subtitle */
.znhs-hero-sub {
	font-family: 'Source Sans 3', sans-serif;
	font-size: clamp(16px, 2.2vw, 20px);
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255,255,255,0.75);
	margin: 0 0 20px 0;
}

/* RCIC badge — pill, green bg, white text */
.znhs-hero-badge {
	display: inline-flex;
	align-items: center;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #FFFFFF;
	background: #1B7A3D;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 9999px;
	padding: 6px 18px;
	margin-bottom: 18px;
}

/* Stars + agrement row */
.znhs-hero-stars-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

/* Stars — dark yellow, larger */
.znhs-hero-stars {
	font-size: 22px;
	letter-spacing: 3px;
	color: #DAA520;
	line-height: 1;
}

/* CRIC agrement — green badge, white text */
.znhs-hero-agrement {
	display: inline-flex;
	align-items: center;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #FFFFFF;
	background: #1B7A3D;
	border-radius: 6px;
	padding: 5px 12px;
	white-space: nowrap;
}

/* Actions row */
.znhs-hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Both buttons — red bg, white text, invert on hover */
.znhs-hero-cta,
.znhs-hero-second {
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	background: #CC0000;
	color: #FFFFFF;
	font-family: 'Raleway', sans-serif;
	font-size: 15px;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.3s, color 0.3s, transform 0.3s;
}
.znhs-hero-cta {
	animation: znhs-cta-pulse 2.5s infinite;
}
.znhs-hero-cta:hover,
.znhs-hero-second:hover {
	background: #FFFFFF;
	color: #CC0000;
	transform: translateY(-2px);
}



/* Responsive */
@media (max-width: 768px) {
	.znhs-hero-title { font-size: 30px; }
	.znhs-hero-sub { font-size: 16px; }
	.znhs-hero-actions { flex-direction: column; width: 100%; }
	.znhs-hero-cta, .znhs-hero-second { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO — END
   ============================================================ */

/* ============================================================
   SHARED
   ============================================================ */
@keyframes znhs-cta-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(204,0,0,0.45); }
	70%  { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
	100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); }
}
.znhs-section { padding: 80px 24px; }
.znhs-container { max-width: 1200px; margin: 0 auto; }
.znhs-section-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	color: #1A1A2E;
	text-align: center;
	margin: 0 0 12px 0;
}
.znhs-section-sub {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 17px;
	color: #555770;
	text-align: center;
	max-width: 600px;
	margin: 0 auto 48px auto;
	line-height: 1.5;
}

/* ============================================================
   TRUST BANNER
   ============================================================ */
.znhs-trust {
	background: #FFFFFF;
	border-top: 1px solid #E2E6F0;
	border-bottom: 1px solid #E2E6F0;
	padding: 28px 24px;
	overflow: hidden;
}
.znhs-trust-label {
	text-align: center;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #555770;
	margin: 0 0 14px 0;
}
.znhs-trust-marquee { overflow: hidden; }
.znhs-trust-track {
	display: flex;
	gap: 40px;
	width: max-content;
	animation: znhs-marquee-scroll 28s linear infinite;
}
.znhs-trust-item {
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(26,26,46,0.7);
	white-space: nowrap;
}
@keyframes znhs-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============================================================
   VALUES
   ============================================================ */
.znhs-values { background: #F8F9FC; }
.znhs-values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.znhs-value-card {
	text-align: center;
	padding: 40px 24px;
	border-radius: 16px;
	background: #FFFFFF;
	border: 1px solid #E2E6F0;
	transition: box-shadow 0.6s, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s;
	opacity: 0;
	box-shadow: 0 0 0 rgba(0,48,135,0);
}
.znhs-value-card.is-visible {
	opacity: 1;
	box-shadow: 0 8px 40px rgba(0,48,135,0.12);
	border-color: #0057B8;
}
.znhs-slide-left { transform: translateX(-120px); }
.znhs-slide-left.is-visible { transform: translateX(0); }
.znhs-rise-up { transform: translateY(100px); }
.znhs-rise-up.is-visible { transform: translateY(0); }
.znhs-slide-right { transform: translateX(120px); }
.znhs-slide-right.is-visible { transform: translateX(0); }
/* Stagger delays */
.znhs-slide-left.is-visible { transition-delay: 0s; }
.znhs-rise-up.is-visible { transition-delay: 0.15s; }
.znhs-slide-right.is-visible { transition-delay: 0.3s; }
.znhs-value-icon {
	font-size: 52px;
	margin-bottom: 20px;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.znhs-value-card:hover .znhs-value-icon {
	transform: scale(1.2);
}
.znhs-value-card:hover {
	box-shadow: 0 20px 60px rgba(0,48,135,0.18) !important;
	border-color: #0057B8 !important;
	transform: translateY(-8px) !important;
	transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out !important;
}
.znhs-value-title {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #003087;
	margin: 0 0 12px 0;
}
.znhs-value-text {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 15px;
	color: #555770;
	line-height: 1.6;
	margin: 0;
}

/* ============================================================
   STATS
   ============================================================ */
.znhs-stats { background: #003087; }
.znhs-stats .znhs-section-title {
	color: #FFFFFF;
	margin-bottom: 48px;
}
.znhs-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255,255,255,0.05);
}
@media (min-width: 769px) {
	.znhs-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.znhs-stat {
	text-align: center;
	padding: 40px 20px;
	position: relative;
	border-right: 1px solid rgba(255,255,255,0.08);
}
.znhs-stat:last-child { border-right: none; }
.znhs-stat-bar {
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 3px;
	background: #CC0000;
	border-radius: 0 0 4px 4px;
}
.znhs-stat-num {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-size: clamp(44px, 8vw, 64px);
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1;
	margin-bottom: 10px;
}
.znhs-stat-num small {
	font-size: clamp(28px, 6vw, 40px);
	color: #FFFFFF;
	font-weight: 400;
	margin-left: 2px;
}
.znhs-stat-label {
	display: block;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255,255,255,0.6);
}

/* ============================================================
   SERVICES PREVIEW
   ============================================================ */
.znhs-services-preview { background: #F8F9FC; }
.znhs-services-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 24px;
}
@media (min-width: 640px) {
	.znhs-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.znhs-services-grid { grid-template-columns: repeat(3, 1fr); }
}
.znhs-svc-card {
	background: #FFFFFF;
	border-radius: 16px;
	border: 1px solid #E2E6F0;
	transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
	overflow: hidden;
}
.znhs-svc-img {
	height: 180px;
	overflow: hidden;
}
.znhs-svc-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.znhs-svc-card:hover .znhs-svc-img img {
	transform: scale(1.08);
}
.znhs-svc-body {
	padding: 24px;
}
.znhs-svc-card:hover {
	box-shadow: 0 12px 40px rgba(0,48,135,0.1);
	transform: translateY(-3px);
	border-color: #0057B8;
}
.znhs-svc-title {
	font-family: 'Raleway', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #003087;
	margin: 0 0 10px 0;
}
.znhs-svc-text {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 14px;
	color: #555770;
	line-height: 1.6;
	margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.znhs-testimonials { background: #EEF1F7; }
.znhs-testimonial-slider {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 800px;
	margin: 0 auto;
}
.znhs-test-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #E2E6F0;
	background: #FFFFFF;
	color: #003087;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}
.znhs-test-arrow:hover,
.znhs-test-arrow:active {
	background: #CC0000;
	color: #FFFFFF;
	border-color: #CC0000;
}
.znhs-testimonial-track {
	flex: 1;
	overflow: hidden;
}
.znhs-testimonial-inner {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.znhs-testimonial {
	min-width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	box-sizing: border-box;
}
.znhs-testimonials .znhs-section-title { margin-bottom: 40px; }
.znhs-test-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #E2E6F0;
	background: #FFFFFF;
	color: #003087;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}
.znhs-test-arrow:hover,
.znhs-test-arrow:active {
	background: #CC0000;
	color: #FFFFFF;
	border-color: #CC0000;
}
.znhs-testimonial-avatar {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #CC0000;
	margin-bottom: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	flex-shrink: 0;
}
.znhs-test-arrow:hover {
	background: #CC0000;
	color: #FFFFFF;
	border-color: #CC0000;
}
.znhs-test-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}
.znhs-test-dot {
	width: 10px;
	height: 10px;
	border-radius: 10px;
	border: none;
	background: #E2E6F0;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s;
}
.znhs-test-dot.active {
	width: 28px;
	background: #CC0000;
}

/* ============================================================
   EMERGENCY CTA
   ============================================================ */
.znhs-emergency {
	background: #CC0000;
	text-align: center;
	padding: 64px 24px;
}
.znhs-emergency-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 12px 0;
}
.znhs-emergency-text {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 17px;
	color: rgba(255,255,255,0.85);
	max-width: 600px;
	margin: 0 auto 28px auto;
	line-height: 1.5;
}
.znhs-emergency .znhs-hero-cta {
	background: #FFFFFF;
	color: #CC0000;
	animation: none;
}
.znhs-emergency .znhs-hero-cta:hover {
	background: #1A1A2E;
	color: #FFFFFF;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
	.znhs-values-grid { grid-template-columns: 1fr; }
	.znhs-section { padding: 48px 16px; }
}
