/* ========== ОБЩЕЕ ===================================== */
@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Regular'), local('Gilroy-Regular'),
    url('../fonts/Gilroy-Regular/Gilroy-Regular.woff2') format('woff2'),
    url('../fonts/Gilroy-Regular/Gilroy-Regular.woff') format('woff'),
    url('../fonts/Gilroy-Regular/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Medium'), local('Gilroy-Medium'),
    url('../fonts/Gilroy-Medium/Gilroy-Medium.woff2') format('woff2'),
    url('../fonts/Gilroy-Medium/Gilroy-Medium.woff') format('woff'),
    url('../fonts/Gilroy-Medium/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Bold'), local('Gilroy-Bold'),
    url('../fonts/Gilroy-Bold/Gilroy-Bold.woff2') format('woff2'),
    url('../fonts/Gilroy-Bold/Gilroy-Bold.woff') format('woff'),
    url('../fonts/Gilroy-Bold/Gilroy-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Extrabold'), local('Gilroy-Extrabold'),
    url('../fonts/Gilroy-Extrabold/Gilroy-Extrabold.woff2') format('woff2'),
    url('../fonts/Gilroy-Extrabold/Gilroy-Extrabold.woff') format('woff'),
    url('../fonts/Gilroy-Extrabold/Gilroy-Extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
}

h1,
h2 {
  font-family: 'Gilroy', sans-serif;
}

h1 {
  font-weight: 900;
  line-height: 150%;
}

h2,
h5 {
  font-weight: 700;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  padding: 0;
}

/* img {
  width: 100%;
} */

.header-phone {
  color: #f65162 !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

.header-phone-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1.3rem;
}

.header-phone:hover {
  color: #ff374b;
  text-decoration: none;
  font-weight: 700;
}

.header-phone img {
  width: 18px;
  height: 18px;
}

.title-background {
  font-size: clamp(2.8rem, 10vw, 6rem);
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  opacity: 0.1;
  margin-top: -6.75rem;
  margin-bottom: 3rem;

  color: #2CBA9F;
}

.title-background-registr {
  font-size: clamp(3rem, 8vw, 5rem);
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  opacity: 0.1;
  margin-top: -5.7rem;
  margin-bottom: 3rem;

  color: #2CBA9F;
}

.registr-title-small {
  display: block;
  color: #2CBA9F;

  @media (min-width: 1024px) {
    display: none;
  }
}

.registr-title-big {
  display: none;
  color: #2CBA9F;

  @media (min-width: 1024px) {
    display: block;
  }
}

.title {
  text-align: center;
  color: #2CBA9F;
}

.card {
  border-radius: 15px;
}

.btn {
  border-radius: 50px;
  border-width: 2px;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1rem 0;
  width: fit-content;
}

.form-control {
  border: 2px solid #2F5689;
  border-radius: 50px;
  color: #2F5689;
  font-weight: 600;
  background-color: #EEEEEE;
  padding: 0.96rem 2.3125rem
}

.form-control::placeholder {
  color: #2F5689;
}

.form-control:focus {
  color: #2F5689;
  font-weight: 700;
  background-color: #b9d7ff67;
  border: 2px solid #283779cc;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none
}

input {
  padding: 10px 20px;
  min-height: 48px;
  background-color: #EEEEEE;
  border: 2px solid #09715D;
  border-radius: 30px;
  color: #09715D;
  font-weight: 500;

  outline: none;
}
input:focus {
  outline-color: #09715D;
  background: #dfece8;
}
input::placeholder {
  color: #09715D;
}

select,
::picker(select) {
  appearance: base-select;
}

::picker(select) {
  border: 2px solid #09715D;
  border-radius: 25px;
  top: calc(anchor(bottom) + 2px);
}

select {
  width: 100%;
  border: 2px solid #09715D;
  background: #eeeeee;
  padding: 10px 20px;
  min-height: 48px;
  border-radius: 30px;
  color: #09715D;
  font-weight: 500;

  transition: 0.4s;
}

select:hover,
select:focus {
  outline-color: #09715D;
  background: #dfece8;
}

option {
  display: flex;
  justify-content: flex-start;
  color: #09715D;
  background: #eeeeee;
  padding: 10px;
  transition: 0.4s;
}

option:hover {
  background: #dfece8;
}


/*==== HEADER ============================================*/

.navbar {
  padding: 1rem 0;
}

.navbar-brand .logo {
  width: 70px;
}



.navbar-nav .nav-link {
  transition: all 0.2s linear;
}

/*==== HOME-SECTION =======================================*/

