/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ========================================================================================
   Kinesi Base CSS Custom Reset & Styling Engine Setup
   ======================================================================================== */

:root {
	--primary-color-rgb: 27, 58, 92;
	--secondary-color-rgb: 111, 168, 214;
	--secondary-color-light-rgb: 237, 247, 255;
	--text-color-rgb: 27, 26, 25;
	--accent-color-rgb: 111, 168, 214;
	--accent-secondary-color-rgb: 213, 225, 231;
	--bg-color-rgb: 251, 246, 242;
	--white-color-rgb: 255, 255, 255;
	--divider-color-rgb: 46, 48, 63, 0.1;
	--dark-divider-color-rgb: 255, 255, 255, 0.1;
	--error-color-rgb: 230, 87, 87;

	/* Original hex variables for fallback */
	--primary-color: #1b3a5c;
	--secondary-color: #6fa8d6;
	--secondary-color-light: #edf7ff;
	--text-color: #1b1a19;
	--accent-color: #6fa8d6;
	--accent-secondary-color: #d5e1e7;
	--bg-color: #fbf6f2;
	--white-color: #ffffff;
	--divider-color: #2e303f1a;
	--dark-divider-color: #ffffff1a;
	--error-color: rgb(230, 87, 87);
	--lightest-bg: #fdfafa;
	--default-font: "Manrope", sans-serif;
	--accent-font: "Marcellus", serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--default-font);
	font-size: 16px;
	color: var(--text-color);
	background: var(--bg-color);
	overflow-x: clip;
	padding: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--accent-font);
	color: var(--primary-color);
	font-weight: 400;
}

.heading-font{
	font-family: var(--accent-font);
}

p {
	line-height: 1.9;
	margin-bottom: 0.8rem !important;
}

a {
	text-decoration: none;
	color: inherit;
}

.font-accent {
	font-family: var(--accent-font) !important;
}

.section-title h1 {
	font-size: 60px;
	font-weight: 400;
	line-height: 1.2em;
	margin-bottom: 0;
	/* cursor: none; */
}

.section-title h2 {
	font-size: 42px;
	font-weight: 400;
	line-height: 1.3em;
	margin-bottom: 0;
	/* cursor: none; */
}

.section-title2 h1 {
	font-size: 42px;
	font-weight: 400;
	line-height: 1.3em;
	margin-bottom: 0;
	/* cursor: none; */
}

.image-anime {
	position: relative;
	overflow: hidden;
}

.image-anime:after {
	content: "";
	position: absolute;
	width: 200%;
	height: 0%;
	left: 50%;
	top: 50%;
	background-color: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%) rotate(-45deg);
	z-index: 1;
}

.image-anime:hover:after {
	height: 250%;
	transition: all 600ms linear;
	background-color: transparent;
}

.reveal {
	position: relative;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	visibility: hidden;
	overflow: hidden;
}

.reveal img {
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-transform-origin: left;
	transform-origin: left;
}

.container {
	max-width: 1300px !important;
	margin: 0 auto;
}

.readmore-btn {
	position: relative;
	font-weight: 500;
	line-height: normal;
	text-transform: capitalize;
	color: var(--accent-color);
	padding-right: 25px;
	transition: all 0.4s ease-in-out;
}

.readmore-btn:hover {
	color: var(--primary-color);
}

.readmore-btn:after {
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	position: absolute;
	top: 3px;
	right: 0;
	font-size: 10px;
	font-weight: 600;
	align-content: center;
	text-align: center;
	color: var(--accent-color);
	border: 1px solid var(--accent-color);
	border-radius: 50%;
	width: 18px;
	height: 18px;
	transition: all 0.4s ease-in-out;
}

