/* Main Heading Section  */

body {
  font-family: "Josefin Sans", sans-serif;
}

.heading1 {
  display: flex;
  justify-content: center;
  font-size: 45px;
  padding: 100px;
  font-weight: 800;
}

.heading2 {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  padding: 10px;
  right: 50px;
}

nav {
  background-color: rgb(237 237 237);
  width: 100%;
}

.clinicname {
  display: flex;
}

.navimg {
  height: 157px;
  width: 99%;
}

.navheading {
  text-align: center;
  color: red;
  justify-content: center;
  width: 100%;
  line-height: 20px;
  margin-top: -24px;
}

.navhead {
  font-size: 30px;
  margin-top: 66px;
  padding-bottom: -100px;
}

.navhead1 {
  margin-top: 20px;
  font-size: 55px;
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 45px;
}

nav {
  background-color: rgb(237 237 237);
  z-index: 5;
}

/* Responsive Main Heading Section  */

@media screen and (max-width: 768px) {

  .clinicname {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .navimg {
    height: 109px;
    width: 196px;
    align-items: center;
    justify-items: center;
  }

  .navheading {
    text-align: center;
    color: red;
    justify-content: center;
    width: 98%;
    line-height: 33px;
  }

  .navhead {
    font-size: 25px;
    margin-top: 36px;
    padding-bottom: -100px;
  }

  .navhead1 {
    margin-top: -28px;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 17px;
    line-height: 45px;
  }
}

/* Navbar Section */

nav:after {
  content: "";
  clear: both;
  display: table;
}

nav ul {
  list-style: none;
  position: relative;
  text-align: center;
  z-index: 5;
}

nav ul li {
  display: inline-block;
  background: rgb(237 237 237);
  margin: 0 5px;
  z-index: 5;
}

nav ul li a {
  color: black;
  line-height: 70px;
  text-decoration: none;
  font-size: 26px;
  padding: 30px 24px;
  z-index: 5;
  font-weight: bold;
}

nav ul li a:hover {
  color: blue;
  border-radius: 27px;
  box-shadow: 0 0 5px blue,
    0 0 10px blue;
  z-index: 5;
}

nav ul ul li a:hover {
  box-shadow: none;
  z-index: 5;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid blue;
  margin-left: -39px;
  opacity: 0;
  visibility: hidden;
  transition: top .2s;
  z-index: 5;
}

nav ul li:hover>ul {
  top: 82px;
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  padding: 16px;
  width: 192px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 5;
}

nav ul ul li a {
  line-height: 25px;
  margin-left: -24px;
  z-index: 5;
}

.show,
.icon1,
.input {
  display: none;
  z-index: 5;
}

.fa-plus {
  font-size: 15px;
  margin-left: 40px;
  z-index: 5;
}

/* Navbar Section Responsive */

@media all and (max-width: 968px) {
  nav ul {
    margin-right: 23px;
    margin-left: -31px;
    float: left;
  }

  nav ul li a {
    font-size: 22px;
    padding: 8px 24px;
    line-height: 37px;
    font-weight: bold;
    text-align: left;
  }

  .show+a,
  ul {
    display: none;
  }

  nav ul li,
  nav ul ul li {
    display: block;
    width: 100%;
    text-align: left;
  }

  nav ul li a:hover {
    box-shadow: none;
  }

  nav ul ul li a {
    line-height: 19px;
    margin-left: 77px;
    padding: 0px;
    display: flex;
    z-index: 5;
  }

  .show {
    display: block;
    color: black;
    font-size: 22px;
    padding: 0 20px;
    line-height: 37px;
    cursor: pointer;
    font-weight: bold;
    text-align: left;
  }

  .show:hover {
    color: blue;
    text-align: left;
  }

  .icon1 {
    display: block;
    color: black;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }

  nav ul ul {
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  nav ul ul a {
    padding-left: 40px;
  }

  nav ul ul ul a {
    padding-left: 80px;
  }

  nav ul ul ul li {
    position: static;
  }

  [id^=btn]:checked+ul {
    display: block;
  }

  nav ul ul li {
    border-bottom: 0px;
  }

  span.cancel:before {
    content: '\f00d';
  }
}

/* Image Section */

.bg {
  background-image: url("img/bg8.png");
  overflow: hidden;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
}

.row {
  width: 80%;
  max-width: 1170px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 100px;
  align-self: center;
  justify-self: center;
  overflow-x: hidden;
  padding: 5rem 0;
}

.row .imgWrapper {
  overflow: hidden;
  height: 90%;
}

.row .imgWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3%;
}

.row .imgWrapper:hover img {
  transform: scale(1.25);
  border-radius: 50px;
}

.row .contentWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1px;
}

