/* ---- Global CSS ---- */

:root {
	--container-max-width: 1170px;
	--primary-color: #a9dbeb;
	--secondary-color: #1a4d7e;
	--font-family: Inter, sans-serif;
}

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

.container {
	width: var(--container-max-width);
	margin-left: auto;
	margin-right: auto;
}

body {
	font-family: var(--font-family);
}

/* ---- Hero nav ---- */

#hero-nav {
	background-color: #000;
	padding: 10px 0;
}

.hero-nav-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.icon {
	color: #fff;
	font-size: 14px;
	padding-right: 3px;
}

.hero-nav-left-details span {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.hero-nav-right-details {
	display: flex;
	align-items: center;
}

.hero-nav-right-details a {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding-right: 8px;
	text-decoration: none;
}

.hover-effect:hover i,
.hover-effect:hover a {
	color: var(--primary-color);
}

.line {
	color: #fff;
	font-size: 20px;
	padding-right: 10px;
}

/* ---- Main Navbar ---- */

/* #main-nav .navbar {
	transition: all 0.5s;
	z-index: 997;
} */

.bg-body-color {
	background-color: #edfff8;
}

.logo-container img {
	width: 70px;
}

/* .hospital-name h6 {
	color: var(--primary-color);
	
	font-size: 10px;
	font-weight: 700;
	font-family: var(--font-family);
	text-align: center;
	margin: 0 -80px;
}

.hospital-name h6 span {
	color: var(--secondary-color);
	text-decoration: underline;
} */

.nav-item a {
	color: var(--secondary-color);
	font-size: 16px;
	margin: 0 10px;
}

.nav-link:focus,
.nav-link:hover {
	color: #62c4e2 !important;
}

.navbar-toggler {
	position: relative;
	float: right;
	padding: 9px 10px;
	margin-top: 8px;
	margin-right: 15px;
	margin-bottom: 8px;
	border: 1px solid #ddd;
	border-radius: 0;
}

.dropdown-menu {
	margin: 4px 0 0 0;
	width: 150%;
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 45%, #e8f4ff 100%);
	border-radius: 18px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
	border: none;
}

.dropdown-toggle:hover::after {
	color: var(--secondary-color);
}

/* .product-item:hover {
	color: var(--secondary-color) !important;
} */

.navbar .dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0;
}

.navbar .dropdown-toggle::after {
	transition: transform 0.2s;
}
.navbar .dropdown:hover .dropdown-toggle::after {
	transform: rotate(180deg);
}

.icon-bar {
	background-color: var(--secondary-color);
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
}

.icon-bar + .icon-bar {
	margin-top: 4px;
}

.navbar-collapse {
	justify-content: flex-end;
}

/* ---- DropDown ---- */

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	color: var(--secondary-color);
	font-weight: bold;
}
/* Wrapper */
.mega-wrapper {
	position: relative;
}

/* Dropdown container */
.mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 620px;
	display: flex;
	/* background: #ffffff; */
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 45%, #e8f4ff 100%);
	border-radius: 18px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
	padding: 18px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: 0.3s ease;
	z-index: 999;
}

/* Show on hover */
.mega-wrapper:hover .mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* LEFT COLUMN */
.mega-left {
	width: 45%;
	list-style: none;
	padding: 0;
	margin: 0;
	border-right: 1px solid #e5e7eb;
}

.mega-left li {
	padding: 6px 18px;
	cursor: pointer;
	border-radius: 10px;
	/* color: #334155; */
	font-weight: 500;
	transition: 0.25s;
}

.mega-left li {
	color: var(--secondary-color);
}

.mega-left li:hover {
	color: var(--secondary-color);
	font-weight: bold;
}

.mega-left li:hover,
.mega-left li.active {
	background: #f1f8ff;
}

/* RIGHT COLUMN */
.mega-right {
	width: 55%;
	padding-left: 18px;
}

.mega-panel {
	display: none;
}

.mega-panel.show {
	display: block;
}

