@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
}

/* all similar content styling codes */

section{
    padding: 40px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.biography, .neurology, .skills, .teams, .contact, footer{
    font-family: 'Jost', sans-serif;
    }

.biography .about-content,
.neurology .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom:5px;
    font-family: 'Jost', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: rgb(47, 20, 220);
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}


section .title__dva{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-family: 'Jost', sans-serif;
    color: #fff;
}
section .title__dva::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: rgb(255, 255, 255);
    transform: translateX(-50%);
}
section .title__dva::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: rgb(47, 20, 220);
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}





/* navbar */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Jost', sans-serif;
    transition: all 0.3s ease;
    background-color: #282f41;
}
.navbar.sticky{
    padding: 15px 0;
    background: #282f41;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}

/* menu btn */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    background-color: #fff;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 800;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 35px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}

.img_optic {
   width: 100px;
}




/* Главная */
.home{
    display: flex;
    background: url("../images/banner.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Jost', sans-serif;
}

.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 35px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 30px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: crimson;
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: crimson;
    background: none;
}


/* Биография */



.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.biography .about-content .right{
    width: 100%;
}
.biography .about-content .right ul{
    font-family: 'Jost', sans-serif;
    font-size: 20px;
}
.biography .about-content .right .text{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}
.biography .about-content .right .text span{
    color: crimson;
}
.biography .about-content .right p{
    text-align: justify;
}
.biography .about-content .right a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.biography .about-content .right a:hover{
    color: crimson;
    background: none;
}





/* Неврология */

.neurology {
    background-color: #282f41;
}


.neurology, .teams{
    color:#fff;
    background: #282f41;
}

.neurology .title::before,
.teams .title::before{
    background: #fff;
}

.resume-item pb-0 h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color:rgb(255, 0, 0);
}

.resume-item pb-0 p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: .8;
    color:#fff;
}



.neurology .resume-title {
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #050d18;
  }
  .neurology .row {
      display: flex;
      justify-content: center;
      padding-left: 30px;
   }
   .neurology .founder {
       top: -300px;
   }
 .neurology .col-lg-6{
    min-width: 50%;
 }
  .neurology .resume-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid #1f5297;
    position: relative;
  }
  
  .neurology .resume-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: crimson;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .neurology .resume-item h5 {
    font-size: 16px;
    background: #0455c0;
    padding: 5px 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .neurology .resume-item ul {
    padding-left: 20px;
    line-height: 1.4;
  }
  

  .neurology .resume-item ul li {
    padding-bottom: 10px;
    line-height: 1.4;
  }
  
  .neurology .resume-item:last-child {
    padding-bottom: 0;
  }
  
  .neurology .resume-item::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -9px;
    top: 0;
    background: #fff;
    border: 2px solid #1f5297;
  }
  





 .neurology {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

  }
  .neurology .founder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .neurology .card {
    position: relative;
    width: 100%;
    padding: 20px;
    margin: -30px;
   }
  .neurology .card .content {
      position: relative;
      height: 215px;
      overflow: hidden;
    }
    .neurology .card.active .content{
      height: auto;
    }
    .neurology .card.active .content::before {
      display: none;
    }
    .neurology .card .content h3 {
      color: #fff;
      font-size: 1.4em;
      font-weight: 600;
      margin-bottom: 10px;
     }
     .neurology .card .content p {
       font-weight: 300;
       color: rgb(255, 255, 255);
       font-size: 18px;
     }
     .neurology .card .content b {
        font-weight: 300;
        color: rgb(0, 255, 38);
        font-size: 18px;
      }
     .neurology .card .more {
       position: relative;
       padding: 10px 15px;
       background: #ffffff;
       margin-top: 15px;
       display: inline-block;
       cursor: pointer;
       text-transform: uppercase;
       color: #383838;
       font-weight: 500;
       letter-spacing: 2px;
       font-size: 14px;
     }
     .neurology .card.active .more {
      background: crimson;
      color: #fff;
     }
     .neurology .card .more::before {
       content: 'Подробнее';
     }
     .neurology .card.active .more::before {
      content: 'Свернуть';
     }



     /* СМИ */
     

.media .carousel .card{
    background: #282f41;
    width: 370px;
    height: 330px;
    border-radius: 6px;
    padding: 10px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.media .carousel .card:hover{
    background: rgb(20, 137, 220);
}
.media .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.media .carousel .card:hover .box{
    transform: scale(1.05);
}

.media .carousel .card p{
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0 2px 0;
    color: #fff;
    font-family: 'Jost', sans-serif;
}
.media .carousel .card img{
    height: 260px;
    width: 345px;
    object-fit: cover;
    transition: all 0.rgb(255, 255, 255);
}
.media .carousel .card:hover img{
    border-color: #fff;
}

.owl-dots{
    text-align: center;
    margin-top: 20px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid crimson!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover{
    background: crimson!important;
}





/* Контакты */

.contact {
    background: #282f41;  
    color: #fff;
}

.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .text__one{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: crimson;
}

.contact .contact-content .textt {
    margin-top: 10px;
    }

.contact .contact-content .text__twe {
    margin-top: -20px;
}
.contact .contact-content .text__twe p{
    font-size: 18px;
    font-weight: 300;
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}


.contact .contact-content .row{
    display: flex;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: crimson;
}
.contact .contact-content .info .head{
    font-weight: 500;
    color: crimson;
    font-size: 20px;
}
.contact .contact-content .info .sub-title{
    color: rgb(255, 255, 255);
}

.text__form{
    width: 98%;
    font-size: 14px;
    height: 40px;
    margin: 5px;
    padding: 5px;
}
.text__form__text{
    width: 98%;
    font-size: 14px;
    height: 40px;
    margin: 5px;
    padding: 5px;
    }

.dannie {
    display: flex;
}

.button__text {
    font-size: 16px;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    margin-left: 5px;
    background-color: crimson;
    border-radius: 5px;
    border: 0;
    box-shadow: #111 1px 1px 1px 0 ;
}

.button__text:hover {
    font-size: 16px;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    margin-left: 5px;
    background-color: rgb(45, 45, 45);
    border-radius: 5px;
    border: 0;
}


/* footer section styling */
footer{
    background: #2e2e2e;
    padding: 15px 300px;
    color: #fff;
    text-align: center;
}



footer .carousel .card__foot{
    padding: 10px 15px;
    width: 200px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

footer .carousel .card__foot .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
footer .carousel .card__foot:hover .box{
    transform: scale(1.05);
}

footer .carousel .card__foot p{
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0 2px 0;
    color: #fff;
    font-family: 'Jost', sans-serif;
    width: 200px;
}
.media .carousel .card__foot img{
    object-fit: cover;
    transition: all 0.rgb(255, 255, 255);
}
footer .carousel .card__foot:hover img{
    border-color: #fff;
}