.readmore-btn:hover:after {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.gradient-bg-color {
  background: linear-gradient(to right, #1b3a5c14, #1b3a5c3b, #f2fbff);
}

/* Topbar Configurations */
.topbar {
	background: var(--primary-color);
	padding: 10px 40px;
	font-size: 14px;
}
.topbar-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
	margin: 0 auto;
}
.topbar-contact-info ul li i {
	font-size: 18px;
	color: var(--white-color);
	margin-right: 10px;
}
.topbar-contact-info ul,
.topbar-social-links ul {
	display: flex;
	list-style: none;
	gap: 20px;
	color: var(--white-color);
}
.topbar-contact-info ul li i {
	margin-right: 8px;
}
.topbar-contact-info a,
.topbar-social-links a {
	color: var(--white-color);
	opacity: 0.85;
	transition: 0.3s;
}
.topbar-contact-info a:hover,
.topbar-social-links a:hover {
	opacity: 1;
	color: var(--secondary-color);
}

/* Sticky Flexible Header Layout Custom Setup */
.main-header {
	width: 100%;
	position: relative;
	z-index: 999;
}

.custom-logo-link{
	max-width: 315px;
}

@media(max-width: 1280px){
	.custom-logo-link{
		max-width: 220px;
	}
}

.navbar {
	background: var(--lightest-bg);
	border-radius: 0px;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 100%;
	margin: auto;
}

.navbar-brand img {
	max-width: 250px;
}

@media(max-width: 450px){
	.navbar-brand img{
		max-width: 180px;
	}
}

.logo-text {
	font-size: 28px;
	letter-spacing: 2px;
	color: var(--primary-color);
	font-family: var(--accent-font);
}

/* Nav Dropdown Animations CSS Rules */
.navbar-nav {
	display: flex;
	list-style: none;
	gap: 5px;
}
.nav-item {
	position: relative;
}
.nav-link {
	font-weight: 600;
	padding: 15px 5px;
	display: inline-block;
	transition: color 0.3s;
	font-size: 14px;
}
.nav-link:hover {
	color: var(--primary-color);
}
.nav-arrow {
	font-size: 10px;
	margin-left: 4px;
	transition: transform 0.3s;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--accent-color);
	list-style: none;
	min-width: 240px;
	border-radius: 12px;
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.dropdown-menu li a {
	color: var(--white-color);
	padding: 10px 20px;
	display: block;
	font-size: 15px;
	transition: all 0.3s;
}
.dropdown-menu li a:hover {
	background: rgba(255, 255, 255, 0.1);
	padding-left: 25px;
	color: var(--primary-color);
}
.nav-item.submenu:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-item.submenu:hover .nav-arrow {
	transform: rotate(180deg);
}

/* 1. Force the header to sit OVER the banner */
.main-header {
	position: relative;
	left: 0;
	width: 100%;
	z-index: 999; /* Keeps it on top of the banner image */
	background: var(--lightest-bg); /* Allows banner to show through */
	box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 0px !important;
}

.header-sticky {
	max-width: 100%;
	margin: 0px auto;
	padding: 0 0px;
	position: relative;
	transition: all 0.4s ease;
	width: 100%;
}

/* 3. When you scroll, JavaScript adds a class to make it solid */
.header-sticky.is-sticky {
	position: fixed; /* Fixed position forces it to stick to viewport */
	top: 0;
	left: 0;
	margin: 0px auto;
	padding: 0 0;
	background-color: var(--lightest-bg); /* Becomes solid white (or your dark theme color) on scroll */
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Adds clean depth */
	z-index: 1000;
	/* Optional: Make your nav links dark when the background turns white */
	/* .nav-link { color: #333333; } */
}

.header-sticky.is-sticky .navbar {
	padding: 15px 20px;
}
/* Button Global Structural Configurations */
.btn-default {
	position: relative;
	transition: all 0.4s ease-in-out;
	overflow: hidden;
	z-index: 0;
}

.btn-default::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -15%;
	right: 0;
	width: 0;
	height: 106%;
	background: var(--secondary-color);
	transform: skew(45deg);
	transition: all 0.4s ease-in-out;
	z-index: -1;
}

.btn-default:hover:after {
	width: 100%;
	transform: skew(0deg);
	left: 0;
}
.btn-highlighted {
	background: var(--primary-color);
}
.w-100-btn {
	width: 100%;
	text-align: center;
}

/* Mobile Menu Specific Responsive Toggles Setup Hooks */
.navbar-toggle-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
}
.navbar-toggle-btn .bar {
	width: 25px;
	height: 3px;
	background: var(--primary-color);
	border-radius: 3px;
	transition: 0.3s;
}
.mobile-only-btn {
	display: none;
}

