a{
    color: #04003f;
    cursor: pointer;
    text-decoration: none;
}
}
.disclaimer,
.process-step,
.section h2 {
text-align: center;
}
.hero,
.step-number {
display: flex;
color: #fff;
}
:root {
--primary-color: #1f4d7a;
--secondary-color: #2c88d9;
--text-color: #333;
--light-bg: #f5f5f5;
--spacing: 2rem;
--border-radius: 8px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: var(--text-color);
margin: 0;
}
.header {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.pure-menu-heading {
color: var(--primary-color);
font-weight: 700;
padding: 1em;
}
.pure-button-primary {
background-color: #ffa500;
color: #fff;
font-weight: 700;
padding: 1em;
}
.hero {
    padding: calc(var(--spacing)* 4) var(--spacing);
    background: #222d59;
    min-height: 70vh;
    align-items: center;
    margin-top: 3rem;
}
.section {
position: relative;
padding: calc(var(--spacing)* 2) var(--spacing);
}
.process-step {
padding: var(--spacing);
position: relative;
}
.step-number {
    position: absolute;
    width: 1em;
    height: 1em;
    background: #a5a5a526;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 8em;
    left: 0.001em;
    top: 0.001em;
    color: #009fff36;
}
.doctor-card,
.accreditation-item,
.case-study-card,
.testimonials{
margin: 1rem;
border-radius: var(--border-radius);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
background: #fff;
}
.trust-section {
background-color: #cacaff42;
margin: 0 auto;
padding: 20px;
text-align: center;
}
.our-accreditations,
.patient-testimonials {
max-width: 600px;
margin: auto; 
}
.disclaimer {
font-size: 0.9em;
color: #666;
margin-top: var(--spacing);
}
.doctor-image {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 0 auto 1rem;
object-fit: cover;
}
.contact-form {
background: #ffffff94;
padding: var(--spacing);
border-radius: var(--border-radius);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: auto;
}
.contact-form input,
.contact-form textarea {
width: 100%;
margin-bottom: 1rem;
}
.contact-details {
margin-top: var(--spacing);
}
.footer {
background: rgb(17 24 39);
color: #fff;
padding: calc(var(--spacing) * 2) var(--spacing);
text-align: center;
}
.footer a {
color: #fff;
text-decoration: none;
}
.achievements ul,
.footer ul {
list-style: none;
padding: 0;
}
.footer li {
margin-bottom: 0.5rem;
}
.social-links {
margin-top: 1rem;
}
.social-links a {
margin-right: 1rem;
}

.process-step,
.feature-box {
margin: .5rem; 
padding: .5rem;
border: 1px solid #eee;
border-radius: var(--border-radius);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
background-color: #ffffffd4;
text-align: center;
}
.carousel-container {
display: flex;
overflow: hidden;
position: relative;
perspective: 1000px;
}
.carousel-slide {
display: none;
}
.carousel-slide.active {
display: block;
}

.carousel-item {
  min-width: 100%;
  transition: transform 0.5s ease;
}
.carousel-item:not(.active) {
  display: none;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}
.carousel-button {
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 99999px;
    background-color: white;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.carousel-content {
  display: flex;
  align-items: flex-start; /*     */
  gap: 20px; /*      */
}

.carousel-image,
.doctor-image {
    position: relative;
    height: 100%;
}

.carousel-text {
padding: 1rem;
margin-left: -6vw;
margin-right: 5vw;
}

.case-study-card,
.doctor-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
img.image {
    object-fit: cover;
    position: absolute;
    width: 60%;
    height: 100%;
    left: 5%;
}
.w60 {
    width: 60%;
    margin: auto;
}
.accreditation-carousel, .a-list, .testimonial-carousel {
justify-content: center;
}
.testimonial-card {
    text-align: left;
margin:1em;
}
.accred-icon {
    font-size: 3em;
}
.top-menu{
    margin-left: auto;
    margin-right: auto;
    max-width: 65rem;
}
.fullscreen-bg__video {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-attachment: fixed;
    background-position: center;
filter: brightness(0.5);
}
.overlay {
    background: rgba(0,0,0,0.3);
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 73%;
    z-index: 1;
}
.pure-g {
    z-index: 2;
}
div#why-choose {
    height: 60%;
    background-image: linear-gradient(#0008753d, #5579ff29), url(https://beijingmedicine.com/wp-content/uploads/2024/04/boren.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
.contact-section,
.process-section {
    background-color: #598bbc;
}
div#departments {
    background-color: #c3e7ff;
}
div#case-studies {
    background-color: #c3e7ff;
}
div#doctors {
    height: 60%;
    background-image: url(https://www.njgjyy.com/images/ks-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
h2 {
    color: #002677;
    font-size: 200%;
}
h3 {
    color: #0051ff;
    font-size: 100%;
    text-align: center;
}
button.pure-button.pure-button-primary {
    display: flex;
    margin: 0 auto 2em;
}
.custom-wrapper {
          background-color: #04003f;
          margin-bottom: .2em;
          -webkit-font-smoothing: antialiased;
          height: 3.6em;
          overflow: hidden;
          -webkit-transition: height 0.5s;
          -moz-transition: height 0.5s;
          -ms-transition: height 0.5s;
          transition: height 0.5s;
      }

      .custom-wrapper.open {
          height: 14em;
      }

      .custom-menu-3 {
          text-align: right;
      }

      .custom-toggle {
          width: 34px;
          height: 34px;
          position: absolute;
          top: 0;
          right: 0;
          display: none;
      }

      .custom-toggle .bar {
          background-color: #777;
          display: block;
          width: 20px;
          height: 2px;
          border-radius: 100px;
          position: absolute;
          top: 18px;
          right: 7px;
          -webkit-transition: all 0.5s;
          -moz-transition: all 0.5s;
          -ms-transition: all 0.5s;
          transition: all 0.5s;
      }

      .custom-toggle .bar:first-child {
          -webkit-transform: translateY(-6px);
          -moz-transform: translateY(-6px);
          -ms-transform: translateY(-6px);
          transform: translateY(-6px);
      }

      .custom-toggle.x .bar {
          -webkit-transform: rotate(45deg);
          -moz-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
          transform: rotate(45deg);
      }

      .custom-toggle.x .bar:first-child {
          -webkit-transform: rotate(-45deg);
          -moz-transform: rotate(-45deg);
          -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
      }



a.pure-menu-link {
    color: #d1d1d1;
    font-size: medium;
    font-weight: 500;
padding: 1em;

}

.pure-menu-link {
    display: block; /* или inline-block, если нужно */
    padding: 10px; /* добавьте отступы */
    color: inherit; /* наследуйте цвет текста */
}

@media (max-width: 48em) {
.hero {
padding: var(--spacing);
}
.feature-box,
.process-step {
margin-bottom: var(--spacing);
}
.doctor-image {
width: 150px;
height: 150px;
}
}

@media (max-width: 768px) {
.departments-grid .pure-u-1.pure-u-md-1-2 {
width: 100%; /* Full width on smaller screens */
}
.departments-grid .pure-u-1.pure-u-lg-1-3{
width:100%;
}
}
@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
}
@media (max-width: 47.999em) {
          .custom-menu-3 {
              text-align: left;
          }
          .custom-toggle {
              display: block;
          }
.hero-content{
text-align: center !important;
}
      }
.hero h1 {
font-size: 1.5em;
margin-bottom: 0.5em;
}
.hero h2 {
font-size: 1em;
font-weight: 400;
margin-bottom: .5em;
color: white;
}
@media screen and (min-width: 48em){
.hero h1 {
font-size: 2em;
margin-bottom: 0.5em;
}
.hero h2 {
font-size: 1.5em;
font-weight: 400;
margin-bottom: 2em;
}
.overlay{
    height: 93%;
}
}
@media (min-width: 350px) and (max-width: 435px){
.overlay{
    height: 100%;
}
}
@media (max-width: 350px){
.overlay{
    height: 100%;
}
}
@media (max-width: 48em) {
.carousel-text {
margin-left: 0;
margin-right: 0;
padding: 0;
}

img.image {
    width: 60%;
    left: 20%;
}
    .case-study-card, .doctor-card {
        grid-template-columns: 1fr; 
    }
    .carousel-image, .carousel-text {
        width: 90%; 
    }
    .carousel-container.doctors-carousel {
        width: 80%; 
    }
.carousel-image, .doctor-image {
    position: relative;
    height: 16em;
}
.carousel-text p {
        line-height: 1.2;
        padding: .1em;
        margin: .5em;
}
}
.contact-info {
    margin: 2em;
}
.hero-content {
    text-align: right;
}
p.author {
    font-weight: 500;
}
p.testimonial-text {
    font-style: italic;
}
footer .pure-g {
    width: 70%;
    margin: auto;
}
h1, h2, h3, a.pure-menu-link, .pure-button {
    text-transform: uppercase;
}
textarea, input {
border: 1px solid #ffa500 !important;
}
.pure-form legend {
    color: #fff !important;
}
.i img{
height: 3em;
padding: 1em .5em 0 0;
}
.selact {
    position: relative;
    display: inline-block;
    cursor: pointer;
border: 1px solid #ffa500 !important;
    display: flex;
    color: black;
    background-color: white;
}

.selact .simple-order {
    display: flex;
    align-items: center;
    font-weight: bold;
    padding: .5em;
}

.selact .selected-icon {
    margin-right: 8px;
}

.selact svg {
pointer-events: none;
    position: absolute;
    right: 10px;
    top: 20px;
    transition: all .2s;
}

.selact ul.simple-order__select-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    width: 100%;
    display: none; /* Скрыто по умолчанию */
}