.home-section {
  min-height: calc(100vh - 80px);
  background: url(../img/gallery/home-bg.svg);
  background-position: top center;
  background-size: 100%;
  background-repeat: no-repeat;
}

@media(max-width: 576px){
  .home-section {
    background: #fff;
  }
  .contacts-section {
    background-color: #fff;
  }

  .why-section .title{
    color: #2CBA9F;
  }
  .why-section .title-background{
    color: #2CBA9F;
  }

  .contacts-section .title {
    color: #2CBA9F;
  }

  .contacts-section .title-background {
    color: #2CBA9F;
  }

  .contacts-info > a {
    color: #09715D;
  }

  .contacts-icon {
    fill: #09715D;
  }

  .contacts-phone-icon {
    stroke: #09715D;
  }
}

@media(min-width: 576px){
  .contacts-section {
    background-color: #2CBA9F;
  }

  .why-section .title{
    color: #fff;
  }

  .why-section .title-background {
    color: #fff;
  }

  .contacts-section .title {
    color: #fff;
  }

  .contacts-info > a  {
    color: #fff;
  }

  .contacts-section .title-background {
    color: #fff;
  }

  .contacts-icon {
    fill: #fff;
  }

  .contacts-phone-icon {
    stroke: #fff;
  }
}


.banner-section {
  /* min-height: 10vw; */
  background: #fff;

  @media(min-width: 1200px){
    background: url(../img/gallery/banner.svg);
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;

    min-height: calc(60vh - 80px);
  }
}

.banner-title {
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: #2CBA9F;
  margin-top: calc(11rem - 4vh);
}

@media(min-width: 1200px) {
  .banner-title {
    color: #fff;
  }
}

.home-section .image {
  padding: 1rem;
}

/*==== ABOUT-SECTION =======================================*/

.about-section {
  padding-bottom: 0;
}

