/**
 * Santosh Hospital Group — Widget Stylesheet
 * All CSS extracted from index.html and SH-Santosh-Hospital-Home.html.
 * Namespaced with sh- prefix to prevent theme/plugin conflicts.
 * No Tailwind CDN dependency.
 */

/* ==========================================================================
   A. CSS Custom Properties
   ========================================================================== */
:root {
	--sh-primary: #FF6B35;
	--sh-primary-alt: #fb7a1e;
	--sh-secondary: #fb923c;
	--sh-emergency: #dc2626;
	--sh-dark-bg: #111827;
	--sh-header-height: 64px;
	--sh-radius: 8px;
	--sh-radius-md: 12px;
	--sh-radius-lg: 16px;
	--sh-radius-xl: 20px;
	--sh-radius-2xl: 24px;
	--sh-transition: all 0.3s ease;
}

/* ==========================================================================
   B. Glass Morphism
   ========================================================================== */
.sh-glass-morph {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.sh-glass-card {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   C. Hero Carousel
   ========================================================================== */
/*
 * The hero must be truly full-viewport-width.
 * When placed in an Elementor section, set that section to:
 *   Content Width → Full Width  +  Stretch Section → Yes
 * The CSS below additionally strips Elementor widget container padding.
 */
.elementor-widget-sh-hero-carousel,
.elementor-widget-sh-hero-carousel > .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.sh-hero-carousel {
	position: relative;
	margin: 0;
	width: 100%;
	height: 100vh;
	min-height: 600px;
}

.sh-hero-slides-clip {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.sh-hero-carousel .carousel-container {
	display: flex;
	transition: transform 0.8s ease-in-out;
	width: 100%;
	height: 100%;
	cursor: grab;
}

.sh-hero-carousel .carousel-container:active {
	cursor: grabbing;
}

.sh-hero-carousel .carousel-track {
	display: flex;
	flex-shrink: 0; /* Prevent flex from shrinking the track — must stay at 300% */
	width: 300%; /* 3 slides = 300% */
	height: 100%;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sh-hero-carousel .carousel-item {
	flex: 0 0 33.333%;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.sh-hero-carousel .carousel-navigation {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 107, 53, 0.9);
	color: #fff;
	border: none;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--sh-transition);
	z-index: 20;
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
	font-size: 24px;
}

.sh-hero-carousel .carousel-navigation:hover {
	background: rgba(234, 88, 12, 0.95);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.sh-hero-carousel .carousel-navigation:focus {
	outline: 2px solid var(--sh-primary);
	outline-offset: 2px;
}

.sh-hero-carousel .carousel-prev { left: 30px; }
.sh-hero-carousel .carousel-next { right: 30px; }

.sh-hero-carousel .carousel-pagination {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	gap: 1rem;
	z-index: 20;
}

.sh-hero-carousel .pagination-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: var(--sh-transition);
	border: 2px solid rgba(255, 255, 255, 0.6);
}

.sh-hero-carousel .pagination-dot.active {
	background: var(--sh-primary);
	border-color: rgba(255, 255, 255, 0.8);
	transform: scale(1.3);
}

.sh-hero-carousel .pagination-dot:hover {
	background: rgba(255, 107, 53, 0.8);
	transform: scale(1.2);
}

.sh-hero-carousel .pagination-dot:focus {
	outline: 2px solid var(--sh-primary);
	outline-offset: 2px;
}

.sh-hero-slide-content {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.3) 100%);
	display: flex;
	align-items: center;
}

.sh-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	width: 100%;
}

.sh-hero-card {
	padding: 2rem;
	border-radius: var(--sh-radius-2xl);
	margin-top: 40px;
}

.sh-hero-title {
	font-size: 3rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.sh-hero-subtitle {
	font-size: 1.25rem;
	color: #374151;
	margin-bottom: 1rem;
}

.sh-hero-desc {
	font-size: 1.125rem;
	color: #4B5563;
	margin-bottom: 2rem;
}

.sh-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.sh-hero-form-col {
	display: flex;
	justify-content: flex-end;
}

.sh-quick-form {
	padding: 1.5rem;
	border-radius: var(--sh-radius-xl);
	max-width: 360px;
	width: 100%;
}

.sh-quick-form h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin-bottom: 1rem;
}

.sh-quick-form input,
.sh-quick-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: var(--sh-radius);
	margin-bottom: 0.75rem;
	font-size: 1rem;
	color: #374151;
	background: #fff;
	box-sizing: border-box;
}