.row .contentWrapper span.textWrapper {
  display: block;
  font-size: 35px;
  text-transform: capitalize;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;

}

.row .contentWrapper span.textWrapper span {
  display: inline-block;
  background: #383f47;
  width: 70px;
  height: 5px;

}

.row .contentWrapper h1 {
  font-size: 60px;
  font-weight: 700;
  color: black;
  padding-bottom: 20px;
}

.row .contentWrapper p {
  font-size: 30px;
  line-height: 35px;
  padding-bottom: 25px;
}

.row .contentWrapper a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  background: #383f47;
  color: #fff;
  padding: 15px 40px;
  letter-spacing: 1px;
  user-select: none;
  transition: 0.5s ease-in-out;
  box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.6);
}

.row .contentWrapper a:hover {
  background: #502bf5;
  transform: translateY(10px);
}

/* Responsive Code for Image Section */

@media screen and (max-width: 991px) {

  .row {
    grid-template-columns: 1fr;
    grid-gap: 50px;
  }

  .row .contentWrapper {
    padding-left: 0px;
  }

  .row .imgWrapper img {
    display: none;
  }
}

@media (max-width:768px) {

  .row {
    display: none;
  }
}

@media (max-width: 575px) {

  .row .contentWrapper span.textWrapper {
    font-size: 20px;
  }

  .row .contentWrapper h1 {
    font-size: 25px;
  }

  .row .contentWrapper p {
    font-size: 15px;
    line-height: 22px;
    width: 450px;
  }

  .row .contentWrapper a {
    font-size: 15px;
    padding: 10px 20px;
  }

  .row .imgWrapper img {
    display: none;
  }
}

/* Contact Us Form */

.bg1 {
  background-image: url("img/bg13.png");
  overflow: hidden;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 230px;
  margin-bottom: 230px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}

.contact-left-title h1 {
  font-weight: 700;
  font-size: 100px;
  color: #6d1077;
  text-decoration: underline;
  font-size: 40px;
  margin-bottom: 5px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 810px;
  font-size: 20px;
  height: 50px;
  padding-left: 25px;
  font-weight: 500;
  color: #666;
  border-radius: 50px;
}

.contact-left textarea {
  height: 150px;
  padding-top: 15px;
  border-radius: 20px;
}

.contact-inputs:focus {
  border: 2px solid #ff994f;
}

.contact-inputs ::placeholder {
  color: #a9a9a9;
}

.contact-left button {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: none;
  gap: 10px;
  border: #000;
  border-radius: 50px;
  background: linear-gradient(27deg, #949ff1, #83f1b1);
  cursor: pointer;
  transition: 0.5s ease-in-out;
  box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.6);
}

.contact-left button:hover {
  color: white;
  border: #000;
  background: linear-gradient(27deg, rgb(240, 122, 122), rgb(238, 227, 98));
  transform: translateY(10px);
}

.fieldset {
  border-radius: 50px;
  padding: 85px;
  position: center;
  box-shadow: 28px 28px 42px rgb(148, 145, 145);
  border: solid 3px black;
}

.reset {
  margin-left: 150px;
  margin-top: -67px;
}

/* Responsive Contact Us form */

