
/*Dr. Aminur RAHMAN, Dhaka Bangladesh
July 17,Twenty24
Moving HealthCare Delivery to the next level We want.
Connecting, Consulting, and Receiving  Health Services
is changing and the process continue Evolving.
-----*/


*, 
*::before, 
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: inherit;
	-webkit-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

::selection {
	background: var(--clr-red);
	color: var(--clr-black);
}

::-moz-selection {
	background: var(--clr-red);
	color: var(--clr-black);
}

/*--My local Font Set
created on Aug 2021, TO CA----
Regular Font and Iconic Font*/

@font-face {
	font-family: 'maplefont';
	src: local('maplefont'), url("../maplefont/fonts/maplefont.woff") format("woff");     
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


@font-face {
    font-family: 'lato';
	src: local('lato'), url('../latofont/lato-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Roboto';
	src: local('Roboto'), url('../robotofont/Roboto-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'poppins';
    src: local('poppins'), url('../poppins/poppins-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
	font-display: swap;

}

@font-face {
    font-family: 'helvetica';
    src: local('helvetica'), url('../helvetica/helvetica-webfont.woff') format('woff');
	font-weight: normal;
    font-style: normal;
	font-display: swap;
}


:root {	
	--ff-primary: 'Roboto', Sans-serif;
	--ff-iconic: 'maplefont';
	--fw-0: 300;
	--fw-1: 400;
	--fw-2: 500;
	--fw-3: 600;
	--fw-4: 700;
	--clr-neutral: #fefefe;
	--clr-primary: #444;
	--clr-light: #5F5F5F;
	--clr-lighter: #6F6F6F;
	--clr-black: #535353;
	--clr-white: #ffffff;
	--clr-red: #FF5811;
	--clr-blue: #0000cc;
	--clr-green: #00CC00;
	--clr-yellow: #FFFF09;
	--clr-turqouise: #eafaf8;
	--clr-bg: #fdfdfd;
		
}

html,
body { 
	font-size:1.0em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
	word-break: break-word;
	word-wrap: break-word;
	scroll-behavior: smooth;
	min-height: -webkit-fill-available;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--ff-primary);
	font-weight: var(--fw-1);
	background: var(--clr-bg);
	text-rendering: optimizeSpeed;
	min-height: 100vh;
	min-height: 100dvh;
	min-height: -webkit-fill-available;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
}


/* Main body SECTIONS  August 2021*/

body {
	display: grid;
	grid: auto-flow / minmax(5.5vw, 1fr) minmax(35rem, 100%) minmax(5.5vw, 1fr);
	}

body > * {
	grid-column: 2/3;	
} 


/* BASIC SETUP */

.page-wrapper {
	width: 100%;
	max-width: 100%;
	height: auto; 
	}

.nav-wrapper {
	width: 100%;
	max-width: 100%;
	background: var(--clr-bg);
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0; 
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: 999;
		  
}


.main-wrapper {
	height: auto;
	width: 100%;
	margin: 0 0;
	padding: 0 0;
}

.main-wrapper :where(a) {
	color: var(--clr-red);
	text-decoration: none;
	}
	
.main-wrapper :where(a:hover, a:active) {
	text-decoration: none;
	color: var(--clr-black);
}
	

.main-wrapper :where(ul, li) {
	width: 100%;
	list-style: none;
	border:0 0;
	margin: 0 0;
}

.main-wrapper :where(li) {
	width: 100%;
	font-size: clamp(0.98rem, 0.75vw + 0.25rem, 1.6rem);
	font-weight: var(--fw-1);
	line-height: 1.5;
	padding: 0.6em 0;
	color: var(--clr-light);
	border-top: 0.010em solid #C2BFCA;
}


/*Basic Setup above August 05, 2022, 2022, TO CA*/

.intro-container {
	width: 100%;	
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18.5rem, 100%), 1fr));
	gap: 2.75rem;
	margin-block-end: min(20vh, 12.25rem);
	padding-block: min(7.5vh, 6.5vh);
			
}
.intro-container-child {
	width: 100%;	
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(8.5rem, 100%), 1fr));
	gap: 1.75rem;
	margin:0 0;
	padding: 0 0;	
}
/* off for a while ------

.intro-container > div:nth-child(1) {
	grid-column: 2/3;
	grid-row: 1/2;
	margin: 0 0;
	padding: 0 0;
	}
-----*/

	
	
		
.main-container  {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
	gap: 2.125rem;
	margin: min(12vh, 10.5rem) 0;
	}

