/*
Theme Name: Mednix child
Template:   mednix
Theme URI: https://mednix.themeht.com/
Author: Themeht
Author URI: https://www.themeht.com
Description: Mednix - Child Theme
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mednix
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

.theme-title h2 .title-sub {
	color: var(--themeht-primary-color);
	/* 	background: linear-gradient(90deg, #2F5BEA, #2BC0E4, #FF7A18, #D4145A);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent; */
}

.themeht-btn.primary-btn,
.subscribe-btn,
input[type="submit"].subscribe-btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-search__button {
	background: var(--themeht-primary-color);
	color: #FFFFFF;
	border: none;
}

.service-item.style-6 .service-icon {
	color: #D4145A;
}

.featured-item.style-4 .featured-icon,
.featured-item.style-4 .featured-svg {
	color: var(--themeht-primary-color);
}

p:last-child {
	margin-bottom: 0
}

.about-hn .about-hn-svg .elementor-icon {
	background: linear-gradient(90deg, #2F5BEA, #7c9bff) !important;
}

.about-nh-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 1rem;
	text-align: center;
	border: 1px solid #E9EEFF;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-nh-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: linear-gradient(90deg, #2F5BEA, #2BC0E4, #FF7A18, #D4145A);
}

.about-nh-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(47, 91, 234, 0.12);
}

.about-nh-card .featured-title h4 {
	font-size: 17px;
	/* smaller */
	font-weight: 600;
	color: #0F1E4C;
	margin-bottom: 8px;
	line-height: 1.4;
}

.about-th .about-th-box .featured-item.style-1 {
	background: #ffffff;
	padding: 30px;
	border-radius: 12px;

	border: 1px solid #E9EEFF;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

	transition: all 0.3s ease;
	height: 100%;
}

.about-th .about-th-box .featured-item.style-1::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, #2F5BEA, #2BC0E4);
	margin-bottom: 15px;
	border-radius: 2px;
}

.about-th .featured-title h4 {
	font-size: 20px;
	font-weight: 600;
	color: #0F1E4C;
	margin-bottom: 15px;
}

.about-th .featured-desc p {
	font-size: 15px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 12px;
}

.about-th .featured-desc strong {
	color: #2F5BEA;
	font-weight: 600;
}

@media (max-width: 768px) {
	.about-th .about-th-box .featured-item.style-1 {
		padding: 20px;
	}

	.about-th .featured-title h4 {
		font-size: 18px;
	}
}

/* ================ */
.vm-clean-section {
	max-width: 900px;
	margin: 80px auto;
	padding: 0 20px;
}

/* Row Layout */
.vm-row {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

/* Left Label */
.vm-label {
	min-width: 120px;
	font-size: 18px;
	font-weight: 600;
	color: #2F5BEA;
	position: relative;
}

/* Small Accent Line */
.vm-label::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, #2F5BEA, #2BC0E4);
}

/* Right Content */
.vm-content {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
}

/* Divider */
.vm-divider {
	height: 1px;
	background: #E5ECF6;
	margin: 30px 0;
}

/* Mobile */
@media (max-width: 768px) {
	.vm-row {
		flex-direction: column;
		gap: 10px;
	}

	.vm-label {
		font-size: 16px;
	}

	.vm-content {
		font-size: 15px;
	}
}

/* ================ */


/* ================================
   THEME FAQ - SIMPLE PREMIUM STYLE
   Wrapper: .theme--faq
   Works with Elementor Nested Accordion
================================== */

.theme--faq {
	--faq-bg: #ffffff;
	--faq-surface: #f1f7f3;
	--faq-border: #dcdcdc;
	--faq-text: #555555;
	--faq-heading: #0f1e4c;
	--faq-accent: #2f5bea;
	--faq-accent-dark: #1e3fa3;
	--faq-radius: 18px;
	--faq-shadow: 0 10px 30px rgba(15, 30, 76, 0.08);
}

/* Main accordion wrapper */
.theme--faq .e-n-accordion {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Each FAQ item */
.theme--faq .e-n-accordion-item {
	background: var(--faq-bg);
	border: 1px solid var(--faq-border);
	border-radius: var(--faq-radius);
	overflow: hidden;
	box-shadow: var(--faq-shadow);
	transition: all 0.3s ease;
}

.theme--faq .e-n-accordion-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(15, 30, 76, 0.12);
}

