/**
 * Narrow fixes for the Xcare About / Contact pages.
 * Keep visual language from pbmit_icon_heading style 15 and pbmit_heading.
 */

body.page-id-96 .pbmit-ihbox-style-15,
body.page-id-375 .pbmit-ihbox-style-15,
body.page-id-380 .pbmit-ihbox-style-15,
body.page-about-us-new .pbmit-ihbox-style-15,
body.page-contact-us-new .pbmit-ihbox-style-15 {
	height: 100%;
}

body.page-id-96 .pbmit-ihbox-style-15 .pbmit-ihbox-box,
body.page-id-375 .pbmit-ihbox-style-15 .pbmit-ihbox-box,
body.page-id-380 .pbmit-ihbox-style-15 .pbmit-ihbox-box,
body.page-about-us-new .pbmit-ihbox-style-15 .pbmit-ihbox-box,
body.page-contact-us-new .pbmit-ihbox-style-15 .pbmit-ihbox-box {
	height: 100%;
	min-height: 280px;
}

body.page-id-96 .pbmit-form select,
body.page-id-380 .pbmit-form select,
body.page-id-382 .pbmit-form select,
body.page-about-us-new .pbmit-form select,
body.page-contact-us-new .pbmit-form select {
	width: 100%;
	height: 48px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(16, 44, 60, 0.14);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
}

body.page-id-96 .elementor-widget-button,
body.page-id-97 .elementor-widget-button,
body.page-id-380 .elementor-widget-button,
body.page-id-382 .elementor-widget-button,
body.page-about-us-new .elementor-widget-button,
body.page-contact-us-new .elementor-widget-button {
	margin-top: 8px;
}

/* Ensure animated image containers are never clipped to 0px if ScrollTrigger is delayed */
.pbmit-animation-style1 .elementor-widget-container,
.pbmit-animation-style2 .elementor-widget-container,
.pbmit-animation-style3 .elementor-widget-container,
.pbmit-animation-style4 .elementor-widget-container,
.pbmit-animation-style5 .elementor-widget-container,
.pbmit-animation-style6 .elementor-widget-container {
	clip-path: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.pbmit-animation-style1 .elementor-widget-container img,
.pbmit-animation-style2 .elementor-widget-container img,
.pbmit-animation-style3 .elementor-widget-container img,
.pbmit-animation-style4 .elementor-widget-container img,
.pbmit-animation-style5 .elementor-widget-container img,
.pbmit-animation-style6 .elementor-widget-container img {
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Dual overlapping image styling */
.cch-dual-image-wrap {
	position: relative;
	min-height: 520px;
}
.cch-dual-image-main img {
	border-radius: 24px;
	box-shadow: 0 15px 35px rgba(7, 28, 53, 0.08);
	width: 88%;
	display: block;
}
.cch-dual-image-sub {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 65%;
	z-index: 2;
}
.cch-dual-image-sub img {
	border-radius: 20px;
	border: 6px solid #ffffff;
	box-shadow: 0 20px 45px rgba(7, 28, 53, 0.14);
	display: block;
}
@media (max-width: 767px) {
	.cch-dual-image-wrap {
		min-height: auto;
		margin-bottom: 30px;
	}
	.cch-dual-image-main img {
		width: 100%;
	}
	.cch-dual-image-sub {
		display: none;
	}
}

/* Style 22 Treatments card equalization */
body.page-id-306 .pbmit-ihbox-style-22 {
	height: 100%;
	display: flex;
	flex-direction: column;
}
body.page-id-306 .pbmit-ihbox-style-22 .pbmit-ihbox-headingicon {
	height: 100%;
	display: flex;
	flex-direction: column;
}
body.page-id-306 .pbmit-ihbox-style-22 .pbmit-ihbox-contents {
	flex: 1;
	display: flex;
	flex-direction: column;
}
body.page-id-306 .pbmit-ihbox-style-22 .pbmit-element-title {
	font-size: 20px;
	line-height: 28px;
	margin-bottom: 12px;
	color: #0f223a;
	font-weight: 700;
}
body.page-id-306 .pbmit-ihbox-style-22 .pbmit-heading-desc {
	font-size: 14.5px;
	line-height: 1.65;
	color: #64748b;
}
body.page-id-306 .pbmit-ihbox-style-22 .pbmit-ihbox-icon-wrapper {
	background-color: #edf2f9;
	width: 64px;
	height: 64px;
	color: var(--pbmit-xcare-global-color);
	font-size: 26px;
	margin-bottom: 20px;
	transition: all 0.3s ease;
}
body.page-id-306 .elementor-widget-pbmit_icon_heading:hover .pbmit-ihbox-icon-wrapper {
	background-color: var(--pbmit-xcare-global-color);
	color: #ffffff;
}

/* Global Style 15 typography & word break fix */
.pbmit-ihbox-style-15 .pbmit-element-title,
.pbmit-ihbox-style-15 .pbmit-element-title a,
.pbmit-ihbox-style-15 h2.pbmit-element-title {
	white-space: normal !important;
	word-wrap: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	-webkit-hyphens: none !important;
	-ms-hyphens: none !important;
	hyphens: none !important;
	font-size: 22px !important;
	line-height: 1.3 !important;
	min-height: auto !important;
	height: auto !important;
}

/* ============================================================
   Service Style 2 Card & Image Uniformity
   Fixes cards of varying heights due to different aspect ratios
   ============================================================ */
.pbmit-service-style-2 {
	margin-bottom: 30px;
}
.pbmit-service-style-2 .pbminfotech-post-item {
	height: 100%;
}
.pbmit-service-style-2 .pbminfotech-box-content {
	height: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 30px;
}
.pbmit-service-style-2 .pbmit-service-image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}
.pbmit-service-style-2 .pbmit-featured-img-wrapper {
	width: 100%;
	height: 100%;
}
.pbmit-service-style-2 .pbmit-featured-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1.05;
	border-radius: 30px;
}
.pbmit-service-style-2 .pbmit-featured-wrapper a {
	display: block;
	width: 100%;
	height: 100%;
}
.pbmit-service-style-2 .pbmit-service-image-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 30px;
	display: block;
	transition: all 0.4s ease-in-out;
}
.pbmit-service-style-2:hover .pbmit-service-image-wrapper img {
	transform: scale(1.06);
}
.pbmit-service-style-2 .pbmit-contant-box {
	position: absolute;
	bottom: 35px;
	left: 35px;
	right: 72px;
	z-index: 2;
}
.pbmit-service-style-2 .pbmit-service-title {
	max-width: 100% !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	margin-bottom: 0;
}
.pbmit-service-style-2 .pbmit-service-title a {
	color: #ffffff;
}
.pbmit-service-style-2 .pbmit-service-btn {
	z-index: 3;
}


