html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


*,
*::before,
*::after{
  box-sizing: border-box;
}
:where(ul,ol):where([class]){
  padding-left: 0;
}
body,
:where(blockquote,figure):where([class]){
  margin: 0;
}
:where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl):where([class]){
  margin-block: 0;
}
:where(dd[class]){
  margin-left: 0;
}
img {
  display: block;
  max-width: 100%;
}
input,
textarea,
select,
button{
  font: inherit;
}
html{
  height: 100%;
  scroll-behavior: smooth;
}
body{
  min-height: 100%;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
a {
  text-decoration: none;
  color: #000;
}



body {
  top: 0 !important;
  width: 90vw;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}


.VIpgJd-ZVi9od-ORHb-OEVmcd{
    display: none;
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed>span {
    font-weight: 600;
}

.goog-te-gadget-simple {
    margin: 20px;
    position: absolute;
    right: 1%;
    top: 0.05%;
}


::-webkit-scrollbar {
  width: 0;
}





#flow {
  border: 1px solid #4588B8;
  border-radius: 3vw 3vw 0 0;
  padding: 1vw 0;
  margin: 2vw 1.5vw 0vw 0vw; 
  box-sizing: border-box;
}

.flow-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  padding: 2vw;
  flex-wrap: wrap;
  padding-bottom: 0;
}

.footer-section {
  flex: 1;
  margin: 1vw;
  color: #4588B8;
}

.footer-section p {
  margin: 1vw;
}

.footer-section h4 {
  margin-bottom: 1vw;
  font-size: 1.8vw;
  padding-bottom: 0.5vw;

}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 0.5vw 0;
  display: flex;
  align-items: center;
}

.footer-section a {
  color: #4588B8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #1d5e85;
}

.footer-section i {
  margin-right: 1vw;
  font-size: 1.8vw;
}

.logo-section {
  text-align: center;
}

.language-container {
  display: flex;
  gap: 1vw;
  justify-content: center;
  margin-top: 1vw;
}

.language-switch {
  font-size: 1.6vw;
  cursor: pointer;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2vw;
  color: #4588B8;
}

.footer-bottom p {
  margin: 0;
}

.button-menu-visit-fut {
  padding: 1vw 2vw;
  background-color: #4588B8;
  color: white;
  border: none;
  width: 80%;
  cursor: pointer;
  border-radius: 1vw;
  border: 0.2vw solid #fff;
  font-size: 1.3vw;
  transition: background-color 0.3s ease;
  margin-top: 1.6vw;
}

/* Mobile Styles */
@media (max-width: 769px) {
  .flow-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    margin: 2vw 0;
  }

  .footer-section h4 {
    font-size: 4vw;
    text-align: center; /* Центрирование заголовка на мобильной версии */
  }

  .footer-section ul {
    display: grid; /* Используем grid для двух колонок */
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 1vw; /* Пробел между элементами */
    justify-items: center; /* Центрирование элементов списка */
    margin: 0 auto; /* Центрирование всего списка */
  }

  .footer-section ul li {
    flex: 1 0 45%; /* Задает ширину в два столбца */
    margin: 1vw; /* Отступы между элементами */
  }

  .button-menu-visit-fut {
    font-size: 3.3vw;
    width: 90%;
  }

  .language-container {
    justify-content: space-around;
    width: 100%;
  }

  .language-switch {
    font-size: 3vw;
  }

  .footer-section i {
    font-size: 3vw;
  }
}
@media (max-width: 768px) {
  .menu {
      position: fixed;
      width: 95%;
      top: 42vw;

      height: auto;
      margin-bottom: 2vw;
  }
  .logo-con img {
      width: 100%;
      height: auto;
  }
}







.doctor-profile {
  margin-top: 6vw;
  display: flex;
  align-items: center; /* Центровка контента по вертикали */
  background-color: #ffffff;
  padding: 2vw;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





.profile-img {
  width: 385px;
  height: 350px; /* фиксированная высота */
  flex-shrink: 0; /* запрет сжатия */
  overflow: hidden; /* скрываем выходящее изображение */
  border-radius: 10px;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* кадрирование изображения */
  border-radius: 10px;
}


.profile-info {
  margin-left: 2vw;
  color: #333;
  display: flex;
  flex-direction: column; /* Вертикальное направление */
  justify-content: flex-start; /* Центровка текста по вертикали */
  height: 100%; /* Убедитесь, что блок растягивается */
}
.profile-info h2 {
  font-size: 24px;
  margin: 0;
  font-weight: bold;
  color: #2c3e50;
}

.profile-info p {
  margin: 10px 0;
  line-height: 1.6;
}

.registration {
  font-size: 12px;
  color: gray;
}

.button-visit-dok {
  background-color: #4588B8;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  position: relative;
  border-radius: 10px;
  width: 345px;
  height: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, border 0.3s ease;
  transform: translateY(185%);
  box-sizing: border-box;
}


.button-visit-dok:hover {
  background-color: #fff;
  color: #4588B8;
  border: 2px solid #4588B8;
}



/* Мобильная версия */
@media (max-width: 769px) {
  .doctor-profile {
    flex-direction: column; /* Изменяем направление на вертикальное */
    margin-top: 0vw;
  }

  .profile-img {
    width: 100%; /* Изображение на всю ширину */
    order: 1; /* Устанавливаем порядок отображения */
  }

  .profile-info {
    margin-left: 0; /* Убираем левый отступ */
    margin-top: 10px; /* Отступ сверху для профиля */
    width: 100%; /* Полная ширина блока информации */
    order: 2; /* Устанавливаем порядок отображения */
  }
  .button-visit-dok{
    transform: translateY(0%);
    margin: auto;
  }
}




/* Биография */
.doctor-biography {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

.doctor-biography h3 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.doctor-biography p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.doctor-biography p:last-child {
  margin-bottom: 0;
}







.test { 
    text-decoration: none;
    cursor: pointer;
    padding: 5px;

    /* Плавный переход только радиуса */
    transition: border-radius 0.5s ease;
}

.test:hover {
    background-color: #4588B8;
    border-radius: 10px;
    color: #fff;
}

.test.clicked {
    background-color: #4588B8;
    border-radius: 4px;
    padding: 5px;
    color: #fff;
}