/* Open state */
.theme--faq .e-n-accordion-item[open] {
	border-color: rgba(47, 91, 234, 0.28);
}

/* Accordion title */
.theme--faq .e-n-accordion-item-title {
	list-style: none;
	cursor: pointer;
	padding: 20px 22px;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
	transition: background 0.3s ease, color 0.3s ease;
}

.theme--faq .e-n-accordion-item-title::-webkit-details-marker {
	display: none;
}

.theme--faq .e-n-accordion-item-title-header {
	flex: 1;
}

/* Question text */
.theme--faq .e-n-accordion-item-title-text {
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--faq-heading);
	letter-spacing: -0.2px;
	text-align: left;
}

/* Icon wrapper */
.theme--faq .e-n-accordion-item-title-icon {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f4f7ff;
	border: 1px solid rgba(47, 91, 234, 0.14);
	transition: all 0.3s ease;
}

.theme--faq .e-n-accordion-item:hover .e-n-accordion-item-title-icon {
	background: #eaf0ff;
	border-color: rgba(47, 91, 234, 0.22);
}

.theme--faq .e-opened,
.theme--faq .e-closed {
	display: flex;
	align-items: center;
	justify-content: center;
}

.theme--faq .e-n-accordion-item-title-icon svg {
	width: 16px;
	height: 16px;
	fill: var(--faq-accent);
}

/* Show / hide open-closed icons properly */
.theme--faq .e-n-accordion-item[open] .e-opened {
	display: flex;
}

.theme--faq .e-n-accordion-item[open] .e-closed {
	display: none;
}

.theme--faq .e-n-accordion-item:not([open]) .e-opened {
	display: none;
}

.theme--faq .e-n-accordion-item:not([open]) .e-closed {
	display: flex;
}

/* Content area */
.theme--faq .e-n-accordion-item>div {
	background: #ffffff;
}

.theme--faq .e-n-accordion-item>div .e-con-inner {
	padding: 0 22px 22px 22px;
}

.theme--faq .elementor-widget-text-editor,
.theme--faq .elementor-widget-text-editor p {
	margin: 0;
	color: var(--faq-text);
	font-size: 16px;
	line-height: 1.8;
	font-weight: 400;
}

/* Inner content spacing if multiple containers are present */
.theme--faq .e-con-full {
	border: 0;
	background: transparent;
}

/* Smooth open animation */
.theme--faq .e-n-accordion-item[open]>div {
	animation: faqFadeDown 0.35s ease;
}

@keyframes faqFadeDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

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

/* Accessibility focus */
.theme--faq .e-n-accordion-item-title:focus {
	outline: 2px solid rgba(47, 91, 234, 0.28);
	outline-offset: 3px;
}

/* Responsive */
@media (max-width: 767px) {
	.theme--faq .e-n-accordion-item-title {
		padding: 16px 16px;
	}

	.theme--faq .e-n-accordion-item-title-text {
		font-size: 16px;
	}

	.theme--faq .e-n-accordion-item-title-icon {
		width: 38px;
		height: 38px;
	}

	.theme--faq .e-n-accordion-item>div .e-con-inner {
		padding: 0 16px 16px 16px;
	}

	.theme--faq .elementor-widget-text-editor,
	.theme--faq .elementor-widget-text-editor p {
		font-size: 15px;
		line-height: 1.7;
	}
}

/* ================================
   SERVICE CONTENT DESIGN SYSTEM
================================ */

.service-content {
	--sc-text: #555555;
	--sc-heading: #0f1e4c;
	--sc-accent: #2f5bea;
	--sc-border: #dcdcdc;
	--sc-bg-soft: #f5f8ff;

	font-size: 16px;
	line-height: 1.8;
	color: var(--sc-text);
}

/* Reset Elementor weird spacing */
.service-content * {
	margin-top: 0;
	margin-bottom: 0;
}


/* ================================
   HEADINGS
================================ */

.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6 {
	color: var(--sc-heading);
	font-weight: 700;
	margin-top: 28px;
	margin-bottom: 10px;
	line-height: 1.35;
}

.service-content h1:first-child,
.service-content h2:first-child,
.service-content h3:first-child,
.service-content h4:first-child {
	margin-top: 0;
}

.service-content h1 {
	font-size: 36px;
}

