a {
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.hero-section-second {
  height: 50vh;
  background: url("/assets/About/Noon\ health\ care\ about\ us.png");
  background-repeat: no-repeat;
  background-size: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.hero-section-third {
  height: 50vh;
  background: url("../Home/Hero\ image.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.hero-section-third>h1 {
  font-size: 3rem;
}

.hero-section-second>p {
  text-align: center;
  width: 50%;
}

.navbar {
  background-color: white;
}

.chess-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: fit-content;
  justify-content: center;
  align-items: center;
}

.chess-picture {
  flex: 1;
  height: 100%;
  width: 100%;
  min-width: 300px;
}

.chess-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.chess-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  min-width: 300px;
  inline-size: 50%;
  justify-content: center;
  align-items: center;
  line-height: 2rem;
  color: #1E657E;
}

.chess-text>p {
  width: 60%;
  text-align: start;
}

.chess-text>h1 {
  width: 70%;
  text-align: start;
  margin-left: 10%;
}

.chess-card-button {
  margin-top: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.chess-card-button p:hover {
  border: 1px solid #12b2b2;
  background-color: transparent;
  color: #12b2b2;
}

.chess-card-button p {
  display: flex;
  background-color: #12b2b2;
  justify-content: center;
  align-items: center;
  color: white;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 1%;
  padding-bottom: 1%;
  cursor: pointer;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
  -o-transition: 0.5s all;
}

/* Faq */
.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  margin-top: 5%;
  margin-bottom: 3%;
}

.faq-section h1 {
  color: #1E657E;
}

.accordion {
  background-color: white;
  border: 2px solid #12b2b2;
  color: #12b2b2;
  cursor: pointer;
  padding: 18px;
  width: 80%;
  text-align: start;
  font-size: 1.4rem;
  transition: 0.4s;
  margin-bottom: 1%;
  font-weight: 400;
  height: 15%;
}

.active,
.accordion:hover {
  color: #12b2b2;
}

.accordion:after {
  content: "\25BC";
  color: #12b2b2;
  font-weight: bold;
  font-size: 1.5rem;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\25B2";
}

.panel {
  width: 79%;
  padding: 0 15px;
  border: 2px solid #12b2b2;
  color: #12b2b2;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin: -1.2%;
  margin-bottom: 1%;
  z-index: -1;
}

.nav_logo {
  height: 10%;
  width: 55%;
}

/* subscribe */
.subscribe-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 7%;
  background: white;
  background-size: cover 50%;
  height: fit-content;
  color: #12b2b2;
}

.subscribe-container h1 {
  width: 30%;
}

.container-sub {
  position: relative;
  border: 3px solid #12b2b2;
  height: 50px;
  overflow: hidden;
  margin-bottom: 10px;
  width: 400px;
}

.text_input {
  height: 44px;
  width: 60%;
  padding: 0;
  line-height: 30px;
  font-size: 20px;
  padding: 0;
  margin: 3px;
  margin-left: 20px;
  border: none;
}

.text_input:focus {
  outline: none;
}

.btn {
  position: absolute;
  height: 50px;
  line-height: 50px;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  background: #12b2b2;
  color: white;
  border: none;
  width: 30%;
  font-weight: bold;
}

.btn:hover {
  color: #12b2b2;
  cursor: pointer;
  background-color: white;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #12b2b2;
  opacity: 1;
  /* Firefox */
}

/* subscribe */

.footer {
  background: url(/assets/Home/Contact\ BG.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 30vh;
  display: flex;
  flex-direction: column;
}

.footer_main {
  color: white;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.logo {
  flex: 2;
  margin: 1%;
  display: flex;
  padding: 4%;
  justify-content: center;
}

.logo img {
  width: 200px;
}

.nav {
  height: 80%;
  flex: 0.7;
  display: flex;
  flex-direction: column;
  padding-top: 2%;
}

.nav h1 {
  font-size: 1.5rem;
}

.quick {
  height: 80%;
  flex: 1;
  padding: 2%;
}

.quick h1 {
  font-size: 1.5rem;
}

.contact {
  height: 80%;
  flex: 2;
  padding: 2%;
}

.contact h1 {
  font-size: 1.5rem;
}

.info-container {
  display: flex;
  flex-direction: row;
  font-size: 0.9rem;
}

.info-content {
  margin-left: 4%;
}

.footer_blank {
  height: 20;
  background-color: #12b2b2;
  color: #12b2b2;
}

.socials img {
  width: 20px;
  margin-right: 2px;
}

input[type='radio'] {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  outline: none;
  border: 2px solid #F67C03;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

input[type='radio']:before {
  content: '';
  display: block;
  width: 60%;
  height: 60%;
  margin: 20% auto;
  border-radius: 50%;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

input[type="radio"]:checked:before {
  background: #12b2b2;

}

input[type="radio"]:checked {
  border-color: #12b2b2;
}

@media only screen and (max-width: 768px) {
  .subscribe-container h1 {
    width: 100%;
  }

  .nav_logo {
    height: 10%;
    width: 60%;
  }

  .hero-section-second {
    height: 50vh;
    background: url("/assets/About/Noon\ health\ care\ about\ us.png");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 0;
  }

  .chess-section {
    height: 40;
    margin-bottom: 20%;
    height: fit-content;
  }

  .chess-picture {
    order: 1;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 300px;
  }

  .chess-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .chess-text {
    order: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    min-width: 300px;
    inline-size: 50%;
    justify-content: center;
    align-items: center;
    line-height: 1rem;
    color: #1E657E;
    padding: 5%;
  }

  .chess-text>p {
    width: 80%;
    text-align: start;
  }

  .chess-text>h1 {
    width: 80%;
    text-align: start;
    margin-left: 0%;
  }

  .chess-card-button {
    margin-top: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .chess-card-button p {
    display: flex;
    background-color: #12b2b2;
    justify-content: center;
    align-items: center;
    color: white;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .footer {
    height: fit-content;
    flex-direction: column;
    background: url(/assets/Home/Contact\ BG.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .footer_main {
    margin: 5%;
    color: white;
    height: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .logo {
    width: 100%;
    margin: 1%;
    padding: 7%;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

  }

  .quick {
    width: 100%;
  }

  .contact {
    width: 100%;
  }

  .info-container {
    display: flex;
    flex-direction: row;
  }

  .info-content {
    margin-left: 4%;
  }

  .footer_blank {
    height: 20;
    background-color: #12b2b2;
  }

  .container-sub {
    width: 300px;
  }
}

/* Animations */

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.hidden:nth-child(2) {
  transition-delay: 200ms;
}

.hidden:nth-child(3) {
  transition-delay: 400ms;
}

.hidden:nth-child(4) {
  transition-delay: 600ms;
}

.hidden:nth-child(5) {
  transition-delay: 800ms;
}

.hidden:nth-child(6) {
  transition-delay: 1000ms;
}

.hidden:nth-child(7) {
  transition-delay: 1200ms;
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}