/*---off --- sifted to intro-
.main-container > div:first-child {
	margin: 0 0;
	padding: 0.25rem;
	background: var(--clr-yellow);
	}
--*/
	
.main-container-img  {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(7.5rem, 100%), 1fr));
	grid-gap: 1.25rem;
	margin: min(15.5rem, 20vh) 0;
	justify-content: start;
	justify-items: space-between;	
	}
	

	
	
	
.main-container :where(i) {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	text-decoration: none;
	font-size: clamp(2.75rem, 1.75rem + 4.75vw, 5.5rem);
	margin: 0 1.10rem 1.25rem 0;
	padding: 0.75rem 0;
	border-right: 0.10rem dotted var(--clr-light);
	color: var(--clr-red);
}

.main-container :where(a > i:hover) {
	color: var(--clr-light);
	transform: translateY(-1.75rem);
	transition: transform 0.3s ease-out; 
	}
	
	
/*--iconic css begin below-----------*/
.iconic {
	margin: 2.5rem 0;
	}
	
		
.iconic :is(a) {
	text-decoration: none;
	font-weight: var(--fw-0);
	font-size: clamp(1.65rem, 1.125rem + 2.75vw, 2.75rem);
	color: var(--clr-light);
	}
		
.iconic :is(i) {
	color: var(--clr-red);
	font-family: var(--ff-iconic);
	text-decoration: none;
	font-size: clamp(1.425rem, 1.125rem + 3.75vw, 2.75rem);
	border-right: 0.0035rem dotted var(--clr-light);
	padding: 1.525rem 0;
	margin: 0 0;
	
	display: inline-block;
	transform: translateY(6.75%);
	transition: transform 500ms ease;
}

.iconic :is(i:hover) {
	color: var(--clr-light);
	transform: translateY(-1.25rem);
	
	}
	

h1, h2, h3, h4 {
	text-align: left;
	line-height: 1.0125;
	margin-bottom: 2.25rem;
	text-transform: capitalize;
	display: block;
	color: var(--clr-lighter);
	text-rendering: optimizeLegibility;
  }
  
  h1 {
	color: var(--clr-light);
	font-size: clamp(1.525rem, 1.10rem + 2.25vw, 3.5rem);
	font-weight: var(--fw-0);	
	}
	
	h2 {
	
	font-size: clamp(1.15rem, 1.0rem + 1.5vw, 2.25rem);
    font-weight: var(--fw-0);
	}
	
	h3 {
	font-size: clamp(1.10rem, 1.0rem + 1.25vw, 2.10rem);
	font-weight: var(--fw-1);
	}
	
	h4 {
	font-size: clamp(1.07rem, 0.95rem + 1.15vw, 1.5rem);
	font-weight: var(--fw-1);
	letter-spacing: 0.01rem;
	}
	
* :is(p) {
	color: var(--clr-light);
	font-family: var(--ff-primary);
	font-size: clamp(0.99rem, 0.75vw + 0.25rem, 1.25rem);
	line-height: 1.7;
	padding-bottom: 2.25rem;
	word-spacing: 0.01em;
	letter-spacing: 0.01em;
	text-rendering: optimizeLegibility;
	}
	

	
	
	span {
	color: var(--clr-black);
	font-weight: var(--fw-4);
	}

.main-wrapper img {
	width: 100%;
	height: auto;
	margin-bottom: 1.25rem;
	display: block;
}

.main-wrapper img:hover {
	transform: translateY(-6.75%);
	transition: transform 500ms ease;
	opacity: 0.7;
	}




/*--footer-----*/
.main-wrapper > .footer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12.75rem, 100%), 1fr));
	width: 100%;
	grid-column-gap: 2.525em;
	grid-row-gap: 7.5em;
	padding-top: min(15.5rem, 15.5vh);
	padding-bottom: min(7.5rem, 4.5rem);
	
}

/*--footer css ended here --- */


