@import url('https://fonts.googleapis.com/css2?family=Amita&family=Kalam&family=Lobster&family=Lora:ital@1&family=Merienda&family=Merienda+One&family=Playfair+Display:ital,wght@0,500;0,600;1,400;1,500&family=Roboto:wght@300;400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

.head-info {
  width: 100%;
  background-color: #009879;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1%;
}

.head-info a {
  text-decoration: none;
  color: #fff;
  margin-left: 20px;
}

p {
  margin-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.fa {
  margin-right: -17px;
}

.arrow {
  padding-left: 10px;
}

.title , .heading{
  color: #009879;
  font-size: 56px;
  line-height: 70px;
  animation-name: anim1;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes anim1 {
  0%  {color: #009879;}
  50% {color: #74f2d9;}
}

.logo-img {
  width: 80px;
}

.nav-bar {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

ul li {
  display: inline;
  list-style: none;
}

ul li a{
  text-decoration: none;
  color: #009879;
  font-size: 18px;
  margin-right: 30px;
  font-weight: bold;
}

ul li a:hover{
  color: #F55353;
}

.ho {
  color: #F55353;
}

.first-container {
  position: relative;
  overflow: hidden;
  width:100%;
  background: url("../images/doctor1.jpg") no-repeat ;
  background-size: cover;
  min-height: 550px;
}


#slider{
  width:55%;
  overflow:hidden;
}

.slides{
  overflow:hidden;
  animation-name:fade;
  animation-duration:1s;
  display:none;
}

.img-slide{
  width:100%;
  height: 600px;
  border-radius: 5px;
}

.block {
  position: relative;
  left: -30px;
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left:15% ;
  padding: 80px 0px 160px;
  color: #284f48;
}

.divider {
  width: 40px;
  height: 5px;
  background: #F55353;
  margin: 10px 0;
}

.welcome {
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase!important;
}

.second-container {
  width: 75%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

.btn1 {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  border-radius: 5px;
  background: #F55353;
  color: #fff;
  border-color: #F55353;
  cursor: pointer;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 20px;
}

.box {
  width: 32%;
  height: 370px;
  box-shadow: 0 0 20px rgb(169, 169, 171);
  position: relative;
  top: -40px;
  padding: 50px 30px;
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 20%;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  text-align: center;
  color: #284f48;
}

.icon {
  width: 70px;
  align-self: center;
  margin-bottom: 20px;
}

h4 {
  margin: 5px auto;
}

.work-hour-div {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 14px;
  margin-top: 5px;
  color: #7b948f;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #92a9a4;
  background: transparent;
  outline: none;
}

.work-hour-div span {
  margin-bottom: 7px;
}


.section-style1 {
  background: rgb(235, 255, 250);
  margin-bottom: 18%;
}


.third-container , .forth-container{
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.side-div {
  width:40%;
}

.img-book {
  width: 100%;
}

.num-info {
  position: relative;
  background: #009879;
  color: #fff;
  padding: 30px 20px;
  width: 100%;
  top: -150px;
  left: 70px;
  text-align: center;
  font-size: 40px;
}

.num-info img{
  width: 40px;
  position: relative;
  top: 5px;
}

.side-div-box1 {
  width: 35%;
}

.side-div-box2 {
  width: 60%;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.section-style2 {
  padding: 10px 0;
  margin-bottom: 18%;
}

.grid-div {
  display: grid;
  grid-template-columns: 45% 45%;
  column-gap: 8%;
  row-gap: 15%;
  margin-bottom: 20%;
}

.input-fields {
  background-color: transparent;
  color: #284f48;
  font-size: 14px;
  line-height: 1.7;
  width: 100%;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #92a9a4;
  background: transparent;
  outline: none;
  padding: 4px;
}

#doc-name ,#doc-num{
  display: none;
}

.check {
  grid-column: 1/3;
  text-align: left;
  padding-left: 10px;
  color: #284f48;
}

.contain {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
}

/* Hide the default checkbox */
.contain input {
  visibility: hidden;
  cursor: pointer;
}

/* Create a custom checkbox */
.mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 20px;
  background-color: rgb(230, 228, 228);
}

.contain:hover input ~ .mark {
  background-color: #92a9a4;
}

.contain input:checked ~ .mark {
  background-color: #009879;
}

/* Create the mark/indicator (hidden when not checked) */
.mark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the mark when checked */
.contain input:checked ~ .mark:after {
  display: block;
}

/* Style the mark/indicator */
.contain .mark:after {
  left: 6px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

select, textarea {
  width: 100%;
  color: #284f48;
  padding: 4px;
  background: transparent;
  outline: none;
  border: 1px solid #92a9a4;
}

.submit-btn {
  font-size: 14px;
  font-weight: bold;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  border-radius: 5px;
  background: #F55353;
  color: #fff;
  border-color: #F55353;
  cursor: pointer;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 20px;
}

.foot {
  background: rgb(235, 255, 250);
  font-size: 14px;
  padding-top: 200px;
}

.links {
  font-size: 14px;
  padding: 35px 0;
}

.links-inner {
  position: relative;
  top: -100px;
  width: 80%;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content:space-between;
  flex-wrap: wrap;
}

.links li {
  line-height: 2.8;
}

.links li a{
  font-size: 14px;
  display: block;
}

.first-column-foot {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 20px;
}

.first-column-foot p {
  margin-left: 50px;
  line-height: 1.7;
}

.icons {
  display: flex;
  gap: 35px;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}


/* Media */
@media only screen and (max-width: 950px) {
  .nav-menu {
    position: absolute;
    left: -100%;
    top: 10rem;
    z-index: 9;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
  display: block;
  }

  .nav-item {
      margin: 2.5rem 0;
  }

  .hamburger {
      display: block;
      cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.second-container ,.third-container, .forth-container{
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}


.box{
  width: 100%;
}

#slider, .side-div {
  width: 100%;
  margin-bottom: 20px;
}

.side-div p{
  font-size: 14px;
}

.side-div-box1 {
  width: 85%;
  margin: 50px auto;
}

.side-div-box2 {
  width: 100%;
  margin: 50px auto;
}

.side-div-box2 h1,p,text {
  margin-bottom: 25px;
}

.side-div-box2 h1{
  font-size: 40px;
}

.first-column-foot {
  width: 100%;
  gap:0;
  margin-bottom: 35px;
}

.first-column-foot .logo {
  margin: 0;
}

.head-info {
  font-size: 12px;
}
.num-info {
  top: -10px;
  left: 0px;
  font-size: 28px;
}
}


@media only screen and (max-width: 1300px) {
 
.nav-link {
  font-size: 16px;
}
.logo {
  margin-left: 0;
  margin-right: 0;
}

.logo h1{
  font-size: 40px;
}

.btn1 {
  padding: 12px 15px;
  margin-top: 0;
}
.num-info {
  top: -10px;
  left: 0px;
  font-size: 28px;
}

.num-info img {
  top: 10px;
}

.side-div p{
  font-size: 14px;
}

}