.nav-item .product-item.active {
	color: var(--secondary-color) !important;
	font-weight: bold;
	/* color: red; */
	background-color: initial;
}

.nav-item .product-item {
	display: block;
	padding: 2px 14px;
	margin-bottom: 8px;
	border-radius: 12px;
	text-decoration: none;
	color: #334155;
	transition: 0.25s;
}

/* .nav-item a:hover {
	color: #62c4e2 !important;
} */

.nav-item .product-item:hover {
	background: #f1f8ff;
	color: var(--secondary-color);
	/* color: red; */
	font-weight: bold;
}

/* .product-item {
	color: red !important;
	transition: 0.3s;
	display: block;
	font-size: 16px;
	text-transform: none;
	text-decoration: none;
	font-family: 'Raleway', sans-serif;
	padding: 5px 10px;
} */

/* .product-item:hover {
	color: var(--secondary-color);
} */
/* ----Intro Section---- */

:root {
	--primary-color: #a9dbeb;
	--secondary-color: #1a4d7e;

	/* rgb components for rgba overlays */
	--primary-rgba: 169, 219, 235; /* #a9dbeb */
	--secondary-rgba: 26, 77, 126; /* #1a4d7e */

	/* tweak overlay opacity */
	--overlay-alpha-top: 0.5;
	--overlay-alpha-bottom: 0.18;
}

.hero-section {
	position: relative;
	overflow: hidden;
}

#intro-carousel,
.carousel-inner,
.carousel-item {
	height: 100vh;
}

#intro #intro-carousel,
#intro .carousel-inner,
#intro .carousel-item {
	height: 80vh;
	min-height: 360px;
}

/* .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
} */

.carousel-item img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

.carousel-item {
	position: relative;
}

.carousel-item::after {
	content: '';
	position: absolute;
	inset: 0;

	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.55),
		rgba(0, 0, 0, 0.25)
	);

	z-index: 1;
}

/* .carousel-item {
	position: relative;
	min-height: 60vh; 
	display: block;
	overflow: hidden;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--secondary-color)
	); 
} */

/* Make sure image fills and is behind overlay */
.carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* translucent gradient overlay using the variables */
.carousel-item::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;

	/* top-to-bottom translucent blend of primary -> secondary */

	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.55),
		rgba(0, 0, 0, 0.25)
	);
}

/* Intro text sits above the overlay */
/* .intro-content {
	position: absolute;
	inset: 0; 
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px;
} */

