*{
    margin: 0%;
    padding: 0%;
}
body{
    font-family: 'Roboto', sans-serif;
    background-color:rgba(253, 0, 0, 0.607);
} 
nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background-color: rgb(255, 0, 0);
    color: white;
    position: fixed;
    top: 0%;
    width: 100%;
}
ul{
    display: flex;
}
ul li {
    list-style: none;
}
ul li a{
    text-decoration: none;
    font-size: 20px;
    margin-inline: 20px;
    color: white;
}
ul li a:hover{
    color: black;
    border-bottom: 2px solid black;
}
.logo{
    font-size: 22px;
}

.main{
     display: flex; 
    align-items: center;
    justify-content: space-around;
     background-color: rgb(238, 63, 63);
     color: white;
     height: 800px;
   
    
    
} 
.mainText h1{
    font-size: 55px;
}
.mainText h3{
    font-size: 35px;
    margin-top: 20px;
}
.mainText button{
    width: 140px;
    height: 40px;
    background-color: black;
    color: white;
    font-size: 20px;
    border: none;
    margin-top: 22px;
}
.mainText button:hover{
    border: 2px solid black;
    background-color: transparent;
}
.teams{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
.teams .card{
    width: 300px;
    height: 390px;
    background-color: #fff;
    border-radius: 5px;
    margin-inline: 20px;
    margin-top: 22px;
}
.card img{
    width: 100%;
    height: 300px;
    border-radius: 5px;
}
.card p{
    margin-top: 11px;
    margin-left: 11px;
}
.head{
    text-align: center;
    padding: 80px;
}
.speciality{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.speciality .spCard{
    width: 300px;
    padding: 22px;
    background-color: #fff;
    text-align: center;
    border-radius: 5px;
    margin-top: 22px;

    margin-inline: 20px;
}
.spCard img{
    width: 200px;
}
.spCard p{
    margin-top: 11px;
}
.reviews{
    width: 800px;
    height: 400px;
    position: relative;
    margin: auto;
    overflow: hidden;
}
.patientReview{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%; 
    position: absolute;
    /* background-color: #fff; */
    transition: all 1s ease;
}
.patientReview img{
    width: 300px;
    margin-inline: 18px;
    border-radius: 4px;
}
.contact{
    width: 300px;
    background-color: #fff;
    padding: 22px;
    border-radius: 4px;
    text-align: center;
    margin: auto;
}
.contact input{
    width: 90%;
    font-size: 18px;
    padding: 9px;
    margin-top: 22px;
    border: none;
    outline: none;
    background-color: #ffffff;
    border-radius: 2px;
}
.btn button{
    width: 100px;
    height: 30px;
    background-color: rgb(13, 98, 98);
    color: white;
    font-size: 17px;
    border: none;
    margin-top: 22px;
}
.contact h1{
    color: rgb(255, 0, 0);
}
.footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 66px;
    margin-top: 66px;
    background-color: rgb(255, 0, 0);
    color: white;
}
.text p{
    margin-top: 12px;
} 
.detail{
    display: none;
    position: fixed;
    left: 50%;
    right: 50%;
    top: 5%;
    transform: translate(-50%, 40%);
    background-color: #fff;
    padding: 22px;
    width: 400px;
    border-radius: 4px;
     
}
.content{
    display: flex;
    gap: 22px;
}
.content img{
    width: 200px;
    height: 250px;
}
.content p{
    margin-top: 22px;
}
.detail button{
    position: relative;
    top: -23px;
    left: -22px;
    width: 30px;
    height: 30px;
    background-color: rgb(12, 94, 94);
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#bar{
    display: none;
    font-size: 26px;
}

.btn {
    background-color: #ffffff; /* Set the background color */
    color: #ff0000; /* Set the text color */
    padding: 10px 20px; /* Adjust padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Add border radius for rounded corners */
    cursor: pointer; /* Add cursor pointer on hover */
    text-decoration: none; /* Remove underline */
    font-size: large;
    padding-top:10px;
    margin-bottom: 0px;
}

.btn:hover {
    background-color: #ff5454; /* Change background color on hover */
    color:white;
}


footer {
    background-color: #f84242;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1; /* Adjust the width as needed */
    margin: 0 10px;
}

.footer-section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p {
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex; /* Display the ul as a flex container */
    flex-direction: column; /* Stack the li elements vertically */
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}
.testimonial {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    text-align: center;
}

.header {
    margin-bottom: 2rem;
}

.header p {
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 500;
}

.header h1 {
    font-family: "Noto Serif", serif;
    font-size: 2rem;
    font-weight: 900;
}

.testimonials__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    padding: 2rem;
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 5px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.253);
    cursor: pointer;
}

.card i {
    font-size: 2.5rem;
    color: rgb(0, 0, 0);
}

.card p {
    font-size: 1rem;
    font-weight: 500;
}

.card hr {
    width: 40px;
    margin: auto;
    color: var(--text-light);
}

.card img {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 100%;
    border: 1px solid var(--primary-color);
}

.card .name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    transition: 0.3s;
}

.card .name:hover {
    color: var(--primary-color);
}
footer {
background-color: #f84242;
color: #fff;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.footer-section {
flex: 1; /* Adjust the width as needed */
margin: 0 10px;
}

.footer-section h2 {
font-size: 1.2em;
margin-bottom: 10px;
}

.footer-section p {
margin: 0;
}

.footer-section ul {
list-style: none;
padding: 0;
display: flex; /* Display the ul as a flex container */
flex-direction: column; /* Stack the li elements vertically */
}

.footer-section ul li {
margin-bottom: 5px;
}

.footer-section ul li a {
color: #fff;
text-decoration: none;
}

.footer-section ul li a:hover {
text-decoration: underline;
}
.testimonial {
width: 100%;
max-width: 1200px;
margin: auto;
padding: 1rem;
text-align: center;
}

.header {
margin-bottom: 2rem;
}

.header p {
letter-spacing: 2px;
font-size: 1rem;
font-weight: 500;
}

.header h1 {
font-family: "Noto Serif", serif;
font-size: 2rem;
font-weight: 900;
}

