/* Main Heading Section  */

body {
  font-family: "Josefin Sans", sans-serif;
}

nav {
  background-color: rgb(237 237 237);
  z-index: 5;
}

.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;
}

/* 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: 100%;
    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;
  z-index: 5;
  text-align: center;
}

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';
  }
}

/* Orthotics Section */

.bg {
  background-image: url("img/bg8.png");
  overflow: hidden;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  padding: 30px;
  font-size: 20px;
  font-weight: 300px;
  line-height: 24px;
  padding-left: 110px;
  padding-right: 110px;
}

.container p {
  margin-bottom: 15px;
  font-size: 30px;
  word-spacing: 5px;
  line-height: 40px;
  text-align: justify;
}

.container h4 {
  font-size: 30px;
}

.thumbanail {
  width: 358px;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  background-color: white;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.thumbanail:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid black;
  z-index: 2;
  overflow: hidden;
  box-sizing: border-box;
}

.thumbanail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transform: scale(a) rotate(0deg);
  transition: all 0.5s linear;
}

.thumbanail:hover img {
  transform: scale(1.1) rotate(-5deg);
}

.thumbanail.right {
  float: right;
  margin-left: 20px;
}

.thumbanail.left {
  float: left;
  margin-right: 20px;
}

.name {
  font-size: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px;
  text-shadow: 8px 8px 6px rgba(244, 165, 8, 0.63);
}

#symbol {
  width: 43px;
  font-size: 62px;
}

/* Orhtotics Section Responsive */

@media screen and (max-width:767px) {

  .name {
    font-size: 37px;
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .thumbanail.right {
    float: none;
    margin-left: 0px;
  }

  .thumbanail.left {
    float: none;
    margin-right: 0px;
  }

  .container {
    padding: 30px;
    font-size: 15px;
    padding-left: 22px;
    padding-right: 31px;
  }

  .container p {
    margin-bottom: 15px;
    font-size: 23px;
    word-spacing: 3px;
    line-height: 28px;
    text-align: justify;
  }

  .container h4 {
    font-size: 25px;
  }

  .thumbanail {
    width: 292px;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    background-color: white;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
  }
}

/* Card Section */

.cimage {
  text-decoration: none;
  color: black;
  align-items: center;
  justify-items: center;
}

/* Device 1 Section */

.name1 {
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 143px;
  margin-bottom: 90px;
  line-height: 45px;
  text-shadow: 8px 8px 6px rgba(244, 165, 8, 0.63);
}

.dcontainer {
  max-width: 100%;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.card {
  flex: 1 1 21rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 10px 20px;
  background: #fff;
  box-shadow: 0 0 z5px rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  align-self: normal;
  border-radius: 60px;
}

.card img {
  max-width: 200px;
  height: 300px;
  border-radius: 60px;
}

.card h4 {
  font-size: 1.3rem;
  text-transform: uppercase;
  display: flex;
  text-align: center;
  justify-content: center;
  line-height: 1;
  margin: 10px 0;
  font-size: 30px;
}

.card p {
  font-size: 23px;
  line-height: 1.3;
}

/* devices responsive */

@media screen and (max-width:768px) {

  .dcontainer {
    max-width: 110%;
    margin: 0 auto;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .card {
    margin: 8px -7px;
  }

  .card img {
    max-width: 200px;
    height: 250px;
    border-radius: 60px;
  }

  .card h4 {
    margin: 10px 0;
    font-size: 20px;
  }

  .card p {
    font-size: 20px;
    line-height: 1.3;
  }
}

/* Video Section */

.click {
  text-align: center;
  justify-content: center;
  display: flex;
  margin-bottom: 71px;
  font-size: 30px;
}

.dcontainer1 {
  max-width: 100%;
  margin: 0 auto;
}

.row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.card1 {
  flex: 1 1 21rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 40px 29px;
  border: 3px solid black;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 20px black,
    0 0 20px black;
  padding: 10px 20px;
  align-self: normal;
}

.card1 video {
  max-width: 650px;
  height: 398px;
}

.card1 .videotitle {
  font-size: 1.3rem;
  display: flex;
  text-align: center;
  justify-content: center;
  line-height: 1;
  margin: 10px 0;
  font-size: 30px;
}

.card1 p {
  font-size: 23px;
  line-height: 1.3;
}

/* video section responsive */

@media screen and (max-width:768px) {

  .name1 {
    font-size: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    margin-bottom: 32px;
    line-height: 45px;
    text-align: center;
  }

  .click {
    margin-bottom: 71px;
    font-size: 30px;
  }

  .dcontainer1 {
    max-width: 100%;
    margin: 0 auto;
  }

  .card1 {
    flex: 1 1 21rem;
    margin: 20px 7px;
    padding: 10px 20px;
  }

  .card1 video {
    max-width: 263px;
    height: 248px;
  }

  .card1 .videotitle {
    font-size: 1.3rem;
    display: flex;
    text-align: center;
    justify-content: center;
    line-height: 1;
    margin: 10px 0;
    font-size: 30px;
  }

  .card1 p {
    font-size: 23px;
    line-height: 1.3;
  }

  #symbol1 {
    display: none;
  }
}

/*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%;
  }

  .col1 .fp {
    margin-right: 19px;
  }

  .col p {
    display: none;
  }

  .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: 97px;
    font-size: 15px;
  }

  .terms {
    font-size: 15px;
  }

  .terms ul {
    margin: 15px;
    padding: 0px;
  }

  .terms ul li {
    width: 100px;
    margin: 4px;
    padding: 0px;
  }
}