:root {
    --white: #fff;
    --brand-500: #126a78;
    --gray-100: #f1f5f9;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

:root {
    --duration: 30s;
    --delay: 1s; 
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100vh;
    font-family: 'Montserrat';
    color: black;
    margin: 0 auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

a, li {
    text-decoration: none;
    list-style: none;
    font-size: 1rem;
    color: #0B8FA3;;
}

a:hover {
    color: #0B8FA3;
}

h1 {
    margin: 3rem 0;
    text-align: center;
    font-size: 48px;
    padding-top: 20px;
}

.header {
    padding: 0 4rem;
}
.up__header {
    width: 100%;
    height: 8rem;
    background-color: #0B8FA3;
    justify-content: center;
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; */
}

.up__header-list > li > a {
    color: white;
}

.up__header-list > li {
    color: white;
    display: flex;
    justify-content: center;
    padding-bottom: 0.3rem;
}

.city__wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.svg-icon {
    width: 1.5em;
    height: 1.5em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: white;
}

.svg-icon circle {
    stroke: #4691f6;
    stroke-width: 1;
}

#city {
    border-radius: 1rem;
    height: 1.5rem;
    /* margin-top: 0.3rem; */
    background-color: #0B8FA3;
    color: white;
    border: 1px solid whitesmoke
}
.citySelect {
    display: flex;
    align-items: center;
}

.number__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (min-width: 600px) {
    .up__header-list {
        width: 95%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 2rem 1rem;
    }

    .city__wrapper {
        padding: 0;
    }

    .up__header {
        height: 5rem;
    }
}

/* Navigation Menu */
.navbar {
    width: 100%;
    max-width: 1500px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    position: relative;
    margin: 0 auto;
    color: #126a78;
}

.nav-brand > img {
    width: 8rem;
    height: 3rem;
}

.navbar ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #0B8FA3;
}

/* .navbar ul li:first-child {
    margin-left: 0;
} */

.navbar ul li:nth-child(n+2) {
    margin-left: 2rem;
}

.navbar .links li a {
    text-decoration: none;
    color: #0B8FA3;
    transition: color 0.2s ease-in-out;
    font-size: 1.2rem;
}

.navbar .links li a:hover {
    height: 100%;
    color: #0B8FA3;
}

.navbar .links li::after {
    content: '';
    display: block;
    width: 0;
    height: 0.1rem;
    margin-top: 0.5rem;
    background: #0B8FA3;
    transition: width .7s;
}

.navbar .links li:hover::after {
    width: 100%;
    transition: width .9s;
}

.toggle__btn {
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action__btn {
    height: 100%;
    /* background-color: #0B8FA3; */
    margin: 1rem;
    border-radius: 3rem;
    color: #0B8FA3;
    padding: 1rem 2rem;
    border: 1px solid #0B8FA3;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 easy;
    box-shadow: 0 0 0 0 rgba(52, 172, 224, 1);
}

.action__btn:hover {
    scale: 1.05;
}

.action__btn:active {
    scale: 0.95;
}

/*WHAT WE PROVED STARTED*/
.what__we-provide h1, .what__we-provide__left, .what__we-provide__right {
    position: relative;
    opacity: 0;
    
}

.what__we-provide h1, .what__we-provide__left > li, .what__we-provide__right > li{
    color: #FFFFFF;
}

.what__we-provide h1 {
    top: 40px;
    animation: slideUp ease .8s forwards;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-40px);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(40px);
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .slide-effect, .text, .slideDown, .slideUp {
        font-size: 15px;
    }
}

.what__we-provide {
    background-color: #036280;
    color: white;
}

.what__we-provide__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: 1rem auto;
}

.what__we-provide__left {
    flex-basis: 50%;
    padding: 20px;
    margin-right: 1rem;
    top: -40px;
    left: 5px;
    animation: slideDown ease .9s forwards .6s;
}


.what__we-provide__right {
    flex-basis: 50%;
    padding: 20px;
    top: 40px;
    left: 10px;
    animation: slideUp ease .9s forwards 1.2s;
}

