* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

.main {
  padding: 24px 0 0;
  /* display: flex;
  justify-content: center; */
  width: 100%;
}

.about-hero {
  margin-top: 24px;
}

.about-hero-card {
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.03);
  background: #fff;
}

.about-hero-title {
  margin-bottom: 40px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: #4f2121;
}

.about-hero-body {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-hero-image {
  flex: 1 1 35%;
  max-width: 520px;
  border-radius: 100px;
  overflow: hidden;
}

.about-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-content {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #4f2121;
  font-size: 16px;
  line-height: 1.6;
}

.about-hero-logo img {
  display: block;
  max-width: 180px;
  height: auto;
}

.about-hero-text p + p {
  margin-top: 14px;
}

.container {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  max-width: 1400px;
  width: 100%;
}

.doctors-section {
  margin-top: 24px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.03);
  background: #fbf7ed;
  border-radius: 20px;
}

.doctors-card {
  padding: 40px;
}

.doctors-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: #4f2121;
  margin-bottom: 32px;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.doctor-card {
  display: flex;
  flex-direction: column;
}

.doctor-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.doctor-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.doctor-name {
  margin-bottom: 20px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #4f2121;
  line-height: 1.2;
}

.doctor-position {
  line-height: 1.2;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #4f2121;
}

.doctors-footer {
  margin-top: 40px;
  text-align: center;
}

.doctors-all-link {
  text-underline-offset: 3px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #464646;
}

.about-hero-text,
.about-hero-text p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #464646;
  line-height: 1.3;
}

@media screen and (max-width: 1024px) {
  .about-hero-card {
    padding: 28px;
  }
  section.about-hero {
    margin-top: 10px;
  }

  .about-hero-image {
    width: 100%;
    max-width: none;
  }

  .about-hero-content {
    width: 100%;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .about-hero-card {
    padding: 20px 32px;
  }
  .about-hero-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-hero-body {
    gap: 40px;
  }

  .about-hero-content {
    gap: 20px;
  }

  .doctors-card {
    padding: 24px;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  section.doctors-section {
    margin-top: 20px;
  }

  .doctors-card {
    padding: 20px 32px;
  }

  h2.doctors-title {
    margin-bottom: 40px;
  }

  .doctor-image-wrapper {
    margin-bottom: 10px;
  }

  p.doctor-position {
    font-size: 16px;
  }

  h3.doctor-name {
    margin-bottom: 10px;
  }

  .doctors-grid {
    gap: 20px;
  }

  .gallery-section {
    margin-top: 20px;
  }

  h3.contact-card-title {
    line-height: 120%;
  }
}
@media screen and (max-width: 480px) {
  .doctors-card {
    padding: 24px;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  section.doctors-section {
    margin-top: 20px;
  }

  .doctors-card {
    padding: 20px 32px;
  }

  h2.doctors-title {
    margin-bottom: 40px;
  }

  .doctor-image-wrapper {
    margin-bottom: 10px;
  }

  p.doctor-position {
    font-size: 16px;
  }

  h3.doctor-name {
    margin-bottom: 10px;
  }

  .doctors-grid {
    gap: 20px;
  }

  .gallery-section {
    margin-top: 20px;
  }

  h3.contact-card-title {
    line-height: 120%;
  }
}