.service-content h2 {
	font-size: 30px;
}

.service-content h3 {
	font-size: 24px;
}

.service-content h4 {
	font-size: 20px;
}

.service-content h5 {
	font-size: 18px;
}

.service-content h6 {
	font-size: 16px;
}

/* Add spacing between sections */
.service-content h2,
.service-content h3 {
	margin-top: 32px;
}

/* ================================
   PARAGRAPH
================================ */

.service-content p {
	margin-bottom: 16px;
	line-height: 1.9;
}

.service-content h4+p {
	margin-top: 8px;
}

/* Fix double paragraph spacing */
.service-content p+p {
	margin-top: -6px;
}

/* ================================
   LINKS
================================ */

.service-content a {
	color: var(--sc-accent);
	text-decoration: none;
	font-weight: 500;
	position: relative;
}

.service-content a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: var(--sc-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.service-content a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* ================================
   STRONG / BOLD
================================ */

.service-content strong {
	color: var(--sc-heading);
	font-weight: 600;
}

/* ================================
   LISTS
================================ */

.service-content ul,
.service-content ol {
	margin: 10px 0 20px 20px;
	padding: 0;
}

.service-content li {
	margin-bottom: 8px;
	line-height: 1.7;
}

/* Custom bullets */
.service-content ul li {
	list-style: none;
	position: relative;
	padding-left: 18px;
}

.service-content ul li::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--sc-accent);
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 8px;
}

/* ================================
   IMAGES
================================ */

.service-content img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	margin: 20px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================================
   BLOCKQUOTE (optional but useful)
================================ */

.service-content blockquote {
	background: var(--sc-bg-soft);
	border-left: 4px solid var(--sc-accent);
	padding: 16px 20px;
	margin: 20px 0;
	font-style: italic;
	border-radius: 8px;
}

/* ================================
   HR (Divider)
================================ */

.service-content hr {
	border: none;
	border-top: 1px solid var(--sc-border);
	margin: 30px 0;
}

/* ================================
   TABLE (if needed)
================================ */

.service-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.service-content table th,
.service-content table td {
	border: 1px solid var(--sc-border);
	padding: 10px;
	text-align: left;
}

.service-content table th {
	background: #f9fbff;
	color: var(--sc-heading);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 767px) {

	.service-content h1 {
		font-size: 26px;
	}

	.service-content h2 {
		font-size: 22px;
	}

	.service-content h3 {
		font-size: 20px;
	}

	.service-content h4 {
		font-size: 18px;
	}

	.service-content p {
		font-size: 15px;
		line-height: 1.8;
	}

	.service-content img {
		border-radius: 10px;
	}

	.service-content ul,
	.service-content ol {
		margin-left: 16px;
	}
}


.ht-services-dev .service-item .service-icon svg {
	width: 60px;
	height: 60px;
}

.service-list-page .service-item.style-4 .service-icon path,
.service-list-page .service-item.style-4 .service-icon svg {
	fill: #fff;

}

.service-list-page .service-item.style-4 .service-icon svg {

	width: 40px;
	height: 40px;
}

.header-number svg {
	flex-shrink: 0;
}

@media (max-width: 1499px) and (min-width: 1199px) {
	.header.header-1 {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

.whatsapp-float {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 55px;
	height: 55px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	z-index: 9999;
	transition: all 0.3s ease;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
	width: 28px;
	height: 28px;
	fill: #fff;
}

/* Mobile optimization */
@media (max-width: 768px) {
	.whatsapp-float {
		width: 50px;
		height: 50px;
		bottom: 15px;
		left: 15px;
	}

	.whatsapp-float svg {
		width: 24px;
		height: 24px;
	}
}

.banner-slider.style-two .slider-desc-text {
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px) saturate(100%) !important;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.banner-slider.style-two .slider-desc-text .banner-btn {
	margin-top: 1rem;
}
.featured-item.style-2 .featured-icon,
.page-id-2404 .featured-icon svg {
	height: 60px;
}
@media (min-width: 1024px) {
	.ht-services-dev .service-title h4 {
		font-size: 20px;
	}
}
.page-title-bg {
	background-position: center;
}

img.emoji {
	width: 1em;
	height: 1em;
}
@media (max-width: 767px) {
	.slider-img {
		background-position: 65% center !important;
	}
}