.intro-content {
	position: absolute;
	inset: 0;
	z-index: 2; /* ABOVE overlay */
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.intro-content h2 {
	color: #ffffff !important;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.intro-content h2 span {
	display: block;
	margin-top: 14px;
	color: #bbdce6 !important;
	font-size: 18px;
	font-weight: 500;
}

/* Third line text */
.intro-content h2 br + span + text {
	color: #e5f3ff;
}

.intro-content h2 small {
	display: block;
	margin-top: 12px;
	font-size: 16px;
	font-weight: 400;
	color: #eaf6ff;
}

.featurette {
	margin: 0;
}

/* .intro-content h2 {
	margin: 0;
	font-size: clamp(28px, 4.8vw, 52px);
	line-height: 1.08;
	color: var(--secondary-color); 
	font-weight: 800;
	text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); 
} */

/* Subline using primary color (lighter) */
/* .intro-content h2 span {
	display: block;
	margin-top: 12px;
	color: var(--primary-color);
	font-weight: 500;
	font-size: clamp(14px, 1.6vw, 20px);
	text-shadow: none;
	opacity: 0.95;
} */

/* Better contrast option if image is too dark/busy:
	 uncomment the next lines to force white headings (useful on darker images)
  */
/*
  .intro-content h2 { color: #ffffff; }
  .intro-content h2 span { color: rgba(255,255,255,0.9); }
  */

/* .hero-section {
	position: relative;
	overflow: hidden;
}

#intro-carousel,
.carousel-inner,
.carousel-item {
	height: 100vh;
}

#intro #intro-carousel,
#intro .carousel-inner,
#intro .carousel-item {
	height: 80vh;
	min-height: 360px;
}

.carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.intro-content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.intro-content h2 {
	color: #ffffff;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.5px;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	margin: 0;
}

.intro-content h2 span {
	display: block;
	margin-top: 16px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: #dbeafe;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.intro-content h2 span strong {
	color: #bbdce6;
	font-weight: 600;
} */

.bottom-curve {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 140px;
	z-index: 3;
}

/* #intro {
	width: 100%;
	height: 100%;
	position: relative;
	background: url('../images/dental-img1.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

#intro #intro-carousel,
#intro .carousel-inner,
#intro .carousel-item {
	height: 80vh; 
	min-height: 360px; 
}

#intro .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	-o-object-fit: cover;
}

.intro-content {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.intro-content h2 {
	color: var(--secondary-color);
	margin-bottom: 100px;
	font-size: 30px;
	font-weight: 700;
	font-family: var(--font-family);
}

.intro-content h2 span {
	color: var(--secondary-color);
	text-decoration: underline;
}  */

/* ---- bottom Curve ---- */

.hero {
	position: relative;
	overflow: visible; /* allow curve to show */
	background: #fff; /* change to your hero background */
	padding-bottom: 80px; /* reserve space so next section doesn't overlap */
}

.hero-gradient {
	position: relative;
	overflow: visible;
	padding: 48px 0 100px; /* top / bottom space — bottom must be >= svg height */
	background: linear-gradient(
		135deg,
		#f3e6ff 0%,
		#e8f8ff 60%
	); /* optional hero background */
}

/* curve styling (same as earlier) */
.bottom-curve {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100px; /* match viewBox vertical scale */
	display: block;
	z-index: 2;
	pointer-events: none;
}

/* fix seam between hero and next section (optional) */
.hero + section {
	margin-top: -2px; /* hides 1–2px seam if visible; tweak or remove as needed */
}

/* responsive: smaller height on narrow screens */
@media (max-width: 680px) {
	.bottom-curve {
		height: 110px;
	}
	.hero {
		padding-bottom: 80px;
	}
}

/* ---- contact-section ---- */

#contact-section {
	background: url(https://github.toidicode.com/89-developer/img/bg/contact-bg.jpg)
		no-repeat center center fixed;
	background-size: cover;
	color: #fff;
}

.overlay-3 {
	padding: 60px 0;
	/* background-color: rgba(9, 20, 39, 0.83); */
	/* background-color: rgba(24, 77, 77, 0.93); */
	/* background-color: rgba(33, 103, 88, 0.9); */
	background-color: rgb(5 146 189 / 78%);
}

.form-group label {
	color: var(--secondary-color);
	margin-bottom: 20px;
	font-size: 18px;
	display: inline-block;
	max-width: 100%;
	font-weight: 700;
}

.block-heading {
	margin-bottom: 60px;
}

.block-heading h1 {
	font-size: 40px;
	font-variant: small-caps;
	letter-spacing: 1px;
	font-weight: 600;
	color: #ffff;
	text-align: center;
	margin: 0 auto 24px;
	position: relative;
	padding-bottom: 12px;
	display: inline-block;
}

.block-heading h1::after {
	content: '';
	width: 100px;
	height: 2px;
	background-color: #ffff;
	display: block;
	margin: 8px auto 0;
	border-radius: 2px;
}

#full-name {
	display: block;
	margin: 0 auto;
	width: 100%;
	background: transparent;
	border: 2px solid #ffff;
	padding: 12px 15px;
	margin-bottom: 30px;
}

#email {
	display: block;
	margin: 0 auto;
	width: 100%;
	background: transparent;
	border: 2px solid #ffff;
	padding: 12px 15px;
	margin-bottom: 30px;
}

#message {
	display: block;
	margin: 0 auto;
	width: 100%;
	background: transparent;
	border: 2px solid #ffff;
	padding: 12px 15px;
	margin-bottom: 30px;
}