/* Top navigation bar single-line formatting */
@media (min-width: 1200px) {
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li {
    margin: 0 13px !important;
    white-space: nowrap !important;
  }
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li > a {
    font-size: 13px !important;
    letter-spacing: 0.4px !important;
  }
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li:not(:last-child)::before {
    right: -15px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1450px) {
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li {
    margin: 0 9px !important;
  }
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li > a {
    font-size: 12px !important;
    letter-spacing: 0.2px !important;
  }
  body:not(.mega-menu-pbminfotech-top) .pbmit-navbar div > ul > li:not(:last-child)::before {
    right: -11px !important;
  }
}

/* Guarantee titlebar / breadcrumbs are hidden on all 11 hospital subpages */
.page-id-676 .pbmit-title-bar-wrapper,
.page-id-739 .pbmit-title-bar-wrapper,
.page-id-741 .pbmit-title-bar-wrapper,
.page-id-743 .pbmit-title-bar-wrapper,
.page-id-745 .pbmit-title-bar-wrapper,
.page-id-747 .pbmit-title-bar-wrapper,
.page-id-749 .pbmit-title-bar-wrapper,
.page-id-751 .pbmit-title-bar-wrapper,
.page-id-753 .pbmit-title-bar-wrapper,
.page-id-755 .pbmit-title-bar-wrapper,
.page-id-757 .pbmit-title-bar-wrapper {
    display: none !important;
}

.page-id-768 .pbmit-title-bar-wrapper { display: none !important; }


/* ==========================================================================
   CCH Section Headings: Unified Centering, Typography & Single-Line Title Control
   ========================================================================== */
.cch-sec-heading-centered,
.cch-sec-heading-centered .pbmit-heading-subheading,
.pbmit-heading-subheading[style*="text-align: center"],
[class*="sec2_hdg_"] .pbmit-heading-subheading,
[class*="sec3_why_"] .pbmit-heading-subheading,
[class*="sec4_hdg_"] .pbmit-heading-subheading,
[class*="sec5_faq_"] .pbmit-heading-subheading {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

[class*="sec2_hdg_"] .pbmit-element-subtitle,
[class*="sec3_why_"] .pbmit-element-subtitle,
[class*="sec4_hdg_"] .pbmit-element-subtitle,
[class*="sec5_faq_"] .pbmit-element-subtitle,
.cch-sec-heading-centered .pbmit-element-subtitle {
    display: inline-block !important;
    text-align: center !important;
    margin: 0 auto 16px auto !important;
}

.cch-sec-heading-centered .pbmit-element-title,
[class*="sec2_hdg_"] .pbmit-element-title,
[class*="sec3_why_"] .pbmit-element-title,
[class*="sec4_hdg_"] .pbmit-element-title,
[class*="sec5_faq_"] .pbmit-element-title,
.elementor-widget-pbmit_heading.cch-sec-heading-centered .pbmit-heading-subheading .pbmit-element-title {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto 16px auto !important;
    padding: 0 !important;
    font-size: clamp(28px, 2.3vw, 36px) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em !important;
    word-break: normal !important;
}

.cch-sec-heading-centered .pbmit-heading-desc,
[class*="sec2_hdg_"] .pbmit-heading-desc,
[class*="sec3_why_"] .pbmit-heading-desc,
[class*="sec4_hdg_"] .pbmit-heading-desc,
[class*="sec5_faq_"] .pbmit-heading-desc,
.cch-sec-heading-centered + .elementor-widget-text-editor p,
[class*="sec2_hdg_"] .elementor-widget-text-editor p,
[class*="sec3_why_"] > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-text-editor:first-of-type p,
[class*="sec4_hdg_"] .elementor-widget-text-editor p,
[class*="sec5_faq_"] > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-text-editor:first-of-type p {
    text-align: center !important;
    margin: 0 auto 48px auto !important;
    padding: 0 !important;
    max-width: 820px !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

/* 2-Column Left Image Right Form Contact Section (Matching Homepage 04) */
.cch-contact-2col-sec {
	background-color: #edf2f9 !important;
	padding: 90px 0 !important;
}

.cch-contact-2col-sec > .elementor-container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0 !important;
}

.cch-contact-2col-sec .cch-contact-img-col {
	border-radius: 30px !important;
	overflow: hidden !important;
}

.cch-contact-2col-sec .cch-contact-img-col > .elementor-element-populated,
.cch-contact-2col-sec .cch-contact-img-col > .elementor-widget-wrap {
	background-image: url('../images/homepage-04/treatment-mdt.jpg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	border-radius: 30px !important;
	min-height: 640px !important;
	height: 100% !important;
}

.cch-contact-2col-sec .cch-contact-form-col > .elementor-element-populated,
.cch-contact-2col-sec .cch-contact-form-col > .elementor-widget-wrap {
	background-color: #ffffff !important;
	border-radius: 30px !important;
	box-shadow: 0px 15px 45px 0px rgba(7, 28, 53, 0.08) !important;
	padding: 50px 50px 50px 50px !important;
}

@media (max-width: 1024px) {
	.cch-contact-2col-sec {
		padding: 60px 20px !important;
	}
	.cch-contact-2col-sec .cch-contact-img-col,
	.cch-contact-2col-sec .cch-contact-form-col {
		width: 100% !important;
		flex: 0 0 100% !important;
	}
	.cch-contact-2col-sec .cch-contact-img-col > .elementor-element-populated,
	.cch-contact-2col-sec .cch-contact-img-col > .elementor-widget-wrap {
		min-height: 380px !important;
	}
	.cch-contact-2col-sec .cch-contact-form-col > .elementor-element-populated {
		padding: 35px 30px !important;
		margin-top: 30px !important;
	}
}

@media (max-width: 767px) {
	.cch-contact-2col-sec .cch-contact-form-col > .elementor-element-populated {
		padding: 25px 20px !important;
	}
}