@media (max-width:944px) {

  .container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -23px;
    margin-top: 69px;
    margin-bottom: 57px
  }

  .contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  .contact-left-title h1 {
    font-size: 28px;
  }

  .contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .contact-inputs {
    width: 256px;
    font-size: 15px;
    height: 37px;
    padding-left: 17px;
  }

  .contact-left textarea {
    height: 150px;
    padding-top: 15px;
    border-radius: 20px;
  }

  .contact-inputs ::placeholder {
    color: #a9a9a9;
    font-size: 10px;
  }

  .contact-left button {
    padding: 15px 30px;
    font-size: 15px;
  }

  .fieldset {
    border-radius: 65px;
    padding: 22px;
  }

  .reset {
    margin-left: 150px;
    margin-top: -67px;
  }
}

/* Card Hover Effect */

.wrapper1 {
  display: flex;
  width: 80%;
  justify-content: space-around;
  margin-bottom: 69px;
}

.card {
  width: 400px;
  height: 300px;
  padding: 2rem 1rem;
  background: #fff;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s ease-in-out;
  box-shadow: 28px 28px 42px rgb(148, 145, 145);
}

.card:hover {
  transform: translateY(20px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 176, 155, 0.5), rgba(150, 201, 61, 1));
  z-index: 2;
  transition: 0.5% all;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.card .info {
  position: relative;
  z-index: 3;
  color: white;
  transform: translateY(30px);
  transition: 0.5s all;
}

.card .info .reach {
  margin: 0;
}