/*icons -mobile-menu & footer-------------------*/
* :where(.mobile-menu, .footer)  i {
	display: inline-block;
	display: -moz-inline-stack;
	zoom: 1;
	
	font-family: var(--ff-iconic);
	text-decoration: none;
	font-size: clamp(1.525rem, 0.55rem + 1.65vw, 2.65rem);
	color: var(--clr-red);
	padding: 0.525em 0;
	margin-right: 0.85rem;
	border-right: 0.005em solid #D3D3D3;
}


* :where(.mobile-menu, .footer)  a > i:hover {
	color: var(--clr-light);
	transform: translateY(-1.75rem);
	transition: transform 0.5s ease-out; 
}




img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 0.75rem;
	}
	
	img:hover {
	transform: translateY(-6.75%);
	transition: transform 500ms ease;
	opacity: 0.7;
	}
	

header {
	padding: 0 0;
	width: 100%;
	max-width: 100%;
	background: var(--clr-bg);
	min-height: 7.125rem;
	display: grid;
	grid-auto-flow: column;
	justify-content: space-between;
	align-content: center;
	z-index: +10;
	}

#brand {
	margin: 0 0;
	padding: 0 0;
	display: grid;
	grid-auto-flow: column;
	grid-gap: clamp(0.0125rem, 0.125rem + 1.0125vw, 1.0125rem);
	margin: 0 0;
	padding: 0 0;
}

#brand a {
	font-weight: var(--fw-0);
	font-size: clamp(1.25rem, 0.725rem + 1.125vw, 2.25rem);	
	color: var(--clr-light);
	text-decoration: none;
	text-transform: capitalize;
	}
	
#brand a:hover {
	color: var(--clr-red);
	text-decoration: none;
	text-transform: capitalize;
	}
	
#brand :is(i) {
	color: var(--clr-red);
	text-decoration: none;
	font-size: clamp(1.25rem, 0.725rem + 1.025vw, 1.725rem);	
	border-right: 0.0015rem dotted var(--clr-light);
	padding: 1.15rem 0;
	align-content: end;
	display: inline-block;
	transform: translateY(6.75%);
	transition: transform 500ms ease;
}

#brand :is(i:hover) {
	color: var(--clr-light);
	}
	
	
/*nvbar for large screen--------*/
.navbar ul {
	list-style: none;
	height: 100%;
	display: grid;
	grid-auto-flow: column; 
	grid-gap: 0.85rem;
	justify-content: space-between;
	align-items: center;
}

.navbar li {
	padding: 0 0;
	list-style: none;
	color: var(--clr-light);
}

.navbar li:hover {
  transform: scale(1.0);
  transition: all 0.3s ease-in-out;
}

.navbar a {
	font-size: clamp(0.98rem, 0.75vw + 0.25rem, 1.6rem);
	color: var(--clr-light);
	text-decoration: none;
}


.navbar a:hover,
.navbar a:focus {
  color: var(--clr-red);
  text-decoration: none;
}


/*working hover effect----------------

.navbar li:nth-child(3)::after {
content: '';
display: none;
width: 100%;
position: absolute;
}

.navbar li:nth-child(3):hover::after {
content: '';
display: block;
width: 100%;
height: 0.25rem;
top: -0.5rem;
position: absolute;
background-color: var(--clr-light);
transition: background ease-in-out 250ms linear;
}

---------*/


#appointment,
#question {
	border-radius: 0;
	padding: 1.25rem 0;
	border-top: 0.01rem solid #E6E6E6; 
	}

	
	#question a {
	color: var(--clr-red);
	text-decoration: none;
	font-weight: var(--fw-2);
	}
	#question a:hover {
	color: var(--clr-red);
	}

	
	#appointment a {
	color: var(--clr-red);
	text-decoration: none;
	font-weight: var(--fw-2);
	}

	#appointment a:hover {
	color: var(--clr-red);
	}




/*Mamburger icon begin here---------*/
#hamburger-icon {
  margin: 0 0;
  display: none;
  cursor: pointer;
  justify-content: end;
  place-self: center;
}



#hamburger-icon :is(.bar1, bar2, .bar3){
	margin: 0.35rem 0;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#hamburger-icon :is(.bar1, .bar3){
	width: 2.35rem;
	height: 0.20rem;
	background-color: var(--clr-light);
	}