.what__we-provide__wrapper li {
    line-height: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.what__we-provide__wrapper p {
    line-height: 1.5rem;
    font-size: 1rem;
    font-weight: 200;
    padding-bottom: 0.8rem;
}

.what__we-provide__left li, .what__we-provide__right li {
    list-style-type: disc;
}

/* Media query for screens smaller than 768px */
@media screen and (max-width: 768px) {
    .what__we-provide__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .what__we-provide__left, .what__we-provide__right {
        flex-basis: 100%;
        margin: 0;
    }

    .what__we-provide__left {
        padding: 0 20px;
    }

    .what__we-provide__wrapper li {
        font-size: 1rem;
    }

    .what__we-provide__wrapper p {
        font-size: 0.8rem;
    }
}

/* WHAT WE PROVIDE ENDED*/
/* DROPDOWN MENU */
.dropdown__menu {
    display: none;
    position: absolute;
    right: 1rem;
    height: 0;
    top: 60px;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown__menu.open {
    width: 4rem;
    height: 3rem;
    backdrop-filter: blur(0);
    background-color: white;
    /* padding-top: 1rem; */
}

.dropdown__menu li {
    padding: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;

}

.dropdown__menu li:hover {
    opacity: 0.6;
    color: black;
}

.dropdown__menu .action__btn {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* RESPONSIVE  DROPDOWN MENU*/
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action__btn {
        display: none;
    }

    .dropdown__menu.open {
        width: 50rem;
        height: 18rem;
        margin-top: 4.5rem;
    }

    .navbar .toggle__btn {
        display: block;
    }

    .dropdown__menu {
        display: block;
        z-index: 1001;
    }

    .main__video-slogan {
        display: none;
    }

    .navbar {
        padding: 1rem 0;
    }
}

@media (max-width: 640px) {
    .dropdown__menu.open {
        width: 100%;
        margin-top: 8.1rem;
        margin-bottom: 0.5rem;
        right: 0;
    }

    @media (min-width: 640px) {
        .dropdown__menu.open {
            padding: 1rem;
            margin-bottom: 0.5rem;
            width: 30rem;
            right: 0;
        }
    }
}

/*Main video started*/

.main__video {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
    width: 100%;
}

#myVideo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    height: auto;
}

.main__video-slogan {
    position: absolute;
    top: 16rem;
    left: 10rem;
    z-index: 10;
    width: 26rem;
    font-size: 36px;
    font-weight: 300;
}

.main__video::after {
    position: absolute;
    width: 755px;
    height: 101%;
    left: 0px;
    top: 0;
    content: '';
    background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 52.85%,
    rgba(255, 255, 255, 0.95) 56.29%,
    rgba(255, 255, 255, 0.85) 63.18%,
    rgba(255, 255, 255, 0.72) 76.69%,
    rgba(255, 255, 255, 0.55) 82.78%,
    rgba(255, 255, 255, 0.25) 89.67%,
    rgba(255, 255, 255, 0) 96.82%);
}


/* Style the button used to pause/play the video */
#btn {
    margin-right: 1rem;
    position: absolute;
    top: 20px;
    right: 0;
    width: 200px;
    font-size: 18px;
    padding: 10px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    opacity: 0.1;
}

#btn:hover {
    background: #ddd;
    color: black;
    opacity: 0.9;
}

@media only screen and (max-width: 767px) {

    .main__video {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
    }

    .main__video-slogan {
        display: none;
    }

    .main__video::after {
        display: none;
    }

    .content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }

    #btn {
        display: none;
    }
}


/* ABOUT_US STARTED */
.about__us {
    background: whitesmoke;
    max-width: 100%;
    column-count: 2;
    column-gap: 2rem;
    padding: 4rem;
    column-fill: balance;
}

.about__us-wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

.about__us h2 {
    text-align: center;
    font-size: 42px;
    margin: 2rem 0;
}

.about__us h2::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 25%;
    padding-top: 20px;
    border-bottom: 1px solid black;
}

.about__us-text {
    color: #0B434C;
    margin-bottom: 2rem;
    hyphens: auto;
    text-align: justify;
    text-indent: 50px;
    line-height: 1.8;
    font-size: 18px;
    padding: 1rem 2rem;
}

.about__us-text__second-section {
    padding-top: 1rem;
}


/* Mobile styles */
@media only screen and (max-width: 767px) {
    .about__us {
        padding: 2rem;
        column-count: 1;
    }

    .about__us h2 {
        font-size: 32px;
        margin: 1rem 0;
    }

    .about__us h2::after {
        width: 15%;
        padding-top: 10px;
    }

    .about__us-text {
        font-size: 16px;
        padding: 1rem;
        text-align: left;
        text-indent: 0;
        line-height: 1.5;
    }

    .about__us-text__second-section {
        padding-top: 0.5rem;
    }
}

/* ABOUT_US ENDED */