/* Banner */
.b-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	z-index: 10;
	transition: opacity 700ms ease-in-out;
}

.b-slider-content {
	position: relative;
	max-width: 80rem; /* max-w-7xl = 1280px */
	width: 100%;
	margin: 0 auto; /* mx-auto */
	height: 100%; /* h-full */
	padding: 3rem 1.5rem 0; /* pt-12 px-6 */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.banner-subheading {
	display: inline-flex;
	align-items: center;
	column-gap: 0.375rem; /* gap-x-1.5 = 6px */
	padding: 0.25rem 0.75rem; /* py-1 px-3 */
	margin-bottom: 1.5rem; /* mb-6 */
	border-radius: 0.375rem; /* rounded-md */

	font-size: 0.75rem; /* text-sm = 14px */
	font-weight: 500; /* font-medium */

	color: var(--bg-color); /* text-indigo-400 */
	background: rgba(var(--accent-color-rgb), 0.2); /* bg-indigo-500/10 */

	border: 1px solid rgba(var(--accent-color-rgb), 0.2); /* ring-1 ring-indigo-500/20 */
}

.max-w-2xl .text-anime-style-2 {
	font-family: var(--accent-font) !important;
}

/* md:pt-16 (768px+) */
@media (min-width: 768px) {
	.b-slider-content {
		padding-bottom: 4rem;
	}
}

/* lg:px-8 (1024px+) */
@media (min-width: 1024px) {
	.b-slider-content {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Hide items by default when parent slide is invisible */
.js-slide.opacity-0 .active-animate-item {
	opacity: 0;
	transform: translateY(20px);
}

/* Trigger animation the exact instant the parent gains opacity-100 */
.js-slide.opacity-100 .active-animate-item {
	animation: fadeInUp 0.6s ease-out forwards;
}

/* Match your original data-wow-delays using standard CSS */
.js-slide.opacity-100 [data-wow-delay="0.4s"] {
	animation-delay: 0.4s;
}
.js-slide.opacity-100 [data-wow-delay="0.6s"] {
	animation-delay: 0.6s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Ensure the text hides itself when the slide resets */
.js-slide.opacity-0 .text-anime-style-2 {
	opacity: 0;
}

/* Force the text element back to visible when the slider activates it */
.js-slide.opacity-100 .text-anime-style-2.animated,
.js-slide.opacity-100 .text-anime-style-2 {
	opacity: 1;
}

/* Breadcrum */
.wp-block-breadcrumbs li, .wp-block-breadcrumbs ol{
	justify-content: center;
}

/************************************/
/***        04. Hero css	      ***/
/************************************/

.hero-section {
	width: 100%;
	padding: 10px 30px !important;
}

.hero.hero-bg-image {
	position: relative;
	background: url("../images/hero-bg.jpg") no-repeat;
	background-position: center center;
	background-size: cover;
	border-radius: 40px;
	padding: 150px 15px;
	overflow: hidden;
}

.hero.hero-bg-image::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--primary-color);
	opacity: 80%;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero.hero-bg-image.hero-video .hero-bg-video {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.hero.hero-bg-image.hero-video .hero-bg-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-section {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.hero-content {
	width: calc(55% - 20px);
	align-content: center;
	background: var(--white-color);
	border-radius: 40px;
	padding: 4.688vw;
}

.hero.hero-bg-image .hero-content {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	background: transparent;
	text-align: center;
	padding: 0;
	z-index: 2;
}

.hero.hero-bg-image .hero-content .section-title p {
	width: 100%;
	max-width: 750px;
	margin: 20px auto 0;
}

.hero.hero-bg-image .hero-content .hero-content-list ul,
.hero.hero-bg-image .hero-content .hero-body {
	justify-content: center;
}

.hero.hero-bg-image .hero-content .hero-body .video-play-button a {
	border-color: var(--white-color);
}

.hero.hero-bg-image .hero-content .hero-body .video-play-button a i,
.hero.hero-bg-image .hero-content .hero-content-list ul li::before,
.hero.hero-bg-image .hero-content .hero-content-list ul li,
.hero.hero-bg-image .hero-content .hero-body .video-play-button p {
	color: var(--white-color);
}

.hero-body {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px 40px;
	margin-top: 40px;
}

.hero-body .video-play-button {
	display: inline-flex;
	align-items: center;
}

.hero-body .video-play-button p {
	font-weight: 700;
	text-transform: capitalize;
	color: var(--primary-color);
	margin: 0 20px 0 0;
}

.video-play-button a {
	height: 50px;
	width: 50px;
	border: 5px solid var(--accent-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: none;
	transition: all 0.3s ease-in-out;
}

.video-play-button a i {
	font-size: 18px;
	color: var(--accent-color);
	margin-left: 2px;
	transition: all 0.3s ease-in-out;
}

.video-play-button:hover a {
	background: var(--accent-color);
}

.video-play-button:hover a i {
	color: var(--white-color);
}

.hero-content-list {
	margin-top: 40px;
}

.hero-content-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.hero-content-list ul li {
	position: relative;
	display: inline-block;
	line-height: 1.5em;
	color: var(--text-color);
	text-align: left;
	padding-left: 30px;
}

.hero-content-list ul li:before {
	content: "\f058";
	position: absolute;
	font-family: "Font Awesome 6 Free";
	top: 0;
	left: 0;
	font-size: 18px;
	color: var(--accent-color);
}

.hero-image {
	position: relative;
	width: calc(45% - 20px);
}

.hero-image figure {
	display: block;
	height: 100%;
	border-radius: 40px;
}

.hero-image figure img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 40px;
}

.working-hours-box {
	position: absolute;
	left: 40px;
	bottom: 40px;
	display: inline-block;
	background: var(--divider-color);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 30px;
}

.working-hours-box .icon-box {
	margin-bottom: 20px;
}

.working-hours-box .icon-box i {
	color: var(--white-color);
	font-size: 35px;
}

.working-hours-content h3 {
	font-size: 22px;
	color: var(--white-color);
	margin-bottom: 10px;
}

.working-hours-content p {
	color: var(--white-color);
	margin: 0;
}

.banner-counter h4{
	font-size: 28px;
	line-height: 1.1;
    margin-bottom: 10px;
}

/************************************/
/***        05. About Us css      ***/
/************************************/

.about-us {
	padding: 100px 0;
}

.about-us .section-title.section-title-center {
	max-width: 960px;
}

.about-us-image {
	margin-bottom: 50px;
}

.about-us-image figure {
	display: block;
	border-radius: 40px;
}

.about-us-image img {
	width: 100%;
	aspect-ratio: 1 / 0.457;
	object-fit: cover;
	border-radius: 40px;
}

.about-us-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px 60px;
}

.about-us-list ul li {
	position: relative;
	font-family: var(--accent-font);
	font-size: 22px;
	line-height: 1.5em;
	color: var(--text-color);
	padding-left: 30px;
}

.about-us-list ul li:before {
	content: "\f058";
	position: absolute;
	font-family: "Font Awesome 6 Free";
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	font-size: 20px;
	color: var(--primary-color);
}

/* Interactive Hover Dynamic Service Cards Section Styling Grid Rules */
.services-grid-section {
	max-width: calc(100% - 40px);
	margin: auto;
	padding: 80px 20px;
	background-image: url("https://www.drraghavendrakembhavi.com/wp-content/uploads/2026/10/section-bg-image-1.webp");
	background-position: center center;
	background-size: cover;
	border-radius: 30px;
}
.section-header-center {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 50px;
}
.section-header-center h3, .os_sub_heading {
	font-size: 14px;
	text-transform: uppercase;
	color: var(--primary-color);
	letter-spacing: 2px;
}
.section-header-center h2 {
	font-size: 36px;
	margin-top: 10px;
}

.services-container-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}
.service-card-item {
	background: var(--white-color);
	padding: 40px 30px;
	border-radius: 20px;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.service-item {
	position: relative;
	background: var(--white-color);
	border-radius: 20px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 28px;
	overflow: hidden;
}
.icon-box img {
	width: 80px;
}
.service-item:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--secondary-color);
	border-radius: 999px 999px 0 0;
	height: 0;
	width: 100%;
	transition: all 0.4s ease-in-out;
	z-index: 0;
}

.service-item.active .readmore-btn {
	color: var(--white-color);
}

.service-item.active .readmore-btn:after {
	color: var(--white-color);
	border: 1px solid var(--white-color);
}

.service-item.active:before,
.service-item:hover:before {
	border-radius: 0;
	height: 100%;
}

.service-item .icon-box,
.service-content,
.service-readmore-btn {
	position: relative;
	z-index: 1;
}
.service-card-item .icon-box {
	font-size: 36px;
	color: var(--accent-color);
	margin-bottom: 30px;
}
.service-card-item h3 {
	font-size: 22px;
	margin-bottom: 15px;
}
.service-card-item p {
	font-size: 16px;
	line-height: 1.8;
}
.readmore-btn {
	display: inline-block;
	margin-top: 20px;
}

/* Counter Metric Section Styles */
.counter-facts-section {
	background: var(--primary-color);
	padding: 60px 20px;
	margin: 60px 0;
	border-radius: 40px;
}
.counter-grid-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}
.counter-item-card {
	color: var(--white-color);
}
.counter-item-card h2 {
	font-size: 54px;
	color: var(--white-color);
	display: inline-block;
}
.counter-item-card .suffix {
	font-size: 40px;
	color: var(--secondary-color);
	font-family: var(--accent-font);
}
.counter-item-card p {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 10px;
	opacity: 0.8;
}

/* Appointment Structural Custom Validation Forms Container Layout Area CSS Rules */
.appointment-form-section {
	max-width: calc(100% - 40px);
	margin: 80px auto;
	padding: 0 20px;
}
.form-layout-flex {
	max-width: 1300px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	background: var(--primary-color);
	padding: 60px;
	border-radius: 40px;
}
.form-layout-flex h3,
.form-layout-flex h2,
.form-layout-flex a,
.form-layout-flex p,
.form-layout-flex h4 {
	color: var(--white-color);
}
.form-text-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.form-text-side h2 {
	font-size: 42px;
	margin-bottom: 30px;
}
.info-list-rows {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.info-item-row {
	display: flex;
	align-items: center;
	gap: 15px;
}
.info-item-row i {
	font-size: 24px;
	color: var(--white-color);
}
.form-card-wrapper {
	background: var(--white-color);
	padding: 40px;
	border-radius: 30px;
}
.form-group {
	margin-bottom: 20px;
}
.form-row-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.form-control {
	width: 100%;
	padding: 14px 20px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-family: var(--default-font);
	font-size: 15px;
}
.form-control:focus {
	outline: none;
	border-color: var(--accent-color);
}
.form-msg {
	margin-top: 15px;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
}
.form-msg.success {
	color: green;
}
.form-msg.error {
	color: red;
}

/* Pure CSS Keyframe Animation Hooks Setup Rules */
.slide-up-anim {
	opacity: 0;
	transform: translateY(30px);
	animation: slideUp 0.8s forwards ease-out;
}
@keyframes slideUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Layout Parameter Breakdown Constraints CSS Configurations Override Layout */
@media (max-width: 991px) {
	.hero-section,
	.services-container-cards,
	.form-layout-flex {
		grid-template-columns: 1fr;
	}
	.counter-grid-container {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
	.navbar-toggle-btn {
		display: flex;
	}
	.nav-menu-wrapper {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--accent-color);
		border-radius: 0 0 20px 20px;
		padding: 20px;
		display: none;
	}
	.nav-menu-wrapper.show {
		display: block;
	}
	.navbar-nav {
		flex-direction: column;
		gap: 10px;
	}
	.navbar-nav .nav-link {
		color: var(--white-color);
	}
	.dropdown-menu {
		position: relative;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: rgba(0, 0, 0, 0.1);
		display: none;
	}
	.nav-item.submenu.open .dropdown-menu {
		display: block;
	}
	.header-btn {
		display: none;
	}
	.mobile-only-btn {
		display: block;
		margin-top: 10px;
	}
	.nav-link-btn {
		background: var(--secondary-color);
		color: var(--primary-color) !important;
		text-align: center;
		padding: 12px;
		border-radius: 8px;
		display: block;
		font-weight: bold;
	}
	.appointment-form-section .form-text-side h2{
		font-size: 1.75rem;
	}
}

@media (max-width: 576px) {
	.counter-grid-container {
		grid-template-columns: 1fr;
	}
	.topbar {
		display: none;
	}
	.hero-content,
	.form-layout-flex,
	.form-card-wrapper {
		padding: 20px;
	}
	.section-title h1 {
		font-size: 32px;
	}
	.hero-content-list ul {
		gap: 15px;
	}
	.hero-content,
	.hero-image {
		width: 100%;
	}
	.appointment-form-section .form-layout-flex{
		padding: 40px 0;
	}
}

/* Media */
@media only screen and (max-width: 991px) {
	.about-us {
		padding: 50px 0;
	}

	.about-us .section-title.section-title-center {
		max-width: 100%;
	}

	.about-us-image {
		margin-bottom: 30px;
	}

	.about-us-image figure {
		border-radius: 26px;
	}

	.about-us-image img {
		aspect-ratio: 1 / 0.52;
		border-radius: 26px;
	}

	.about-us-list ul {
		gap: 10px 30px;
	}

	.about-us-list ul li {
		font-size: 20px;
		padding-left: 25px;
	}

	.about-us-list ul li:before {
		font-size: 18px;
	}
}

/* Media */

@media only screen and (max-width: 767px) {
	.about-us-image img {
		aspect-ratio: 1 / 0.75;
	}

	.about-us-list ul {
		gap: 10px 30px;
		justify-content: left;
	}

	.about-us-list ul li {
		font-size: 18px;
	}
}

.max-w-7xl {
	max-width: 1300px !important;
}

@media(min-width: 995px){
/* Ensure the parent dropdown items position correctly relative to child submenus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none; /* or handle via opacity/visibility depending on your setup */
}

/* Base style for top-level menu item on hover */
.navbar-nav .nav-item.submenu:hover > .dropdown-menu {
  display: block;
}

/* Sub-Submenu positioning (Second level and deeper) */
.dropdown-menu .nav-item {
  position: relative; /* Anchor point for side flyout */
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%; /* Opens to the right of the parent item */
  margin-top: 0;
}

/* Flyout trigger for nested submenus on hover */
.dropdown-menu .nav-item.submenu:hover > .dropdown-menu {
  display: block;
}

/* Rotate or adjust arrow indicator for nested parent items */
.dropdown-menu .nav-item.submenu > .nav-link .nav-arrow {
  transform: rotate(-90deg); /* Points arrow right for side menus */
  margin-left: auto;
  float: right;
  line-height: inherit;
}
/* Position anchor for parent menu items inside dropdowns */
.dropdown-menu .nav-item.submenu {
  position: relative;
}

/* Sub-submenu flyout positioning */
.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  display: none;
}

.dropdown-menu .nav-item.submenu:hover > .dropdown-menu {
  display: block;
}

/* Auto-generate side arrow for sub-menu items with children */
.dropdown-menu .nav-item.submenu > .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1.5rem; /* Space for the pseudo-element arrow */
}