#hamburger-icon :is(.bar2){
	width: 1.7rem;
	height: 0.20rem;
	background-color: var(--clr-red);
	}


.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-0.12em, 0.12em);
  transform: rotate(-45deg) translate(-0.45em, 0.45em);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-0.25em, -0.35em);
  transform: rotate(45deg) translate(-0.25em, -0.35em);
}
/*--hamburger icon end feb 2024-----------*/




.mobile-menu {
  display: none;
  position: absolute;
  top: 5.5rem;
  padding: 4.5em 0;
  left: 0;
  min-height: 70vh;
  max-height: 100vh;
  width: 100%;
  max-width:100%;  
  transition: all 0.5s ease-in-out;
  justify-content: center;
  place-content: center;
}

.mobile-menu ul {
	list-style: none;
	outline: none;
}

.mobile-menu li {
	list-style: none;
	font-size: clamp(1.10rem, 0.25rem + 0.75vw, 1.5rem);
	padding: 0.75rem 0;
	border-top: 0.01rem solid #E6E6E6;
	color: var(--clr-light);
	text-decoration: none;
	min-width: 75%;
	max-width: 100%;
	transition: transform background 0.4s ease-in-out;
}

.mobile-menu  div:last-child {
	margin-top: 1.5rem;
	border-bottom: 0;
}


.mobile-menu a {
  text-decoration: none;
  color: var(--clr-light);
  font-size: clamp(1.10rem, 0.25rem + 0.75vw, 1.5rem);
  font-weight: var(--fw-1);
  text-transform: normal;
}


.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--clr-red);
 }
 
.open .mobile-menu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr));
	grid-column-gap: 2.75rem;	
	justify-content: center;
	place-content: start;
	background: var(--clr-bg);
	padding: 2.5em 0;
	z-index: +10;
	-webkit-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
	
	}


@media only screen and (max-width: 48Rem) {

body {
	display: grid;
	grid: auto-flow / minmax(5.5vw, 1fr)  minmax(35vw, 100%) minmax(5.5vw, 1fr);
	
	}

body > * {
	grid-column: 2/3;
	} 

     
header nav {
	grid-column: 2/3;
	display: none;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	
	}
    
#hamburger-icon {
    display: block;
  }
  
.intro-container > div:nth-child(1) {
display: none;
}


.main-container-img > div:nth-child(n + 2) { 
	display: none;
	}  
  
  
}


/* iconic script here April 2021 ---*/
.neurofont-icons {
	margin: 0 0;
	padding: 1.25rem 0;
	display: inline-block;	
	color: var(--clr-turqouise);
}


.neurofont-icons a {
	display: -moz-inline-stack;
	display: inline-block;
	color: var(--clr-torqouise);
	zoom: 1;
	*display: inline; 
	text-transform: none;
	text-decoration: none;
  
}

.neurofont-icons a:hover {
	background: transparent;
	color: var(--clr-green);
}

/*--- iconic script ended---------*/

/*contact form-------------begin here May 24, 2022*/
.form-container {
	width: 100%;
	max-width: 100%;
	padding: 0 0;
	margin-block-end: min(4.5vh, 3.5vh);	
	}
	
.form-container :is(h2, p) {
	color: var(--clr-light);
}

.form-wrapper {
	width: 100%;
	max-width: 100%;
	display: grid;
	grid-auto-flow: row;
	/*off today -grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
	grid-column-gap: clamp(1.5rem, 1.5rem + 1.75vw, 3.75rem);
	justify-content: center;
	place-content: center;
	--*/
	margin: 0 0;
	padding: 0 0;
	}
	
.form-wrapper .form-input {
	width: 100%;	
	padding: 0.25rem 0;
	justify-content: start;
	place-items: start;
}