/*TICKER STARTED*/
/* .ticker-wrap {
    width: 100%;
    overflow: hidden;
    height: 4rem;
    background-color: white;
    position: relative;
  }

  .ticker {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: ticker var(--duration) linear infinite;
  }

  .ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 2rem;
    background-color: white;
  }

  @keyframes ticker {
    0% {
      transform: translateX(0%);
    }

    100% {
      transform: translateX(-100%);
    }
  } */
.hwrap {
    overflow: hidden; 
    background: #eee;
}

.hmove { display: flex; }

.hitem {
    flex-shrink: 0;
    white-space: nowrap;
    /* width: 100%; */
    box-sizing: border-box;
    font-size: 2rem;
    text-align: center;
    display: inline-block;
    color: #0B8FA3;

}
@keyframes tickerh {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-400%, 0, 0); }
}
.hmove { animation: tickerh linear 45s infinite; }
.hmove:hover { animation-play-state: paused; }
/*TICKER ENDED*/

.doctors {
    padding: 2rem 9%;
}
.doctors .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap:2rem;
}

.doctors .box-container .box{
    text-align: center;
    background:#fff;
    border-radius: .5rem;
    box-shadow: .5rem .5rem 0 rgba(22, 160, 133, .2);
}

.doctors .box-container .box img{
    height: 20rem;
    border-radius: .5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.doctors .box-container .box h3{
    color:black;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.doctors .box-container .box span{
    color:#036280;
    margin: 1rem;
    font-size: 1rem;
    
}

/* .doctors .box-container .box .share{
    padding-top: 2rem;
}

.doctors .box-container .box .share a{
    height: 5rem;
    width: 5rem;
    line-height: 1.5rem;
    font-size: 2rem;
    color:var(--green);
    border-radius: .5rem;
    border:var(--border);
    margin:.3rem;
}

.doctors .box-container .box .share a:hover{
    background:var(--green);
    color:black;
    box-shadow: var(--box-shadow);
} */
/* .price {
    margin: 40px 0;
} */

/*SWIPER STARTED*/
.swiper-container {
    width: 100%;
    height: fit-content;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide > img {
    max-width: 45%;
    max-height: 100%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .swiper-slide > img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}



/* .swipper__img {
    height: 50%;
} */

/*SWIPPER ENDED*/
#map {
    margin-top: 20px;
}
.map__container > img{
    width: 70%;
    height: 600px;
    display: flex;
    justify-content: center;
    margin:0 auto;
}

.map__container p {
    margin: 2rem;
    font-weight: 100;
    color: black;
    text-align: center;
    font-size: 18px;
}

.map__container .map__text {
    margin-top: 12px;
    text-align: center;
    font-size: 18px;
}

@media (max-width: 768px) {
    .map__container > img {
        width: 100%;
        height: auto;
    }
}
/* @media only screen and (max-width: 768px) {
    .map__container {
        max-height: 25rem;
    }

    .map__container p {
        text-indent: 0;
        margin-top: 30px;
        font-size: 16px;
    }

    .map__container .map__text {
        margin-top: 10px;
        font-size: 16px;
    }
} */

/* @media only screen and (max-width: 480px) {
    .map__container {
        max-height: 20rem;
    }

    .map__container p {
        margin-top: 20px;
        font-size: 14px;
    }

    .map__container .map__text {
        margin-top: 5px;
        font-size: 14px;
    }
} */


/* FOOTER */

.footer {
    padding:2rem 9%;
}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 1.5rem;
    color:var(--black);
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1rem;
    color: #0B8FA3;
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color: #0B8FA3;
}

.footer .box-container .box a:hover i{
    padding-right: 1rem;
}

.footer .box-container .box i{
    padding-right: .5rem;
    color: #0B8FA3;
}


.footer .credit{
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color:var(--light-color);
    border-top: .1rem solid rgba(0, 0, 0, .1);
}

.footer .credit span{
    color:var(--green);
}

.agreement {
    display: flex;
    justify-content: center;
}
@media (max-width: 767px) {
    .agreement {
        flex-direction: column; /* Размещаем элементы по вертикали */
        align-items: center; /* Выравниваем элементы по центру по горизонтали */
        text-align: center; /* Выравниваем текст по центру */
    }
}

.priceForAdult {
    width: 60%;
    height: 100vh;
    display: flex;
    margin: 2% 25%;
    justify-content: center;
}
@media (max-width: 767px) {
    .priceForAdult {
        width: 60%;
        height: 50vh;
        display: flex;
        margin: 2% 20%;
        justify-content: center;
    }
}


/* .subnav-content {
    display: none;
    position: absolute;
    left: 0;
    width: 50%;
    z-index: 1;
    background-color: #000;
    margin-top: 2rem;
    height: 3rem;
  }
  

  .subnav-content a {
    float: left;
    color: white;
    text-decoration: none;
  }
  

  .subnav-content a:hover {
    background-color: #eee;

  }
  

  .subnav:hover .subnav-content {
    display: block;
  } */

/* Стили для секции, содержащей форму */
#feedbackSection {
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); */
}