.dropdown-menu .nav-item.submenu > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg); /* Creates a right-facing chevron */
  transition: transform 0.2s ease;
}

/* Optional hover animation for the arrow */
.dropdown-menu .nav-item.submenu:hover > .nav-link::after {
  transform: rotate(45deg) translateX(2px);
}

}

/* ==========================================================================
   Mobile Navigation & Dropdown Styling (Fixes Multi-Highlight Bug)
   ========================================================================== *

/* 1. Mobile CTA Item Display Rules */
.nav-menu-wrapper ul.navbar-nav li.mobile-only-btn {
    display: block !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@media screen and (min-width: 992px) {
    .nav-menu-wrapper ul.navbar-nav li.mobile-only-btn {
        display: none !important;
    }
}

/* 2. Mobile Nav Drawer Layout (Applies up to 991px) */
@media screen and (max-width: 991px) {
    .nav-menu-wrapper {
        background: linear-gradient(180deg, #5b9ed6 0%, #4a8ec8 100%) !important;
        padding: 1.5rem 1.25rem 2rem 1.25rem !important;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    }

    .nav-menu-wrapper ul.navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-menu-wrapper .nav-item {
        position: relative !important;
        width: 100% !important;
    }

    /* Base Link Styling */
    .nav-menu-wrapper .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.875rem 1rem !important;
        color: #ffffff !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.2px !important;
        text-decoration: none !important;
        border-radius: 12px !important;
        background-color: transparent !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Reset default browser focus/active states that cause multi-highlighting on href="#" */
    .nav-menu-wrapper .nav-link:focus,
    .nav-menu-wrapper .nav-link:active {
        background-color: transparent !important;
    }

    /* Highlight ONLY when directly hovered or when the submenu carries an explicit .open / .show class */
    .nav-menu-wrapper .nav-item > .nav-link:hover,
    .nav-menu-wrapper .nav-item.open > .nav-link,
    .nav-menu-wrapper .nav-item.show > .nav-link {
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        padding-left: 1.25rem !important;
    }

    /* Active Page Link (e.g. Home page) */
    .nav-menu-wrapper .nav-item.current-menu-item > .nav-link,
    .nav-menu-wrapper .nav-item.current_page_item > .nav-link {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    /* Submenu Glassmorphism Container */
    .nav-menu-wrapper .dropdown-menu {
        background: rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 14px !important;
        margin: 0.35rem 0 0.75rem 0 !important;
        padding: 0.5rem !important;
        list-style: none !important;
    }

    .nav-menu-wrapper .dropdown-menu .nav-link {
        font-size: 0.9375rem !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        padding: 0.65rem 0.875rem !important;
        border-radius: 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
	
	.nav-menu-wrapper .dropdown-menu .dropdown-menu {
		background: #5a9dd5 !important;
		box-shadow: none;
	}

	.nav-menu-wrapper .dropdown-menu .dropdown-menu .nav-link {
		font-size: 0.7375rem !important;
		padding: 0.45rem 0.675rem !important
	}
	
    .nav-menu-wrapper .dropdown-menu li:last-child .nav-link {
        border-bottom: none !important;
    }

    .nav-menu-wrapper .dropdown-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        padding-left: 1.15rem !important;
    }

    /* 3. Primary CTA "Book Appointment" Button Styling */
    .nav-menu-wrapper a.nav-link-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        background: #0f2744 !important; /* Deep contrast navy */
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        padding: 0.875rem 1.5rem !important;
        border-radius: 9999px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(15, 39, 68, 0.3) !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }

    /* Arrow Icon Circle inside Button */
    .nav-menu-wrapper a.nav-link-btn::after {
        content: '' !important;
        display: inline-block !important;
        width: 1.5rem !important;
        height: 1.5rem !important;
        border-radius: 50% !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5l7.5 7.5-7.5 7.5'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 0.75rem !important;
        transition: transform 0.3s ease, border-color 0.3s ease !important;
    }

    .nav-menu-wrapper a.nav-link-btn:hover {
        background-color: #000000 !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
    }

    .nav-menu-wrapper a.nav-link-btn:hover::after {
        transform: translateX(3px) !important;
        border-color: #ffffff !important;
    }
    
   /* First .bar */
	.navbar-toggle-btn.toggle-design .bar:nth-child(1) {
		transform: rotate(45deg);
		margin-bottom: -8px;
	}

	/* Second .bar */
	.navbar-toggle-btn.toggle-design .bar:nth-child(2) {
		opacity: 0;
	}

	/* Third .bar */
	.navbar-toggle-btn.toggle-design .bar:nth-child(3) {
		transform: rotate(135deg);
		margin-top: -8px;
	}

		.nav-menu-wrapper .dropdown-menu .dropdown-menu {
		background: rgb(255 255 255 / 0%) !important;
		backdrop-filter: blur(12px) !important;
		-webkit-backdrop-filter: blur(12px) !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		border-radius: 14px !important;
		margin: 0.35rem 0 0.75rem 0 !important;
		padding: 0.5rem !important;
		list-style: none !important;
	}
}