.card .info .content {
  letter-spacing: 0px;
  font-size: 25px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.card .info h1 {
  font-size: 45px;
  font-weight: 700;
  color: black;
  padding-bottom: 20px;
}

.reachout {
  font-size: 60px;
  font-weight: 700;
  color: black;
  padding-bottom: 40px;
  padding-top: 59px;
}

/* Card hover effect responsive code */

@media screen and (max-width:768px) {

  .wrapper1 {
    flex-direction: column;
    width: 80%;
    justify-content: center;
    align-items: center;
    margin-left: -24px;
  }

  .card {
    width: 200px;
    height: 200px;
    padding: 1rem 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 13px;
  }

  .card img {
    width: 100%;
    height: 100%;
    margin-top: 5px;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0;
  }

  .card .info .content {
    font-size: 18px;
    margin-top: -18px;
    margin-bottom: 20px;
  }

  .card .info h1 {
    font-size: 28px;
    padding-bottom: 20px;
  }

  .reachout {
    font-size: 29px;
    padding-bottom: 18px;
    padding-top: 36px;
    margin-left: -9px;
  }

  .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
}

/* Google Map Section */

.bg2 {
  background-image: url("img/bg.png");
  overflow: hidden;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.map-container {
  width: 100%;
  height: 100vhS;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gmap {
  text-align: center;
  justify-content: center;
  display: flex;
  font-size: 60px;
  font-weight: 700;
}

iframe {
  width: 1400px;
  height: 650px;
  box-shadow: 28px 28px 42px rgb(148, 145, 145);
  margin-bottom: 100px;
}

/* Gmap Responsive Section */

@media screen and (max-width:768px) {
  iframe {
    width: 350px;
    height: 300px;
    margin-left: -17px;
  }

  .gmap {
    padding-top: 43px;
    padding-bottom: 42px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    font-size: 29px;
    font-weight: 700;
    margin-left: -18px;
  }
}

/*Footer Section */

footer {
  background-color: rgb(202, 197, 197);
  width: 100%;
  bottom: 0;
  color: black;
  padding: 10px 0 30px;
  border-top-left-radius: 125px;
  font-size: 20px;
  line-height: 15px;
}

.footerrow {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.footerrow1 {
  width: 74%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.col {
  flex-basis: 18%;
  padding: 59px;
  margin-right: -94px;
}

.col1 {
  flex-basis: 27%;
  padding: 10px;
  margin-right: -79px;
}

.col1 .fh3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col1 .fh3 .a {
  text-decoration: none;
}

.col1 a {
  color: black;
  font-size: 22px;
}

.col1 a:hover {
  color: blue;
}

.col1 .fp {
  line-height: 1.0;
  color: black;
  margin-left: 0;
  font-size: 22px;
}

.col .fh3 {
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.0;
}

.col .fh3 .a {
  text-decoration: none;
}

.col .a {
  color: black;
  font-size: 22px;
}

.col .a:hover {
  color: blue;
}

.col .fp {
  line-height: 1.0;
  color: black;
  margin-left: 0;
  font-size: 22px;
}

.qrcode {
  height: 240px;
  width: 240px;
}

.center {
  padding-top: 20px;
  padding-bottom: 61px;
  font-size: 20px;
}

.footer-logo {
  height: 85px;
  width: 209px;
}

.wrapper {
  display: inline-flex;
  padding-top: -6px;
  padding-bottom: -14px;
}

.wrapper .icon {
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  color: #000;
  background: #cfcfcf;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span i {
  line-height: 60px;
  font-size: 25px;
  align-items: center;
  color: black;
}

.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  background: #fff;
  color: #fff;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -70px;
  opacity: 1;
  pointer-events: auto;
}

.icon .tooltip:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: inherit;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
}

.wrapper .icon:hover span {
  color: #fff;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}

.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip {
  background: #3B5999;
}

.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip {
  background: #46C1F6;
}

.wrapper .instagram:hover span,
.wrapper .instagram:hover .tooltip {
  background: #e1306c;
}

.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip {
  background: #DE463B;
}

.wrapper .whatsapp:hover span,
.wrapper .whatsapp:hover .tooltip {
  background: #2ae619;
}

.underline {
  width: 100%;
  height: 5px;
  background: #767676;
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}

.underline span {
  width: 15px;
  height: 100%;
  background: black;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}

@keyframes moving {
  0% {
    left: -20px;
  }

  100% {
    left: 100%;
  }
}

.hr {
  width: 90%;
  border: 0;
  margin: 20px auto;
  border-bottom: 1px solid black;
}

/* Responsive Footer Section */

@media screen and (max-width:768px) {

  footer {
    bottom: unset;
  }

  .col {
    flex-basis: 100%;
    padding-top: 0px;
  }

  .col1 {
    flex-basis: 100%;
  }

  .col p {
    display: none;
  }

  .col1 .fp {
    margin-right: 52px;
  }

  .col .fh3 {
    margin-bottom: -75px;
  }

  .footerrow {
    flex-direction: column;
    width: 60%;
  }

  .footerrow1 {
    width: 65%;
    flex-direction: column;
  }

  .wrapper .icon {
    margin: 0 10px;
  }

  .wrapper .icon span {
    display: block;
    height: 35px;
    width: 35px;
  }

  .wrapper .icon span i {
    line-height: 40px;
    font-size: 25px;
    align-items: center;
  }

  .center {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .wrapper {
    padding-top: 5px;
    padding-bottom: -14px;
  }
}

/* terms and conditions */

.terms {
  float: right;
  text-align: center;
  font-size: 22px;
}

.terms ul {
  display: inline-flex;
  list-style: none;
  color: black;
  margin: 15px;
  padding: 0px;
}

.terms ul li {
  width: 100px;
  margin: 10px;
  padding: 10px;
}

.terms ul li a {
  text-decoration: none;
  line-height: 1;
}

.terms ul li a:hover {
  color: red;
  text-decoration: underline;
}

.terms ul li:hover {
  color: blue;
  border-radius: 20px;
}

/* terms section responsive */

@media screen and (max-width:768px) {

  .center {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .terms {
    font-size: 15px;
  }

  .terms ul {
    margin: 15px;
    padding: 0px;
  }

  .terms ul li {
    width: 100px;
    margin: 2px;
    padding: 7px;
  }
}