/* Стили для секции, содержащей форму */
/* #feedbackSection {
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}


.inputField {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    transition: border-bottom-color 0.3s ease;
    font-family: Arial, sans-serif;
}

.inputField:focus {
    border-bottom-color: #4CAF50;
    outline: none;
}

.inputField:invalid {
    border-bottom-color: red;
}


#submitBtn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submitBtn:hover {
    background-color: #45a049;
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
 */

.container {
    flex: 0 1 700px;
    margin: auto;
    padding: 10px;
  }
  
  .screen {
    position: relative;
    background: #3e3e3e;
    border-radius: 15px;
  }
  
  .screen:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    z-index: -1;
  }
  
  .screen-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #4d4d4f;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .screen-header-right {
    display: flex;
  }
  
  .screen-header-ellipsis {
    width: 3px;
    height: 3px;
    margin-left: 2px;
    border-radius: 8px;
    background: #999;
  }
  
  .screen-body {
    display: flex;
  }
  
  .screen-body-item {
    flex: 1;
    padding: 50px;
  }
  
  .screen-body-item.left {
    display: flex;
    flex-direction: column;

  }
  
  .app-title {
    display: flex;
    flex-direction: column;
    position: relative;
    color: #0B8FA3;
    font-size: 26px;
    align-items: flex-start;
    
  }
.app-title span {
    margin-top: 0.5rem;
}
  /* .app-title:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 25px;
    height: 4px;
    background: #0B8FA3;
  } */
  
  .app-contact {
    margin-top: auto;
    font-size: 8px;
    color: #888;
  }
  
  .app-form-group {
    margin-bottom: 15px;
  }
  
  .app-form-group.message {
    margin-top: 40px;
  }
  
  .app-form-group.buttons {
    margin-bottom: 0;
    text-align: right;
  }
  
  .app-form-control {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 1px solid whitesmoke;
    color: #ddd;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s;
  }
  
  .app-form-control::placeholder {
    color: #666;
  }
  
  .app-form-control:focus {
    border-bottom-color: #ddd;
  }
  
  .app-form-button {
    background: none;
    border: none;
    color: #0B8FA3;
    font-size: 14px;
    cursor: pointer;
    outline: none;
  }
  
  .app-form-button:hover {
    color: #b9134f;
  }
  
  .credits {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #ffa4bd;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: normal;
  }
  
  .credits-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
  }
  
  .dribbble {
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }
  
  @media screen and (max-width: 520px) {
    .screen-body {
      flex-direction: column;
    }
  
    .screen-body-item.left {
      margin-bottom: 40px;
    }
  
    .app-title {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .app-title span {
    margin-top:1rem;
    margin-right: 6px;
    /* display: flex;
    align-items: flex-start; */
}

    .app-title:after {
      display: none;
    }
  }
  
  @media screen and (max-width: 600px) {
    .screen-body {
      padding: 1rem;
    }
  
    .screen-body-item {
      padding: 1rem;
    }
  }
  



/* Стили модального окна */
/* Базовые стили для мобильных устройств */
/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    /* background-color: #fff; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); */
    border-radius: 10px;
    text-align: left;
    width: 100%;
    height: 30%;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: black;
}

/* Добавляем стили для более широких экранов с помощью медиа-запросов */
@media (min-width: 768px) {
    .modal-content {
        max-width: 70%;
    }
}

@media (min-width: 1024px) {
    .modal-content {
        max-width: 50%;
    }
    .form-action-right {
        width: 40rem;
    }
}
.strike-through {
    text-decoration: line-through;
    text-decoration-color: darkred;
    margin-right: 1rem;
}

.strike-second {
    text-decoration: line-through;
    text-decoration-color: darkred;
    margin-left: 0; 
    padding-left: 0; 
}


/* .submenu > li{
    display: none;
}
.links > li:hover {
    display:block;
} */