.about-text {
  font-size: clamp(0.9rem, 5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: #09715D;
}

/*==== CONTACTS-SECTION =======================================*/
.contacts-section {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.contacts-info {
  display: flex;
  column-gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.contacts-info > a {
  font-size: clamp(0.9rem, 4vw, 1.4rem);
  font-weight: 400;
}

.contacts-info > input {
  width: 100%;
}

.map {
  height: 220px;
  width: 100%;
  border-radius: 30px;
  border: #09715D solid 2px;

  @media (min-width: 1020px) {
    width: clamp(35rem, 30vw, 40rem);
  }

  @media (min-width: 560px) {
    height: 400px;
  }
}

.map-big {
  width: 100%;
  height: 520px;
  border-radius: 30px;
  border: #DDEBE8 solid 3px;
}

.contacts-container {
  display: flex;
  flex-direction: column;
  column-gap: 30px;
  row-gap: 10px;
  justify-content: center;
  align-items: center;

  @media (min-width: 1020px) {
    flex-direction: row;
  }
}

.contacts-container > .image {
  display: none;
  
  @media (min-width: 560px) {
    display: block;
  }
}

.contacts-col {
  width: 100%;

  @media (min-width: 1020px) {
    width: auto;
    min-width: 300px;
  }
}

/*==== WHY-SECTION =======================================*/

.why-section {
  background-color: #2CBA9F;
  /* background-image: url(../img/gallery/why-bg.svg); */
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.why-section .why-icon {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.why-section p {
  line-height: 120%;
}

.why-section img {
  max-width: 150px;
  width: auto;
  max-height: 150px;
  height: auto;
}


/*==== DOCTORS-SECTION =======================================*/


.doctors-section .card {
  height: 100%;
  box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.1);
  background: #F9FBFF;
  border: none;
}

.doctors-section .card-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0.5rem;
}

.doctor-foto {
  width: 13.75rem;
  height: 13.75rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2F5689;
}


/*==== SERVICES-SECTION =======================================*/
.px-11 {
  padding: 11rem;
}
.py-13 {
  padding: 13rem;
}

.services-section {
  /* background-image:url(../img/gallery/services-bg.svg); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.services-section span {
  color: #B9D8FF;
}

.services-section .card {
  background-color: #ffffffde;
  box-shadow: 0px 0px 10px rgba(47, 86, 137, 0.5);
  border: none;
}

.services-section .card-body {
  padding: 2rem 1rem;
  text-align: center;
}

.services-section .card-body img {
  height: 6rem;
  width: auto;
}


/*==== REVIEW-SECTION =======================================*/

.review-section {
  padding: 0 0 7rem;
}

.review-section .bg-holder {
  background: url(../img/gallery/review-bg.svg) no-repeat;
  background-size: 100% 87%;
  background-position: center bottom;
}

.review-section .carousel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18rem;
}

.review-section img {
  width: 10rem;
  border: 2px solid #2F5689;
  border-radius: 50%;
  object-fit: cover;
}


/*==== REGISTRATION-SECTION ====================================*/

.registration-section {
  padding-bottom: 0;
}

.registration-section .row .col-12:not(:last-child) {
  margin: 0 0 2.14rem;
}

.registration-section .title {
  font-size: 35px;
}

.registration-section .title-background {
  margin-top: -4.2rem;
}


/*==== QUESTIONS-SECTION =======================================*/
.questions-section {
  background: url(../img/gallery/questions-bg.svg);
  background-size: 100% 100%;
  background-position: bottom 4px center;

  padding: 15.2rem 0 4.625rem;
}

.questions-section h3 {
  font-size: 30px;
  font-weight: 800;
}

.questions-section h3+p {
  font-size: 20px;
}

.questions-section .form-control:focus {
  background-color: #fff;
}

/*==== FOOTER =======================================*/

.footer {
  background: #2CBA9F;
  color: #fff;
}

.footer .container.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer .logo {
  max-width: 12rem;
}

.footer-link img {
  max-height: 20px;
  height: auto;
  max-width: 24px;
  width: auto;
}


/*==== MEDIA =======================================*/


@media (min-width: 1200px) {
  .home-section {
    padding: 14rem 0;
  }
}

@media (max-width: 1200px) {

  .home-section,
  .why-section,
  .services-section,
  .review-section .bg-holder,
  .questions-section {
    background-size: cover;
    background-position: center;
  }

  .questions-section {
    background-position: center bottom 4px;
  }

  .home-section {
    padding: 11rem 0;
  }
}


@media (max-width: 992px) {
  .navbar-collapse {
    padding-bottom: 2rem;
  }

  .footer .container.grid {
    grid-template-columns: 1fr;
  }

  .footer .logo {
    max-width: 18rem;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .home-section .image {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 4rem 0;
  }

  .navbar-brand .logo {
    width: 50px;
  }

  .navbar {
    padding: 0rem 0;
  }

  .review-section .carousel {
    height: 35rem;
  }

  .registration-section {
    font-size: 55px;
  }
}

@media(max-width: 576px){
   .why-section {
    background-color: #fff;
  }
}

@media (max-width: 540px) {
  .home-section h1 {
    font-size: 4rem;
  }

  .title-background {
    margin-top: -3.75rem;
  }

  .registration-section .title-background {
    margin-top: -7rem;
  }

  .review-section {
    font-size: 0.9rem;
  }
}


/*Call Back*/

.callback-bt {
  background: #DA3849;
  border-radius: 50%;
  box-shadow: 0 8px 10px rgb(255, 255, 255);
  cursor: pointer;
  text-align: center;
  position: fixed;
  right: 8%;
  bottom: 18%;
  z-index: 980;
  transition: .3s;
  -webkit-animation: hoverWave linear 1s infinite;
  animation: hoverWave linear 1s infinite;
}

.callback-bt .text-call {
  height: 68px;
  width: 68px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.callback-bt .text-call span {
  text-align: center;
  color: #fff;
  opacity: 0;
  font-size: 0;
  position: absolute;
  right: 4px;
  top: 22px;
  line-height: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: opacity .3s linear;
  font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

.callback-bt:hover i {}

.callback-bt:hover {
  z-index: 1;
  color: transparent;
  transition: .3s;
}

.callback-bt:hover i {
  color: rgb(255, 255, 255);
  font-size: 40px;
  transition: .3s;
}

.callback-bt i {
  color: #fff;
  font-size: 34px;
  transition: .3s;
  line-height: 66px;
  transition: .5s ease-in-out;
}

.callback-bt i {
  animation: 1200ms ease 0s normal none 1 running shake-phone;
  animation-iteration-count: infinite;
  -webkit-animation: 1200ms ease 0s normal none 1 running shake-phone;
  -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes hoverWave {
  0% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)
  }

  40% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)
  }

  80% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(0, 0, 0, 0), 0 0 0 26.7px rgba(0, 0, 0, 0.067)
  }

  100% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(0, 0, 0, 0), 0 0 0 40px rgba(0, 0, 0, 0.0)
  }
}

@keyframes hoverWave {
  0% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)
  }

  40% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2)
  }

  80% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(0, 0, 0, 0), 0 0 0 26.7px rgba(0, 0, 0, 0.067)
  }

  100% {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(0, 0, 0, 0), 0 0 0 40px rgba(0, 0, 0, 0.0)
  }
}