.selact ul.simple-order__select-list li {
    cursor: pointer;
display: flex;
padding: .5em;
}

.selact ul.simple-order__select-list li:hover {
    background: #f0f0f0;
}

.selact.active ul.simple-order__select-list {
    display: block;
}

.selact.active svg {
    transform: rotate(180deg);
}
picture {
    padding: 0 .5em 0 0;
}
.sec{
    display: flex;
    margin: 0 auto 2em;
padding: 1em;
    border: 1px solid #c9c9c9;
}
li.pure-menu-item {
    vertical-align: unset !important;
}
a.pure-menu-link:focus, a.pure-menu-link:hover {
    background-color: #1f4d7a;
}
ul.services-list {
    padding: 0;
}
li {
    list-style-type: none;
}

.zcwPopup button, .zcwPopup input, .zcwPopup select, .zcwPopup textarea {
    padding: 2.2vh !important;
    color: #fff !important;
}
.simple-order__select-list {
    display: none;
}

.selact.active .simple-order__select-list {
    display: block;
}
.chat-window-toggle {
    margin: .1em;
}
.chat-window-toggle.whatsapp {
    background: #25d366 !important;
}
.b24-form-control-select-label, .b24-form-control:focus+.b24-form-control-label, .b24-form-control-not-empty+.b24-form-control-label {
    top: 0;
}
a.link {
    top: 3px;
    position: relative;
}