.form-input :is(label) {
	
	top: 0;
	left: 0;
	
	font-size: clamp(1.15rem, 0.25rem + 0.95vw, 1.25rem);
	color: var(--clr-lighter);
	transition: 0.5s linear;
	margin-block: 1.5vh;
	} 


	.form-input :is(input, textarea) {
		width: 100%;
		font-size: clamp(1.0rem, 0.25rem + 0.65vw, 1.5rem);
		color: var(--clr-light);
		line-height: 1.4;	
		outline: none;
		border: none;
		background: #F0F0F0;
		transition: 0.5s linear;
		overflow: hidden;
		margin-block: 0.75rem;
		padding: 0.55rem;
	}
	
	.form-input :is(input:focus, textarea:focus) { 
		padding: 1.135rem;
		background: var(--clr-yellow); 
		outline: none;
		border: none;
		margin-block: 0.65rem;
	}
	


.form-container input[type="submit"] {
	background: var(--clr-light);
	display: inline-flex;
	justify-content: center;
	justify-items: center;
	width: 80%;
	padding: 2vh 2vw;
	margin-block: min(2.25vh, 3.25vh);
	font-size: clamp(1.15rem, 0.25rem + 1.75vw, 2.75rem);
	color: var(--clr-white);
	font-weight: var(--fw-2);
	outline: none;
	border: none;
	cursor: pointer;
}

.form-container input[type="submit"]:hover{
background: var(--clr-red);
color: var(--clr-white);
}

/*--goform codes--*/
.error {
    color: red;
    font-size: small;
    margin-top: 2px;
}
#success-message {
    width: 100%;
    padding: 0 0;
	margin-block-end: min(7.5vh, 5.5vh);
    color: rgb(243, 7, 58);
    display: none; /* Initially hidden */
}


/* form-container*/




/*--custom-button-begin below---*/
.btn {
	background: var(--clr-red);
	width: 65%;
	display: inline-flex;
	justify-content: center;
	justify-items: center;
	padding: 1.5vh 5.5vw;
	font-size: clamp(1.10rem, 0.25rem + 1.75vw, 2.75rem);
	color: var(--clr-white);
	font-weight: var(--fw-2);
	border: none;
	outline: none;
	cursor: pointer;
}

.btn:hover{
background: var(--clr-light);
color: var(--clr-white);
}


 /* --faq- style begin below---May 09, 2024-- */
  
  
  .neurology-faq-list {
    list-style: none;
    padding: 0;
    margin-block: 3.5rem;
  }
  
  .neurology-faq-item {
	margin-block: 0.25rem;
	padding-block: 0.65rem;
	background-color: inherit;
	cursor: pointer;
	transition: background-color 0.3s ease;
	border-top: 0.00115rem dotted grey;
  }
  
  .neurology-faq-item:last-child {
	border-bottom: 0.00115rem dotted grey;
}
  
  .neurology-faq-item:hover {
    background-color: inherit;
  }
  
   
  .neurology-faq-item h3 {
	padding-block: 0.75rem;
	font-size: clamp(1.125rem, 0.98rem + 2.25vw, 1.5rem);
	color: var(--clr-red);
	line-height: 0.98;
	margin: 0 0;
	display: grid;
	grid-auto-flow: column;
	grid-gap: 7.5vw;
	justify-content: space-between;
	align-items: center;
  }
  
  .neurology-faq-item h3:hover {
	background-color: var(--clr-yellow);
    color: var(--clr-light);
	transition: background-color ease-in-out 0.5s;
	transform: translateY(7.5%);
	transition: transform 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	padding-block: min(3.5vh, 2.25vh);
  }
  
  	
 .neurology-faq-item h3::after {
    display: inline-block;
	position: relative;
	content: "";
	width: 20px;
	height: 20px;
	border-top: 0.175rem solid var(--clr-light);
	border-left: 0.175rem solid var(--clr-red);
	transform: rotate(+128deg);
}
   

  .neurology-faq-item.active h3::after {
	transform: rotate(0deg);
	content: "";
	display: block;
	width: 3.5rem;
	height: 0.125rem;
	background-color: var(--clr-red);	
  }
  
  
  
  .neurology-faq-item .neurology-faq-container {
	padding: 0 0;
	margin-block: 1.5em;
	display: none;
	color: var(--clr-light);
	font-size: clamp(0.98rem, 0.75rem + 0.125rem, 1.0125rem);
	line-height: 1.6;
  }


  .neurology-faq-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(12.75rem, 100%), 1fr));
	width: 100%;
	grid-column-gap: 2.125em;
	margin: 0 0;
	
  }
  
  /*---FAQ style ended here----------*/