#number {
	display: block;
	margin: 0 auto;
	width: 100%;
	background: transparent;
	border: 2px solid #ffff;
	padding: 12px 15px;
	margin-bottom: 30px;
}

.form-control {
	border-radius: 0;
}

.button {
	background: transparent;
	border: 2px solid #ffff;
	width: 100%;
	padding: 10px;
	transition: 0.5s background linear;
	font-weight: bold;
	color: #ffff;
}

.button:hover {
	background-color: var(--secondary-color);
	/* border: 0px; */
	color: #fff;
}

.sucess {
	color: #fff;
	font-size: 12px;
	font-style: italic;
	display: block;
}

.error-message-2 {
	color: rgb(220, 92, 92);
	font-size: 12px;
	font-style: italic;
	display: block;
}

.hide {
	display: none;
}

.form-error {
	border-color: rgb(220, 92, 92);
}

.error-message {
	color: rgb(220, 92, 92);
	font-size: 12px;
	font-style: italic;
	display: none;
}

.contact-info {
	padding: 16px 62px;
	text-align: left;
	font-size: 18px;
	line-height: 36px;
	margin-top: 25px;
}

.rotated-icon {
	position: relative;
	display: inline-block;
	float: left;
	width: 50px;
}

.sqaure-nebir {
	height: 45px;
	width: 45px;
	border: 4px double #ffff;
	transform: rotate(-45deg);
	/* text-align: center; */
	position: absolute;
}

.rotated-icon i {
	position: absolute;
	top: 6px;
	left: 11px;
	font-size: 22px;
	color: #ffff;
}

.contact-info p {
	margin-left: 70px;
	display: inline-block;
	float: left;
	width: auto;
	line-height: 43px;
	margin-top: -22px;
	padding: 22px 10px;
	color: #ffff;
}

.social-box {
	list-style-type: none;
	/* padding-left: 71px; */
	margin-top: 30px;
}

.social-box li {
	display: inline-block;
	margin-right: 10px;
}

.social-box li a {
	transition: 0.5s background linear;
	color: #fff;
}

.facebook-icon {
	padding: 10px 17px;
	border: 1px solid #44619d;
	background-color: #44619d;
}

.facebook-icon:hover {
	background-color: transparent;
	color: #fff;
}

a {
	color: #337ab7;
	text-decoration: none;
}

.twitter-icon {
	padding: 10px 15px;
	border: 1px solid #33ccff;
	background-color: #33ccff;
}

.twitter-icon:hover {
	background-color: transparent;
	color: #fff;
}

.g-plus-icon {
	padding: 10px 15px;
	border: 1px solid #dd4c39;
	background-color: #dd4c39;
}

.g-plus-icon:hover {
	background-color: transparent;
	color: #fff;
}

.linkedin-icon {
	padding: 10px 15px;
	border: 1px solid #1b86bd;
	background-color: #1b86bd;
}

.linkedin-icon:hover {
	background-color: transparent;
	color: #fff;
}

/* ---- footer-section ---- */

#footer-section {
	padding: 20px 0px;
}

/* .footer {
	color: #000;
} */

.footer-wrapper {
	display: flex;
	align-items: center;
}

/* .copyright {
	text-align: right;
} */

.copyright p {
	/* font-size: 16px; */
	margin-bottom: 1px;
	/* padding: 20px 0px; */
	font-style: italic;
	margin-left: 160px;
	font-size: 14px;
	color: #555;
}

.copyright p a {
	color: var(--primary-color);
}

.copyright p a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
	/* text-decoration: 1 px solid var(--secondary-color); */
}

/* .footer-brand {
	float: left;
} */

.footer-brand img {
	width: 40px;
}

.footer-title h2 {
	color: var(--primary-color);
	/* margin-bottom: 100px; */
	font-size: 12px;
	font-weight: 700;
	font-family: var(--font-family);
}

.footer-title h2 span {
	color: var(--secondary-color);
	text-decoration: underline;
}

.footer-details {
	display: flex;
	/* justify-content: space-evenly; */
	align-items: center;
}

.copyright p i {
	color: var(--primary-color);
}