.sh-quick-form input:focus,
.sh-quick-form select:focus {
	outline: none;
	border-color: var(--sh-primary);
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

@media (max-width: 768px) {
	.sh-hero-carousel { min-height: 500px; }

	.sh-hero-carousel .carousel-navigation {
		width: 50px;
		height: 50px;
		font-size: 18px;
	}

	.sh-hero-carousel .carousel-prev { left: 15px; }
	.sh-hero-carousel .carousel-next { right: 15px; }

	.sh-hero-carousel .carousel-pagination { bottom: 24px; }

	.sh-hero-carousel .pagination-dot {
		width: 12px;
		height: 12px;
	}

	.sh-hero-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.sh-hero-title { font-size: 2rem; }
	.sh-hero-form-col { display: none; }
}

/* ==========================================================================
   D. Shared Carousel (Departments & Doctors)
   ========================================================================== */
/*
 * KEY LAYOUT NOTES — read before changing:
 *
 * The outer wrapper (.sh-departments-carousel) must NOT have overflow:hidden.
 * The arrow buttons are absolutely positioned at left:-42px / right:-42px,
 * so any overflow:hidden on the wrapper would clip them.
 *
 * overflow:hidden belongs ONLY on .carousel-container — the sliding viewport.
 * The wrapper's margin:0 60px creates the visual gutter where the arrows live.
 *
 * Track width drives responsive behaviour; item flex stays calc(100%/6) always
 * so the JS translateX formula  (100 / totalItems)%  stays correct at every
 * breakpoint. Only the track width changes per breakpoint:
 *
 *   Desktop (3 visible) — track 200%: item = (1/6)×200% = 33.33% of container
 *   Tablet  (2 visible) — track 300%: item = (1/6)×300% = 50%   of container
 *   Mobile  (1 visible) — track 600%: item = (1/6)×600% = 100%  of container
 */
.sh-departments-carousel,
.sh-doctors-carousel {
	position: relative;
	overflow: visible;  /* Never clip — arrows live outside the container */
	margin: 0 60px;     /* Gutter space so arrows don't overlap content */
}

/* Strip Elementor widget-container padding so the carousel uses full width */
.elementor-widget-sh-departments-carousel > .elementor-widget-container,
.elementor-widget-sh-doctors-carousel > .elementor-widget-container {
	overflow: visible !important;
}

.sh-departments-carousel .carousel-container,
.sh-doctors-carousel .carousel-container {
	display: flex;
	width: 100%;
	overflow: hidden;   /* Only clip here — the actual sliding viewport */
	cursor: grab;
}

.sh-departments-carousel .carousel-container:active,
.sh-doctors-carousel .carousel-container:active {
	cursor: grabbing;
}

.sh-departments-carousel .carousel-track,
.sh-doctors-carousel .carousel-track {
	display: flex;
	width: 200%; /* Default desktop: 6 items, 3 visible */
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sh-departments-carousel .carousel-item,
.sh-doctors-carousel .carousel-item {
	flex: 0 0 calc(100% / 6); /* Always 1/6 of track — do not change per breakpoint */
	padding: 0 0.75rem;
	box-sizing: border-box;
}

/* Arrows — positioned relative to the wrapper (overflow:visible) */
.sh-departments-carousel .carousel-navigation,
.sh-doctors-carousel .carousel-navigation {
	position: absolute;
	top: 50%;
	transform: translateY(-65%); /* Offset above mid to clear the pagination dots */
	background: var(--sh-primary);
	color: #fff;
	border: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--sh-transition);
	z-index: 10;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
	font-size: 20px;
}

.sh-departments-carousel .carousel-navigation:hover,
.sh-doctors-carousel .carousel-navigation:hover {
	background: #ea580c;
	transform: translateY(-65%) scale(1.1);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.sh-departments-carousel .carousel-navigation:focus,
.sh-doctors-carousel .carousel-navigation:focus {
	outline: 2px solid var(--sh-primary);
	outline-offset: 2px;
}

/* Arrows are outside the carousel-container — centred in the 60px gutter */
.sh-departments-carousel .carousel-prev,
.sh-doctors-carousel .carousel-prev { left: -42px; }

.sh-departments-carousel .carousel-next,
.sh-doctors-carousel .carousel-next { right: -42px; }

.sh-departments-carousel .carousel-pagination,
.sh-doctors-carousel .carousel-pagination {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.sh-departments-carousel .pagination-dot,
.sh-doctors-carousel .pagination-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(255, 107, 53, 0.3);
	cursor: pointer;
	transition: var(--sh-transition);
	border: 2px solid transparent;
}

.sh-departments-carousel .pagination-dot.active,
.sh-doctors-carousel .pagination-dot.active {
	background: var(--sh-primary);
	transform: scale(1.2);
	border-color: rgba(255, 107, 53, 0.2);
}

.sh-departments-carousel .pagination-dot:hover,
.sh-doctors-carousel .pagination-dot:hover {
	background: rgba(255, 107, 53, 0.7);
	transform: scale(1.1);
}

.sh-departments-carousel .pagination-dot:focus,
.sh-doctors-carousel .pagination-dot:focus {
	outline: 2px solid var(--sh-primary);
	outline-offset: 2px;
}

/* Tablet: 2 items — only the track width changes */
@media (min-width: 769px) and (max-width: 1024px) {
	.sh-departments-carousel .carousel-track,
	.sh-doctors-carousel .carousel-track { width: 300%; }
}

/* Mobile: 1 item — only the track width changes */
@media (max-width: 768px) {
	.sh-departments-carousel,
	.sh-doctors-carousel { margin: 0 44px; }

	.sh-departments-carousel .carousel-track,
	.sh-doctors-carousel .carousel-track { width: 600%; }

	.sh-departments-carousel .carousel-navigation,
	.sh-doctors-carousel .carousel-navigation {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.sh-departments-carousel .carousel-prev,
	.sh-doctors-carousel .carousel-prev { left: -30px; }

	.sh-departments-carousel .carousel-next,
	.sh-doctors-carousel .carousel-next { right: -30px; }
}

/* ==========================================================================
   E. Department Card
   ========================================================================== */
.sh-dept-card {
	padding: 1.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: var(--sh-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.sh-dept-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.sh-dept-icon {
	font-size: 1.5rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	margin-bottom: 1rem;
}

.sh-dept-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin-top: 0;
	margin-bottom: 0.5rem;
	line-height: 1.75rem;
}

.sh-dept-desc {
	font-size: 1rem;
	color: #4B5563;
	margin-top: 0;
	margin-bottom: 1rem;
	flex: 1;
}

.sh-dept-link {
	font-size: 1rem;
	color: var(--sh-primary);
	font-weight: 500;
	text-decoration: none;
	transition: var(--sh-transition);
	margin-top: 0;
	margin-bottom: 0;
}

.sh-dept-link:hover { color: #ea580c; }

/* ==========================================================================
   F. Doctor Card
   ========================================================================== */
.sh-doctor-card {
	padding: 1.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: var(--sh-transition);
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.sh-doctor-card:hover {
	transform: scale(1.05);
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.sh-doctor-card > a {
	display: block;
	text-decoration: none;
}

.sh-doctor-photo {
	width: 96px;
	height: 96px !important; /* Override Elementor img { height: auto } */
	border-radius: 50% !important; /* Override Elementor img { border-radius: 0 } */
	object-fit: cover;
	margin: 0 auto 1rem;
	display: block;
}

.sh-doctor-name {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin-top: 0;
	margin-bottom: 0.25rem;
	line-height: 1.75rem;
}

.sh-doctor-specialty {
	font-size: 1rem;
	color: var(--sh-primary);
	font-weight: 500;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.sh-doctor-bio {
	font-size: 0.875rem;
	color: #4B5563;
	margin-top: 0;
	margin-bottom: 1rem;
	flex: 1;
}

/* ==========================================================================
   G. Service Cards
   ========================================================================== */
.sh-service-card {
	padding: 1.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: var(--sh-transition);
	display: flex;
	flex-direction: column;
}

.sh-service-card:hover {
	transform: scale(1.05);
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.sh-svc-icon-wrap {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.sh-svc-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #111827;
	margin-top: 0;
	margin-bottom: 0.5rem;
	line-height: 1.75rem;
}

.sh-svc-desc {
	color: #4B5563;
	font-size: 1rem;
	margin-top: 0;
	margin-bottom: 0;
}

/* ==========================================================================
   H. Statistics Section
   ========================================================================== */
.sh-stats-section {
	padding: 4rem 0;
}

.sh-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.sh-stat-item {
	text-align: center;
	padding: 1.5rem;
}

.sh-stat-icon {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
	display: block;
}

.sh-stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--sh-primary);
	display: block;
}

.sh-stat-label {
	font-size: 0.95rem;
	color: #6B7280;
	margin-top: 0.25rem;
}

@media (max-width: 768px) {
	.sh-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.sh-stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   I. Testimonials
   ========================================================================== */
.sh-testimonials-grid {
	display: grid;
	gap: 1.5rem;
}

.sh-testimonials-grid.cols-1 { grid-template-columns: 1fr; }
.sh-testimonials-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sh-testimonials-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.sh-testimonial-card {
	padding: 1.5rem;
	border-radius: var(--sh-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

.sh-star-rating {
	display: flex;
	gap: 2px;
	margin-bottom: 0.75rem;
	color: #fbbf24;
	font-size: 1.1rem;
}

.sh-testimonial-text {
	font-style: italic;
	color: #4B5563;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.sh-testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.sh-testimonial-author img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.sh-author-name {
	font-weight: 600;
	color: #111827;
	font-size: 0.95rem;
}

.sh-author-desig {
	font-size: 0.8rem;
	color: #9CA3AF;
}

@media (max-width: 768px) {
	.sh-testimonials-grid.cols-2,
	.sh-testimonials-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   J. Team Section
   ========================================================================== */
.sh-team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.sh-team-card {
	text-align: center;
	padding: 1.5rem;
	border-radius: var(--sh-radius-xl);
	border: 2px solid #e5e7eb;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: var(--sh-transition);
}

.sh-team-card:hover {
	border-color: var(--sh-primary-alt);
	box-shadow: 0 12px 30px rgba(251, 122, 30, 0.15);
	transform: translateY(-6px);
}

.sh-team-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1rem;
	display: block;
	border: 3px solid rgba(255, 107, 53, 0.2);
}

.sh-team-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 0.25rem;
}

.sh-team-role {
	font-size: 0.9rem;
	color: var(--sh-primary);
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.sh-team-bio {
	font-size: 0.85rem;
	color: #6B7280;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.sh-team-socials {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.sh-team-social-link {
	width: 36px;
	height: 36px;
	border-radius: var(--sh-radius);
	background: rgba(255, 107, 53, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sh-primary);
	text-decoration: none;
	transition: var(--sh-transition);
	font-size: 1rem;
}

.sh-team-social-link:hover {
	background: var(--sh-primary);
	color: #fff;
}

@media (max-width: 1024px) {
	.sh-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.sh-team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   K. Header
   ========================================================================== */
/*
 * The header widget is used inside an HFE Header template.
 * HFE renders the template before page content — the nav is fixed/sticky.
 */
.elementor-widget-sh-site-header,
.elementor-widget-sh-site-header > .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.sh-header-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--sh-header-height);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	transition: background 0.3s ease;
}

.sh-header-nav.scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.sh-nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sh-header-logo {
	height: 40px;
	width: auto;
	display: block;
}

.sh-nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.sh-nav-link {
	color: #374151;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

.sh-nav-link:hover,
.sh-nav-link.sh-nav-active {
	color: var(--sh-primary);
}

.sh-nav-cta-btn {
	display: inline-block;
	background: var(--sh-primary);
	color: #fff;
	padding: 0.5rem 1.25rem;
	border-radius: var(--sh-radius);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	transition: var(--sh-transition);
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.sh-nav-cta-btn:hover {
	background: #ea580c;
	color: #fff;
	transform: translateY(-1px);
}

.sh-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: #374151;
	padding: 0.25rem;
}

.sh-mobile-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid #e5e7eb;
	padding: 0.75rem 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sh-mobile-menu.sh-mobile-menu-open {
	display: block;
}

.sh-mobile-link {
	display: block;
	padding: 0.65rem 0;
	color: #374151;
	text-decoration: none;
	font-size: 0.95rem;
	border-bottom: 1px solid #f3f4f6;
	transition: color 0.2s ease;
}

.sh-mobile-link:last-child { border-bottom: none; }
.sh-mobile-link:hover { color: var(--sh-primary); }

@media (max-width: 768px) {
	.sh-nav-links { display: none; }
	.sh-hamburger { display: block; }
}

/* ==========================================================================
   L. Footer
   ========================================================================== */
/*
 * The footer widget fills the full width of its HFE template section.
 * Set the HFE footer section to Full Width + Stretch Section.
 */
.elementor-widget-sh-site-footer,
.elementor-widget-sh-site-footer > .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.sh-footer {
	background: var(--sh-dark-bg);
	color: #fff;
	padding: 4rem 0 0;
	width: 100%;
}

.sh-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2rem;
	padding-bottom: 3rem;
}

.sh-footer-logo {
	height: 36px;
	width: auto;
	margin-bottom: 1rem;
	display: block;
}

.sh-footer-tagline {
	color: #D1D5DB;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.sh-footer-social {
	display: flex;
	gap: 0.75rem;
}

.sh-footer-social-link {
	width: 40px;
	height: 40px;
	border-radius: var(--sh-radius);
	background: rgba(255, 107, 53, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sh-primary);
	text-decoration: none;
	font-size: 1.1rem;
	transition: var(--sh-transition);
}

.sh-footer-social-link:hover {
	background: rgba(255, 107, 53, 0.35);
	color: #fff;
}

.sh-footer-col-title {
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 1rem;
}

.sh-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sh-footer-link {
	color: #D1D5DB;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.sh-footer-link:hover { color: var(--sh-primary); }

.sh-footer-contact-text {
	color: #D1D5DB;
	font-size: 0.9rem;
	line-height: 1.8;
}

.sh-footer-bottom {
	border-top: 1px solid #374151;
	padding: 1.25rem 0;
	text-align: center;
	color: #9CA3AF;
	font-size: 0.85rem;
}

@media (max-width: 1024px) {
	.sh-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.sh-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   M. Layout Utilities (replaces inline Tailwind usage)
   ========================================================================== */

/*
 * Sections with background colours must be placed in a Full Width Elementor
 * section (Content Width: Full Width + Stretch Section enabled) so the
 * background bleeds edge-to-edge. The sh-container inside constrains the text.
 */
.sh-section {
	padding: 5rem 0;
	width: 100%;
}

.sh-section-alt {
	padding: 5rem 0;
	width: 100%;
	background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.sh-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.sh-section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.sh-section-title {
	font-size: 2.25rem;
	font-weight: 700;
	color: #111827;
	line-height: 2.5rem;
	margin-top: 0;
	margin-bottom: 1rem;
}

.sh-section-subtitle {
	font-size: 1.25rem;
	color: #6B7280;
	max-width: 600px;
	margin: 0 auto;
}

.sh-section-footer {
	text-align: center;
	margin-top: 2.5rem;
}

.sh-text-primary { color: var(--sh-primary); }
.sh-text-secondary { color: var(--sh-secondary); }

.sh-btn-primary {
	display: inline-block;
	background: var(--sh-primary);
	color: #fff;
	padding: 0.75rem 2rem;
	border-radius: var(--sh-radius);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	transition: var(--sh-transition);
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.sh-btn-primary:hover {
	background: #ea580c;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.sh-btn-outline {
	display: inline-block;
	background: transparent;
	color: var(--sh-primary);
	padding: 0.875rem 2rem;
	border-radius: var(--sh-radius);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	border: 2px solid var(--sh-primary);
	transition: var(--sh-transition);
	white-space: nowrap;
	cursor: pointer;
}

.sh-btn-outline:hover {
	background: var(--sh-primary);
	color: #fff;
}

.sh-btn-secondary {
	display: inline-block;
	background: var(--sh-secondary);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: var(--sh-radius);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	transition: var(--sh-transition);
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.sh-btn-secondary:hover { background: #ea580c; color: #fff; }

.sh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.sh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
	.sh-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.sh-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.sh-grid-2,
	.sh-grid-3,
	.sh-grid-4 { grid-template-columns: 1fr; }
	.sh-section { padding: 3rem 0; }
	.sh-section-title { font-size: 1.75rem; }
}

/* Offset body so fixed header doesn't cover the first section.
   Only for pages using the fixed sh-site-header (index page).
   Home/Cardiology headers are position:sticky and in-flow — no body padding needed. */
body:has(.elementor-widget-sh-site-header) {
	padding-top: var(--sh-header-height);
}

/* ==========================================================================
   N. About Section
   ========================================================================== */
.sh-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.sh-about-img-wrap { position: relative; }
.sh-about-img {
    border-radius: var(--sh-radius-2xl);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    object-fit: cover;
    width: 100%;
    height: 24rem;
}
.sh-about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 1rem;
    border-radius: var(--sh-radius-xl);
    text-align: center;
}
.sh-about-badge-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sh-primary);
    display: block;
}
.sh-about-badge-label {
    font-size: 0.875rem;
    color: #6B7280;
}
.sh-about-bullets { display: flex; flex-direction: column; gap: 0.75rem; }
.sh-about-bullet { display: flex; align-items: center; gap: 0.75rem; }
.sh-about-bullet-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sh-about-bullet-text { color: #374151; font-size: 1rem; line-height: 1.5; }

/* News Section */
.sh-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sh-news-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--sh-radius-xl);
    overflow: hidden;
    transition: var(--sh-transition);
}
.sh-news-card:hover { transform: scale(1.05); }
.sh-news-img { width: 100%; height: 12rem !important; object-fit: cover; display: block; }
.sh-news-body { padding: 1.5rem; }
.sh-news-date { font-size: 0.875rem; color: var(--sh-primary); font-weight: 500; margin-top: 0; margin-bottom: 0.5rem; }
.sh-news-title { font-size: 1.25rem; font-weight: 600; color: #111827; margin-top: 0; margin-bottom: 0.75rem; line-height: 1.75rem; }
.sh-news-desc { color: #4B5563; margin-top: 0; margin-bottom: 1rem; font-size: 1rem; }
.sh-news-link { color: var(--sh-primary); font-weight: 500; text-decoration: none; transition: color 0.2s; margin-top: 0; }
.sh-news-link:hover { color: #ea580c; }

/* Careers CTA */
.sh-careers-section {
    padding: 5rem 0;
    background: var(--sh-primary);
    position: relative;
    overflow: hidden;
    width: 100%;
}
.sh-careers-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}
.sh-careers-inner {
    position: relative;
    text-align: center;
}
.sh-careers-title { font-size: 2.25rem; font-weight: 700; color: #fff; line-height: 2.5rem; margin-top: 0; margin-bottom: 1.5rem; }
.sh-careers-desc {
    font-size: 1.25rem;
    color: #ccfbf1;
    margin-top: 0;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.sh-careers-btn {
    display: inline-block;
    background: #fff;
    color: var(--sh-primary);
    padding: 1rem 2rem;
    border-radius: var(--sh-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--sh-transition);
    white-space: nowrap;
}
.sh-careers-btn:hover { background: #f3f4f6; transform: scale(1.05); }

/* Contact Section */
.sh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.sh-contact-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: var(--sh-radius-xl);
}
.sh-contact-card-title { font-size: 1.5rem; font-weight: 600; color: #111827; margin-bottom: 1.5rem; }
.sh-contact-items { display: flex; flex-direction: column; gap: 1rem; }
.sh-contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.sh-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,107,53,0.1);
    border-radius: var(--sh-radius);
    flex-shrink: 0;
    color: var(--sh-primary);
    font-size: 1rem;
}
.sh-contact-label { font-weight: 500; color: #111827; margin-bottom: 0.25rem; }
.sh-contact-value { color: #6B7280; font-size: 0.95rem; line-height: 1.5; }
.sh-appt-form { display: flex; flex-direction: column; gap: 1.5rem; }
.sh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sh-form-input,
.sh-form-select,
.sh-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--sh-radius);
    font-size: 1rem;
    color: #374151;
    background: #fff;
    box-sizing: border-box;
    transition: var(--sh-transition);
}
.sh-form-input:focus,
.sh-form-select:focus,
.sh-form-textarea:focus {
    outline: none;
    border-color: var(--sh-primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.sh-form-select { padding-right: 2rem; }
.sh-form-textarea { resize: vertical; }
.sh-form-submit {
    width: 100%;
    background: var(--sh-primary);
    color: #fff;
    padding: 0.875rem;
    border-radius: var(--sh-radius);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--sh-transition);
    white-space: nowrap;
}
.sh-form-submit:hover { background: #ea580c; }

@media (max-width: 1024px) {
    .sh-about-grid,
    .sh-contact-grid { grid-template-columns: 1fr; }
    .sh-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sh-news-grid { grid-template-columns: 1fr; }
    .sh-form-row { grid-template-columns: 1fr; }
    .sh-about-badge { bottom: -1rem; right: -0.5rem; }
}

/* ==========================================================================
   O. FAQ Section
   ========================================================================== */
.sh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sh-faq-item {
    border-radius: var(--sh-radius-xl);
    overflow: hidden;
}

.sh-faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: background 0.2s ease;
}

.sh-faq-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.sh-faq-question {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
    flex: 1;
}

.sh-faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sh-primary);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.sh-faq-item--open .sh-faq-icon {
    transform: rotate(45deg);
}

.sh-faq-answer {
    padding: 0 1.5rem 1rem;
}

.sh-faq-answer p {
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   P. Review Form
   ========================================================================== */
.sh-review-card {
    padding: 2rem;
    border-radius: var(--sh-radius-xl);
}

.sh-review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sh-review-rating-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sh-review-rating-label {
    font-weight: 500;
    color: #374151;
    font-size: 1rem;
}

.sh-star-rating-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sh-star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.5rem;
    color: #d1d5db;
    transition: color 0.2s ease;
    line-height: 1;
}

.sh-star-btn:hover,
.sh-star-btn--active {
    color: #fbbf24;
}

/* ==========================================================================
   Q. Department Hero
   ========================================================================== */
.elementor-widget-sh-dept-hero,
.elementor-widget-sh-dept-hero > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.sh-dept-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sh-dept-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
}

.sh-dept-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.sh-dept-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sh-dept-hero-card {
    padding: 2rem;
    border-radius: var(--sh-radius-2xl);
    margin-top: 40px;
}

.sh-dept-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sh-dept-hero-desc {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .sh-dept-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sh-dept-hero { min-height: 60vh; }
    .sh-dept-hero-title { font-size: 2rem; }
}

/* ==========================================================================
   R. Department Overview
   ========================================================================== */
.sh-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sh-overview-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.sh-overview-text {
    color: #6B7280;
    line-height: 1.7;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.sh-overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.sh-overview-stat-item {
    text-align: center;
    padding: 0.75rem;
}

.sh-overview-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--sh-primary);
    margin-bottom: 0.25rem;
}

.sh-overview-stat-label {
    color: #6B7280;
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .sh-overview-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   S. Department Team (Chief + Grid)
   ========================================================================== */
.sh-deptteam-chief {
    padding: 2rem;
    border-radius: var(--sh-radius-xl);
}

.sh-deptteam-chief-inner {
    display: grid;
    grid-template-columns: 8rem 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sh-deptteam-chief-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid rgba(255, 107, 53, 0.2);
}

.sh-deptteam-chief-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .sh-deptteam-chief-inner {
        grid-template-columns: 1fr;
    }

    .sh-deptteam-chief-inner > div:last-child {
        grid-column: 1;
    }

    .sh-deptteam-chief-meta {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .sh-deptteam-chief-meta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   T. Appointment Form Time Slots
   ========================================================================== */
.sh-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sh-time-slot-btn {
    padding: 0.5rem 0.25rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--sh-radius);
    background: #fff;
    font-size: 0.8125rem;
    color: #374151;
    cursor: pointer;
    transition: var(--sh-transition);
    line-height: 1.2;
}

.sh-time-slot-btn:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: var(--sh-primary-alt);
}

.sh-time-slot-btn--active {
    background: var(--sh-primary-alt);
    color: #fff;
    border-color: var(--sh-primary-alt);
}

@media (max-width: 480px) {
    .sh-time-slots { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   U. Home Services Grid
   ========================================================================== */
.sh-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sh-service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sh-service-card-link .sh-service-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--sh-transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sh-service-card-link:hover .sh-service-card {
    border-color: var(--sh-primary-alt);
    box-shadow: 0 12px 30px rgba(251, 122, 30, 0.2);
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
}

.sh-service-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--sh-primary);
}

.sh-service-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

@media (max-width: 1024px) {
    .sh-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .sh-services-grid { grid-template-columns: 1fr; }
}



/* ==========================================================================
   V. Site Header (Home + Cardiology) — Light style matching index.html
   ========================================================================== */

/* Strip Elementor widget wrapper padding */
.elementor-widget-sh-home-header,
.elementor-widget-sh-home-header > .elementor-widget-container,
.elementor-widget-sh-cardiology-header,
.elementor-widget-sh-cardiology-header > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Outer header bar — light, clean, matches index.html .sh-header-nav style */
.sh-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--sh-header-height);
    background: rgba(255, 255, 255, 0.95);
    /* No backdrop-filter — it causes child images (logo) to appear blurry in Chromium */
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Cancel the sh-glass-morph backdrop-filter when used on the header */
.sh-header.sh-glass-morph {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.sh-header.sh-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Inner flex row */
.sh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--sh-header-height);
    gap: 1rem;
}

/* Logo link wrapper */
.sh-header-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo image — !important to override Elementor's own image CSS */
.sh-header-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
}

/* Brand text fallback */
.sh-header-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sh-primary);
    white-space: nowrap;
}

/* Desktop nav links container — renamed from sh-header-nav to avoid collision with sh-site-header */
.sh-hdr-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    justify-content: flex-end;
}

/* Individual nav links — dark text like index.html */
.sh-header-nav-link {
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.sh-header-nav-link:hover {
    color: var(--sh-primary);
    background: rgba(255, 107, 53, 0.06);
}

.sh-header-nav-link.sh-active {
    color: var(--sh-primary);
    font-weight: 600;
}

/* Emergency / CTA button — orange, matching sh-nav-cta-btn */
.sh-btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--sh-emergency);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: var(--sh-radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    margin-left: 0.5rem;
}

.sh-btn-emergency:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
}

/* Mobile hamburger — hidden on desktop */
.sh-header-hamburger {
    display: none;
    background: none;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 1.2rem;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.sh-header-hamburger:hover {
    background: rgba(255, 107, 53, 0.06);
    border-color: var(--sh-primary-alt);
}

/* Mobile dropdown menu */
.sh-header-mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #f3f4f6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sh-header-mobile-link {
    display: block;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    margin: 0.1rem 0.5rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.sh-header-mobile-link:hover {
    background: rgba(255, 107, 53, 0.07);
    color: var(--sh-primary);
}

/* Show hamburger on tablet/mobile, hide desktop nav */
@media (max-width: 1024px) {
    .sh-hdr-links { display: none; }
    .sh-header-hamburger { display: flex; align-items: center; }
}

@media (max-width: 640px) {
    .sh-header-logo { height: 32px; }
    .sh-header-brand { font-size: 1rem; }
}


/* ==========================================================================
   W. Scroll-Triggered Animation Helpers
   ========================================================================== */

[data-sh-animate] {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-sh-animate="fade-up"]    { transform: translateY(36px); }
[data-sh-animate="fade-down"]  { transform: translateY(-36px); }
[data-sh-animate="fade-left"]  { transform: translateX(48px); }
[data-sh-animate="fade-right"] { transform: translateX(-48px); }
[data-sh-animate="zoom-in"]    { transform: scale(0.88); }
[data-sh-animate="flip-up"]    { transform: perspective(600px) rotateX(18deg) translateY(28px); }

[data-sh-delay="100"] { transition-delay: 0.1s; }
[data-sh-delay="150"] { transition-delay: 0.15s; }
[data-sh-delay="200"] { transition-delay: 0.2s; }
[data-sh-delay="250"] { transition-delay: 0.25s; }
[data-sh-delay="300"] { transition-delay: 0.3s; }
[data-sh-delay="350"] { transition-delay: 0.35s; }
[data-sh-delay="400"] { transition-delay: 0.4s; }
[data-sh-delay="500"] { transition-delay: 0.5s; }
[data-sh-delay="600"] { transition-delay: 0.6s; }
[data-sh-delay="700"] { transition-delay: 0.7s; }
[data-sh-delay="800"] { transition-delay: 0.8s; }

[data-sh-animate].sh-in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-sh-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   X. Universal Hover Effects
   ========================================================================== */

.sh-dept-card,
.sh-doctor-card,
.sh-team-card,
.sh-testimonial-card,
.sh-stat-card,
.sh-treatment-card,
.sh-news-card,
.sh-faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sh-dept-card:hover,
.sh-doctor-card:hover,
.sh-team-card:hover,
.sh-treatment-card:hover,
.sh-news-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--sh-primary-alt);
}

.sh-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.sh-stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 32px rgba(255, 107, 53, 0.16);
}

.sh-faq-item:hover {
    border-color: var(--sh-primary-alt);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

.sh-doctor-card:hover .sh-doctor-avatar,
.sh-team-card:hover .sh-team-avatar {
    box-shadow: 0 0 0 3px var(--sh-primary-alt), 0 0 0 6px rgba(255, 107, 53, 0.18);
    transition: box-shadow 0.3s ease;
}

.sh-dept-card:hover .sh-dept-icon {
    color: var(--sh-primary);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
    transform: scale(1.15);
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.sh-btn-primary,
.sh-btn-outline,
.sh-btn-white {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.sh-btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45) !important;
}

.sh-btn-outline:hover,
.sh-btn-white:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.13) !important;
}

.sh-carousel-prev:hover,
.sh-carousel-next:hover {
    transform: scale(1.1);
    background: rgba(255, 107, 53, 0.22) !important;
}

.sh-footer-link {
    position: relative;
    display: inline-block;
}

.sh-footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--sh-primary-alt);
    transition: width 0.25s ease;
}

.sh-footer-link:hover::after { width: 100%; }

.sh-footer-social-link {
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.sh-footer-social-link:hover {
    transform: rotate(15deg) scale(1.2) !important;
    color: var(--sh-primary-alt) !important;
}



/* ==========================================================================
   Y. Elementor Container Padding Reset
   Zero out the default 10px padding Elementor adds to every e-con wrapper.
   This removes the left/right gutters and top/bottom gaps between sections.
   :has() is supported in Chrome 105+, Firefox 121+, Safari 15.4+
   ========================================================================== */

/* Any Elementor flex container that holds one of our sh- widgets */
[class*="e-con"]:has([class*="elementor-widget-sh-"]) {
    padding: 0 !important;
    margin: 0 !important;
}

/* Elementor classic sections / columns wrapping our widgets */
.elementor-section:has([class*="elementor-widget-sh-"]),
.elementor-column:has([class*="elementor-widget-sh-"]),
.elementor-widget-wrap:has([class*="elementor-widget-sh-"]) {
    padding: 0 !important;
    margin: 0 !important;
}

/* Also remove the column gap Elementor adds between columns */
.elementor-container:has([class*="elementor-widget-sh-"]) {
    column-gap: 0 !important;
}

