@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.nav-bar {
  position: fixed;
  z-index: 999;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-between;

}

.nav-bar img {
  width: 50px;
  margin-left: 30px;
}

.nav-bar ul {
  display: flex;
  list-style: none;
  padding: 5px;
  gap: 50px;
  margin-right: 50px;
}

.nav-bar ul a {
  padding-left: 10px;
  margin: auto;
  margin-top: 9px;
  font-size: 20px;
  text-decoration: none;
  color: rgb(43, 55, 56);
  transition: all ease-in-out 0.2s;
}

.nav-bar ul a:hover {
  color: rgb(56, 121, 218);
}

.sec1 {
  background-image: url("bg-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec1 h2 {
  color: rgb(25, 31, 30);
  font-size: 40px;
}

span {
  color: #00bcd5;
}

.main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background-color: rgba(240, 248, 255, 0.212);
  gap: 15px;
  width: 800px;
}

.main-text p {
  font-size: 40px;
  color: rgb(0, 0, 0);
  font-size: 30px;
}

.btns {
  display: flex;
  gap: 30px;
}

.btn-1 {
  padding: 8px;
  border-radius: 5px;
  color: rgb(0, 0, 0);
  background-color: rgba(216, 219, 218, 0);
  font-size: 20px;
  transition: all ease-in 0.25s;
}

.btn-1:hover {
  background: #45a9d8a8;
}

.btn-2 {
  padding: 8px;
  border-radius: 5px;
  color: #00bcd5;
  background-color: #ffffff00;
  font-size: 20px;
  transition: all ease-in 0.25s;
}

.btn-2:hover {
  background: rgba(255, 255, 255, 0.575);
}
.sec-2 {
  text-align: center;
}

.sec-2-title {
  font-size: 40px;
  margin-top: 10px;
  font-weight: 600;
}

.sec-2 p {
  font-size: 20px;
  color: rgb(129, 126, 126);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-left: 20px;
  margin-right: 20px;
}
.card {
  margin: 20px;
  background: #f5f5f5;
  border: 1px solid #98dad4;
  padding: 15px 20px 30px;
  position: relative;
  border-radius: 15px;
}

.cards img {
  margin-left: 45%;
}

.card p {
  font-size: 20px;
}

.section-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px 0;
}
.grid {
  width: 80%;
}

.grid-img {
  width: 100%;
  object-fit: cover;
}

.grid-img img {
  width: 100%;
  border-radius: 20px;
  padding-left: 15px;
  margin-top: 10px;
}

.text-sec {
  display: flex;
  margin-left: 30px;
}
.text-sec img {
  width: 70px;
  height: 70px;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.discription h5 {
  color: gray;
}

.grid h2 {
  font-size: 30px;
  font-weight: 500;
  margin-left: auto;
  margin-bottom: -30px;
}

.discription p {
  font-size: 25px;
}

.discription h5 {
  font-size: 15px;
}

.discription {
  margin-left: 20px;
}

.section-4 {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.section-4 h2 {
  margin: auto;
  text-align: center;
  font-size: 35px;
  font-weight: 500;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.section-4 img {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
}


.doctors p {
  margin: 8px;
  font-size: 25px;
  color: rgba(0, 0, 0, 0.89);
  font-weight: 450;
  text-align: center;
}

.doctor h6 {
  font-size: larger;
  font-weight: 400;
  margin-top: 5px;
  color: rgb(73, 73, 73);
}

#next,#prev{
  font-size: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #0a55e0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  background-color: #aceefe;
}
#next{
  right: 30px;
}

#prev{
  left: 30px;
}
.doctor{
  min-width: 100%;
  text-align: center;
}

.doctors{
  display: flex;
  align-items: center;
  transition: transform 0.4s ease-in-out;
}

.slider{
  position: relative;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: auto;
}



.section-5 {
  margin: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.days {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid gray;
}
.hours {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hours h2 {
  font-size: 28px;
}

.contact {
  background-color: #aceefe;
  padding: 5px;
  border-radius: 10px;
}

.contact h2 {
  margin-left: 20px;
  margin-bottom: 15px;
  font-size: 28px;
  padding: 15px;
}

.form {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  gap: 20px;
}

.form button{
margin: auto;
}

input , select {
  width: 80%;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  border: 0;
  font-size: large;
}

.Check {
  margin-left: 32%;
  margin-top: 20px;
  padding: 5px;
  background-color: #f5f5f500;
  font-size: 18px;
  transition: all ease-in 0.2s;
  border-radius: 5px;
}

.Check:hover {
  background-color: #f5f5f5;
}
footer {
  padding: 15px;
  background: linear-gradient(45deg, #54c1c5, #0000ff);
}

footer p {
  font-size: 20px;
  margin-left: 30%;
  color: white;
}

@media(max-width:600px){

  .nav-bar ul{
    justify-content: center;
    margin: 20px 20px 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  .nav-bar img {
    display: none;
  }
}